test/dummy/log/test.log in loco-rails-2.2.0 vs test/dummy/log/test.log in loco-rails-2.2.1
- old
+ new
@@ -1651526,5 +1651526,11366 @@
[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:f9ad0a68-a16c-4a2d-909a-24510d988174
[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
[1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
[1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC[0m
+ [1m[35m (1.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$cBIK05EdVxc3cbBUZKvSqOih6iSN.duNm0mFPdtNhNYn5IoMq7Za2', '2018-01-04 15:11:46.447917', '2018-01-04 15:11:46.447917', 980190962)[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$X87nGxWX22BA6u8gxjk.WOceU5t69LjoQ6/YA7HjNbQGS6Tq2mia6', '2018-01-04 15:11:46.447917', '2018-01-04 15:11:46.447917', 298486374)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$Zih/drJabkspNPvxGANtpeHjipt64TRvegCoHmDuExf7A/5oP88ee', '2017-12-28 15:11:46', '2018-01-04 15:11:46.460079', '2018-01-04 15:11:46.460079', 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$itGfQgcYtJltPppQSd5poOySqbBTo.VgNZQ8p2za5LzCavsJ2zSC2', '2018-01-04 15:11:46.460079', '2018-01-04 15:11:46.460079', 15595101)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:11:46', '2018-01-04 15:11:46.503757', '2018-01-04 15:11:46.503757', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:11:46.503757', '2018-01-04 15:11:46.503757', 298486374, 872278135)[0m
+ [1m[35m (20.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+--------------------------------------------------------
+User::ArticlesCreatePageTest: test_should_create_article
+--------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:11:50 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (2.0ms)
+ Rendered layouts/_head.html.erb (897.2ms)
+ Rendered layouts/_flash.html.erb (0.6ms)
+Completed 200 OK in 936ms (Views: 924.2ms | ActiveRecord: 0.0ms)
+Started GET "/assets/application-664f6f24a8147d06c844a78b754a170bd67b5e200841d4c4b06c92343061523e.css" for 127.0.0.1 at 2018-01-04 16:11:51 +0100
+Started GET "/assets/application-b98b44b50e41905a25d7384a1fe11f49ca1032fd339181b8a6b3087bf4f58baf.js" for 127.0.0.1 at 2018-01-04 16:11:51 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:11:51 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:11:51 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:11:51 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (3.6ms)[0m [1m[35mSET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (2.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:11:51 +0100
+ [1m[36mUser Load (8.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:11:51 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (75.2ms)
+ Rendered main/articles/index.json.jbuilder (158.7ms)
+Completed 200 OK in 189ms (Views: 167.4ms | ActiveRecord: 20.5ms)
+ [1m[35m (1.2ms)[0m [1m[35mSET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` IS NULL LIMIT 1[0m
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] Registered connection (["9af22985-f390-4bf2-864b-2006fb34975d", nil, nil])
+[AC] [-] Loco::NotificationCenterChannel is streaming from loco:notification_center:9af22985-f390-4bf2-864b-2006fb34975d
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 249c860a-c5e6-416d-bd09-180f5eba555a) to Async(loco) with arguments: "9af22985-f390-4bf2-864b-2006fb34975d", {:loco=>{:uuid=>"9af22985-f390-4bf2-864b-2006fb34975d"}}
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 4a5ebe49-0f1a-43d2-a808-95e3bcb8cf8d) to Async(loco) with arguments: "9af22985-f390-4bf2-864b-2006fb34975d", {:loco=>{:start_ajax_polling=>true}}
+[AC] [-] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::SenderJob] [249c860a-c5e6-416d-bd09-180f5eba555a] Performing Loco::SenderJob (Job ID: 249c860a-c5e6-416d-bd09-180f5eba555a) from Async(loco) with arguments: "9af22985-f390-4bf2-864b-2006fb34975d", {:loco=>{:uuid=>"9af22985-f390-4bf2-864b-2006fb34975d"}}
+[ActiveJob] [Loco::SenderJob] [4a5ebe49-0f1a-43d2-a808-95e3bcb8cf8d] Performing Loco::SenderJob (Job ID: 4a5ebe49-0f1a-43d2-a808-95e3bcb8cf8d) from Async(loco) with arguments: "9af22985-f390-4bf2-864b-2006fb34975d", {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [249c860a-c5e6-416d-bd09-180f5eba555a] [ActionCable] Broadcasting to loco:notification_center:9af22985-f390-4bf2-864b-2006fb34975d: {:loco=>{:uuid=>"9af22985-f390-4bf2-864b-2006fb34975d"}}
+[ActiveJob] [Loco::SenderJob] [4a5ebe49-0f1a-43d2-a808-95e3bcb8cf8d] [ActionCable] Broadcasting to loco:notification_center:9af22985-f390-4bf2-864b-2006fb34975d: {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [249c860a-c5e6-416d-bd09-180f5eba555a] Performed Loco::SenderJob (Job ID: 249c860a-c5e6-416d-bd09-180f5eba555a) from Async(loco) in 12.22ms
+[ActiveJob] [Loco::SenderJob] [4a5ebe49-0f1a-43d2-a808-95e3bcb8cf8d] Performed Loco::SenderJob (Job ID: 4a5ebe49-0f1a-43d2-a808-95e3bcb8cf8d) from Async(loco) in 12.26ms
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"start_ajax_polling"=>true}} (via streamed from loco:notification_center:9af22985-f390-4bf2-864b-2006fb34975d)
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"9af22985-f390-4bf2-864b-2006fb34975d"}} (via streamed from loco:notification_center:9af22985-f390-4bf2-864b-2006fb34975d)
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:11:51 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:11:51 +0100
+Processing by User::SessionsController#new as HTML
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (1.6ms)
+ Rendered user/sessions/new.html.erb within layouts/application (7.6ms)
+ Rendered layouts/_head.html.erb (1.4ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 23ms (Views: 23.0ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:11:51 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:11:52 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 8ms (ActiveRecord: 1.3ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:11:52 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.7ms)
+ Rendered layouts/_head.html.erb (1.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 20ms (Views: 14.6ms | ActiveRecord: 1.8ms)
+[AC] [-] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:11:52 +0100
+[AC] [-] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:9af22985-f390-4bf2-864b-2006fb34975d
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:11:52 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:11:52 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:11:52 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["ba1c4a20-34eb-44eb-bea3-e65bb49fa386", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$Zih/drJabkspNPvxGANtpeHjipt64TRvegCoHmDuExf...", created_at: "2018-01-04 15:11:46", updated_at: "2018-01-04 15:11:46", confirmed_at: "2017-12-28 15:11:46">, nil])
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:11:52 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:11:52 +0100
+Processing by User::ArticlesController#index as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ Parameters: {"page"=>"1", "article"=>{}}
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: d2aa0084-c033-4672-a153-33527d4fc4ca) to Async(loco) with arguments: "ba1c4a20-34eb-44eb-bea3-e65bb49fa386", {:loco=>{:uuid=>"ba1c4a20-34eb-44eb-bea3-e65bb49fa386"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:ba1c4a20-34eb-44eb-bea3-e65bb49fa386
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 4b93743e-3273-426b-bc5f-c1f308ee8f56) to Async(loco) with arguments: #<GlobalID:0x00007f95213da870 @uri=#<URI::GID gid://dummy/User/872278135>>, "ba1c4a20-34eb-44eb-bea3-e65bb49fa386", "add"
+[ActiveJob] [Loco::SenderJob] [d2aa0084-c033-4672-a153-33527d4fc4ca] Performing Loco::SenderJob (Job ID: d2aa0084-c033-4672-a153-33527d4fc4ca) from Async(loco) with arguments: "ba1c4a20-34eb-44eb-bea3-e65bb49fa386", {:loco=>{:uuid=>"ba1c4a20-34eb-44eb-bea3-e65bb49fa386"}}
+[ActiveJob] [Loco::SenderJob] [d2aa0084-c033-4672-a153-33527d4fc4ca] [ActionCable] Broadcasting to loco:notification_center:ba1c4a20-34eb-44eb-bea3-e65bb49fa386: {:loco=>{:uuid=>"ba1c4a20-34eb-44eb-bea3-e65bb49fa386"}}
+[ActiveJob] [Loco::SenderJob] [d2aa0084-c033-4672-a153-33527d4fc4ca] Performed Loco::SenderJob (Job ID: d2aa0084-c033-4672-a153-33527d4fc4ca) from Async(loco) in 0.35ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (5.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (12.1ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"ba1c4a20-34eb-44eb-bea3-e65bb49fa386"}} (via streamed from loco:notification_center:ba1c4a20-34eb-44eb-bea3-e65bb49fa386)
+ [1m[36mUser Load (8.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [4b93743e-3273-426b-bc5f-c1f308ee8f56] Performing Loco::UuidJob (Job ID: 4b93743e-3273-426b-bc5f-c1f308ee8f56) from Async(loco) with arguments: #<GlobalID:0x00007f9521373288 @uri=#<URI::GID gid://dummy/User/872278135>>, "ba1c4a20-34eb-44eb-bea3-e65bb49fa386", "add"
+[ActiveJob] [Loco::UuidJob] [4b93743e-3273-426b-bc5f-c1f308ee8f56] Performed Loco::UuidJob (Job ID: 4b93743e-3273-426b-bc5f-c1f308ee8f56) from Async(loco) in 0.98ms
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.7ms)
+ [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (2.3ms)
+ Rendered user/articles/index.json.jbuilder (11.9ms)
+Completed 200 OK in 97ms (Views: 51.4ms | ActiveRecord: 21.8ms)
+Started GET "/user/articles/new" for 127.0.0.1 at 2018-01-04 16:11:52 +0100
+Processing by User::ArticlesController#new as HTML
+ [1m[36mUser Load (5.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/new.html.erb within layouts/user
+ Rendered user/articles/_form.html.erb (21.6ms)
+ Rendered user/articles/new.html.erb within layouts/user (26.4ms)
+ Rendered layouts/_head.html.erb (1.3ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 46ms (Views: 36.1ms | ActiveRecord: 5.9ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:11:52 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A11%3A52.587789Z&uuid=ba1c4a20-34eb-44eb-bea3-e65bb49fa386" for 127.0.0.1 at 2018-01-04 16:11:53 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:11:52.587789Z", "uuid"=>"ba1c4a20-34eb-44eb-bea3-e65bb49fa386"}
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:52.587789') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:52.587789') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 9.5ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A11%3A53.389090Z&uuid=ba1c4a20-34eb-44eb-bea3-e65bb49fa386" for 127.0.0.1 at 2018-01-04 16:11:54 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:11:53.389090Z", "uuid"=>"ba1c4a20-34eb-44eb-bea3-e65bb49fa386"}
+ [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (3.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:53.389090') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (5.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:53.389090') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 11.2ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A11%3A54.389779Z&uuid=ba1c4a20-34eb-44eb-bea3-e65bb49fa386" for 127.0.0.1 at 2018-01-04 16:11:55 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:11:54.389779Z", "uuid"=>"ba1c4a20-34eb-44eb-bea3-e65bb49fa386"}
+ [1m[36mUser Load (5.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:54.389779') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:54.389779') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 9.1ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A11%3A55.398445Z&uuid=ba1c4a20-34eb-44eb-bea3-e65bb49fa386" for 127.0.0.1 at 2018-01-04 16:11:56 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:11:55.398445Z", "uuid"=>"ba1c4a20-34eb-44eb-bea3-e65bb49fa386"}
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:55.398445') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:55.398445') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 6.8ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A11%3A56.386849Z&uuid=ba1c4a20-34eb-44eb-bea3-e65bb49fa386" for 127.0.0.1 at 2018-01-04 16:11:57 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:11:56.386849Z", "uuid"=>"ba1c4a20-34eb-44eb-bea3-e65bb49fa386"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:56.386849') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:56.386849') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 4.4ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A11%3A57.381617Z&uuid=ba1c4a20-34eb-44eb-bea3-e65bb49fa386" for 127.0.0.1 at 2018-01-04 16:11:58 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:11:57.381617Z", "uuid"=>"ba1c4a20-34eb-44eb-bea3-e65bb49fa386"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:57.381617') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:57.381617') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 5.0ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A11%3A58.382693Z&uuid=ba1c4a20-34eb-44eb-bea3-e65bb49fa386" for 127.0.0.1 at 2018-01-04 16:11:59 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:11:58.382693Z", "uuid"=>"ba1c4a20-34eb-44eb-bea3-e65bb49fa386"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:58.382693') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:11:58.382693') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 4.2ms)
+Started POST "/user/articles" for 127.0.0.1 at 2018-01-04 16:12:00 +0100
+Processing by User::ArticlesController#create as JSON
+ Parameters: {"article"=>{"title"=>"Article #1", "text"=>"The Ruby I18n (shorthand for internationalization) gem which is shipped with Ruby on Rails (starting from Rails 2.2) provides an easy-to-use and extensible framework for translating your application to a single custom language other than English or for providing multi-language support in your application. The process of 'internationalization' usually means to abstract all strings and other locale specific bits (such as date or currency formats) out of your application. The process of 'localization' means to provide translations and localized formats for these bits.", "created_at"=>nil, "updated_at"=>nil, "comments_count"=>nil, "published_at"=>nil, "published"=>false, "admin_review"=>nil, "admin_rate"=>nil, "category_id"=>nil, "admin_review_started_at"=>nil}}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Unpermitted parameters: :created_at, :updated_at, :comments_count, :published_at, :published, :admin_review, :admin_rate, :category_id, :admin_review_started_at
+ [1m[35m (1.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `user_id`) VALUES ('Article #1', 'The Ruby I18n (shorthand for internationalization) gem which is shipped with Ruby on Rails (starting from Rails 2.2) provides an easy-to-use and extensible framework for translating your application to a single custom language other than English or for providing multi-language support in your application. The process of \'internationalization\' usually means to abstract all strings and other locale specific bits (such as date or currency formats) out of your application. The process of \'localization\' means to provide translations and localized formats for these bits.', '2018-01-04 15:12:00.804677', '2018-01-04 15:12:00.804677', 872278135)[0m
+ [1m[35m (14.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 980190963, 'created', '{\"id\":980190963}', 'User', 872278135, '2018-01-04 15:12:00.837608', '2018-01-04 15:12:00.837608')[0m
+ [1m[35m (11.9ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: c606895f-0813-49dd-b9d1-e09d40e9b69a) to Async(loco) with arguments: #<GlobalID:0x00007f951c9a5f70 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 980190963, "created", {"id"=>980190963}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 5ab0d225-b664-4b5f-a6bb-d908ee64c6d2) to Async(loco) with arguments: #<GlobalID:0x00007f951f74c078 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:00.837608Z"}}
+Completed 200 OK in 66ms (Views: 0.7ms | ActiveRecord: 34.7ms)
+ [1m[36mUser Load (3.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [c606895f-0813-49dd-b9d1-e09d40e9b69a] Performing Loco::SenderJob (Job ID: c606895f-0813-49dd-b9d1-e09d40e9b69a) from Async(loco) with arguments: #<GlobalID:0x00007f951d24e118 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 980190963, "created", {"id"=>980190963}]}}
+[ActiveJob] [Loco::SenderJob] [c606895f-0813-49dd-b9d1-e09d40e9b69a] [ActionCable] Broadcasting to loco:notification_center:ba1c4a20-34eb-44eb-bea3-e65bb49fa386: {:loco=>{:notification=>["Article", 980190963, "created", {"id"=>980190963}]}}
+[ActiveJob] [Loco::SenderJob] [c606895f-0813-49dd-b9d1-e09d40e9b69a] Performed Loco::SenderJob (Job ID: c606895f-0813-49dd-b9d1-e09d40e9b69a) from Async(loco) in 0.69ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 980190963, "created", {"id"=>980190963}]}} (via streamed from loco:notification_center:ba1c4a20-34eb-44eb-bea3-e65bb49fa386)
+ [1m[35m (1.3ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.2ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'loco_test'[0m
+ [1m[35m (1.2ms)[0m [1m[35mSET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
+ [1m[36mUser Load (22.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [5ab0d225-b664-4b5f-a6bb-d908ee64c6d2] Performing Loco::SenderJob (Job ID: 5ab0d225-b664-4b5f-a6bb-d908ee64c6d2) from Async(loco) with arguments: #<GlobalID:0x00007f951f70c298 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:00.837608Z"}}
+[ActiveJob] [Loco::SenderJob] [5ab0d225-b664-4b5f-a6bb-d908ee64c6d2] [ActionCable] Broadcasting to loco:notification_center:ba1c4a20-34eb-44eb-bea3-e65bb49fa386: {:loco=>{:sync_time=>"2018-01-04T15:12:00.837608Z"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:12:00.837608Z"}} (via streamed from loco:notification_center:ba1c4a20-34eb-44eb-bea3-e65bb49fa386)
+[ActiveJob] [Loco::SenderJob] [5ab0d225-b664-4b5f-a6bb-d908ee64c6d2] Performed Loco::SenderJob (Job ID: 5ab0d225-b664-4b5f-a6bb-d908ee64c6d2) from Async(loco) in 3.68ms
+ [1m[35m (54.5ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (47.0ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (46.7ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (49.4ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (50.2ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (46.1ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (53.8ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (43.4ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (2.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$/mkF/WayViKrvVYu2WD9y.ujkXKy1q.bF9t1RmkOpn7I.XvyMAyaa', '2018-01-04 15:12:01.315144', '2018-01-04 15:12:01.315144', 980190962)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$NpEoyNULriplNZnTCq2mgu1Kd6kmci8.Zf.K0Ra7Yoa8D9mLVAeFG', '2018-01-04 15:12:01.315144', '2018-01-04 15:12:01.315144', 298486374)[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.4ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$8/l9vLz3QMPAtdr19a.QF.bnvChzjlXqxgxvASZ9zbfbAJzmYbNwa', '2017-12-28 15:12:01', '2018-01-04 15:12:01.322476', '2018-01-04 15:12:01.322476', 872278135)[0m
+ [1m[36mFixture Insert (4.2ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$KuyEPv7R3CxeYhUprSMQreDHn2Ztz8nYLeKjVLYodzijjd07/T/km', '2018-01-04 15:12:01.322476', '2018-01-04 15:12:01.322476', 15595101)[0m
+ [1m[36mFixture Delete (1.2ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:01', '2018-01-04 15:12:01.357642', '2018-01-04 15:12:01.357642', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (2.7ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:01.357642', '2018-01-04 15:12:01.357642', 298486374, 872278135)[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A00.837608Z&uuid=ba1c4a20-34eb-44eb-bea3-e65bb49fa386" for 127.0.0.1 at 2018-01-04 16:12:01 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:00.837608Z", "uuid"=>"ba1c4a20-34eb-44eb-bea3-e65bb49fa386"}
+ [1m[35m (13.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mUser Load (5.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+--------------------
+LocoTest: test_truth
+--------------------
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:00.837608') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[35m (1.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:00.837608') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 7.8ms)
+ [1m[35m (1.4ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'loco_test'[0m
+ [1m[35m (47.0ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (53.5ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (34.9ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (51.0ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (39.9ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (61.2ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (50.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (62.6ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.4ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (1.2ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (2.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.5ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.7ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$Keq20NBOzjLTsLYOMbbPb.5G4FKjp8WVj0d5Rr2HnT42nZtBfyUSq', '2018-01-04 15:12:01.844351', '2018-01-04 15:12:01.844351', 980190962)[0m
+ [1m[36mFixture Insert (2.3ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$BeXzXlxZgytD9YccXGtGVeAlS2MoI.T3lP/cdp8DrqJXO5dSn2wO.', '2018-01-04 15:12:01.844351', '2018-01-04 15:12:01.844351', 298486374)[0m
+ [1m[36mFixture Delete (2.7ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (2.3ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$K9Aus2yHew2.UoZrrmN4PulSeHwSmmXyueVrMH742tLX3aE/k3l5u', '2017-12-28 15:12:01', '2018-01-04 15:12:01.867227', '2018-01-04 15:12:01.867227', 872278135)[0m
+ [1m[36mFixture Insert (1.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$YlFqaBlOm.KUrbtlxNIv7e0ReDVGegVJaqaPD9pF8dxuYzKXP9Chi', '2018-01-04 15:12:01.867227', '2018-01-04 15:12:01.867227', 15595101)[0m
+ [1m[36mFixture Delete (1.8ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:01', '2018-01-04 15:12:01.881103', '2018-01-04 15:12:01.881103', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (2.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:01.881103', '2018-01-04 15:12:01.881103', 298486374, 872278135)[0m
+ [1m[35m (13.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-----------------------------------------------------------------------------
+Main::ArticlePageTest: test_should_update_number_of_comments_if_one_was_added
+-----------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:01 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.4ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:01 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: adb4cc88-04e1-49dd-9fac-c1c1cea411c0) to Async(loco) with arguments: #<GlobalID:0x00007f95213da870 @uri=#<URI::GID gid://dummy/User/872278135>>, "ba1c4a20-34eb-44eb-bea3-e65bb49fa386", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:ba1c4a20-34eb-44eb-bea3-e65bb49fa386
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (8.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [adb4cc88-04e1-49dd-9fac-c1c1cea411c0] Performing Loco::UuidJob (Job ID: adb4cc88-04e1-49dd-9fac-c1c1cea411c0) from Async(loco) with arguments: #<GlobalID:0x00007f9521980bd0 @uri=#<URI::GID gid://dummy/User/872278135>>, "ba1c4a20-34eb-44eb-bea3-e65bb49fa386", "del"
+[ActiveJob] [Loco::UuidJob] [adb4cc88-04e1-49dd-9fac-c1c1cea411c0] Performed Loco::UuidJob (Job ID: adb4cc88-04e1-49dd-9fac-c1c1cea411c0) from Async(loco) in 0.4ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:02 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:02 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:02 +0100
+Processing by Main::ArticlesController#index as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:02 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:02 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (5.0ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (4.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (5.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (5.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["9f6fc89a-4bc9-4de2-a286-a3e34745ab64", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$K9Aus2yHew2.UoZrrmN4PulSeHwSmmXyueVrMH742tL...", created_at: "2018-01-04 15:12:01", updated_at: "2018-01-04 15:12:01", confirmed_at: "2017-12-28 15:12:01">, nil])
+ [1m[36mUser Load (6.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: d4bb8435-0008-4d77-9fde-15aec7028b43) to Async(loco) with arguments: "9f6fc89a-4bc9-4de2-a286-a3e34745ab64", {:loco=>{:uuid=>"9f6fc89a-4bc9-4de2-a286-a3e34745ab64"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 453f0cc8-c69a-4140-9cc7-64616ccd65bc) to Async(loco) with arguments: #<GlobalID:0x00007f95212da808 @uri=#<URI::GID gid://dummy/User/872278135>>, "9f6fc89a-4bc9-4de2-a286-a3e34745ab64", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:9f6fc89a-4bc9-4de2-a286-a3e34745ab64
+[ActiveJob] [Loco::SenderJob] [d4bb8435-0008-4d77-9fde-15aec7028b43] Performing Loco::SenderJob (Job ID: d4bb8435-0008-4d77-9fde-15aec7028b43) from Async(loco) with arguments: "9f6fc89a-4bc9-4de2-a286-a3e34745ab64", {:loco=>{:uuid=>"9f6fc89a-4bc9-4de2-a286-a3e34745ab64"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+ [1m[35m (8.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[ActiveJob] [Loco::SenderJob] [d4bb8435-0008-4d77-9fde-15aec7028b43] [ActionCable] Broadcasting to loco:notification_center:9f6fc89a-4bc9-4de2-a286-a3e34745ab64: {:loco=>{:uuid=>"9f6fc89a-4bc9-4de2-a286-a3e34745ab64"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mArticle Load (2.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (13.4ms)
+[ActiveJob] [Loco::SenderJob] [d4bb8435-0008-4d77-9fde-15aec7028b43] Performed Loco::SenderJob (Job ID: d4bb8435-0008-4d77-9fde-15aec7028b43) from Async(loco) in 1.58ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"9f6fc89a-4bc9-4de2-a286-a3e34745ab64"}} (via streamed from loco:notification_center:9f6fc89a-4bc9-4de2-a286-a3e34745ab64)
+ [1m[36mUser Load (4.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendered main/articles/index.json.jbuilder (34.1ms)
+[ActiveJob] [Loco::UuidJob] [453f0cc8-c69a-4140-9cc7-64616ccd65bc] Performing Loco::UuidJob (Job ID: 453f0cc8-c69a-4140-9cc7-64616ccd65bc) from Async(loco) with arguments: #<GlobalID:0x00007f9521263348 @uri=#<URI::GID gid://dummy/User/872278135>>, "9f6fc89a-4bc9-4de2-a286-a3e34745ab64", "add"
+Completed 200 OK in 49ms (Views: 18.9ms | ActiveRecord: 23.8ms)
+[ActiveJob] [Loco::UuidJob] [453f0cc8-c69a-4140-9cc7-64616ccd65bc] Performed Loco::UuidJob (Job ID: 453f0cc8-c69a-4140-9cc7-64616ccd65bc) from Async(loco) in 0.7ms
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:02 +0100
+Processing by Main::ArticlesController#show as HTML
+ Parameters: {"id"=>"980190962"}
+ Rendering main/articles/show.html.erb within layouts/application
+ Rendered main/articles/show.html.erb within layouts/application (23.4ms)
+ Rendered layouts/_head.html.erb (2.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 42ms (Views: 36.6ms | ActiveRecord: 4.7ms)
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:02 +0100
+Processing by Main::ArticlesController#show as JSON
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Started GET "/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:02 +0100
+Processing by Main::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+ [1m[36mArticle Load (13.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 980190962 LIMIT 1[0m
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:02 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (6.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering main/articles/show.json.jbuilder
+ [1m[35m (6.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ [1m[35m (6.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article.json.jbuilder (9.6ms)
+ Rendered main/articles/show.json.jbuilder (16.3ms)
+Completed 200 OK in 53ms (Views: 11.1ms | ActiveRecord: 26.9ms)
+ Rendering main/comments/index.json.jbuilder
+ [1m[36mComment Load (1.9ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered main/comments/index.json.jbuilder (4.0ms)
+Completed 200 OK in 56ms (Views: 13.2ms | ActiveRecord: 8.3ms)
+ [1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 980190962, '2018-01-04 15:12:02.503665', '2018-01-04 15:12:02.503665', 0, 0, 3)[0m
+ [1m[35m (13.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:12:02.523808', '2018-01-04 15:12:02.523808')[0m
+ [1m[35m (10.0ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [ec1b4e49-be55-4037-8278-4322a95808fd] Performing Loco::SenderJob (Job ID: ec1b4e49-be55-4037-8278-4322a95808fd) from Async(loco) with arguments: "9f6fc89a-4bc9-4de2-a286-a3e34745ab64", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: ec1b4e49-be55-4037-8278-4322a95808fd) to Async(loco) with arguments: "9f6fc89a-4bc9-4de2-a286-a3e34745ab64", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [ec1b4e49-be55-4037-8278-4322a95808fd] [ActionCable] Broadcasting to loco:notification_center:9f6fc89a-4bc9-4de2-a286-a3e34745ab64: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [ec1b4e49-be55-4037-8278-4322a95808fd] Performed Loco::SenderJob (Job ID: ec1b4e49-be55-4037-8278-4322a95808fd) from Async(loco) in 0.78ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:9f6fc89a-4bc9-4de2-a286-a3e34745ab64)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A02.383456Z&uuid=9f6fc89a-4bc9-4de2-a286-a3e34745ab64" for 127.0.0.1 at 2018-01-04 16:12:02 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:02.383456Z", "uuid"=>"9f6fc89a-4bc9-4de2-a286-a3e34745ab64"}
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:02.383456') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (2.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:02.383456') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 15ms (Views: 0.5ms | ActiveRecord: 6.8ms)
+Started GET "/articles/980190962/comments/1" for 127.0.0.1 at 2018-01-04 16:12:02 +0100
+Processing by Main::CommentsController#show as JSON
+ Parameters: {"article_id"=>"980190962", "id"=>"1", "comment"=>{}}
+ [1m[36mComment Load (2.0ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering main/comments/show.json.jbuilder
+ Rendered main/comments/_comment.json.jbuilder (1.1ms)
+ Rendered main/comments/show.json.jbuilder (5.4ms)
+Completed 200 OK in 19ms (Views: 6.7ms | ActiveRecord: 2.0ms)
+ [1m[35m (1.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (2.0ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'loco_test'[0m
+ [1m[35m (64.3ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (46.4ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (50.1ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (48.7ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (46.1ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (51.9ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A02.560415Z&uuid=9f6fc89a-4bc9-4de2-a286-a3e34745ab64" for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:02.560415Z", "uuid"=>"9f6fc89a-4bc9-4de2-a286-a3e34745ab64"}
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (46.8ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:02.560415') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:02.560415') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 4.7ms)
+ [1m[35m (54.2ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.3ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.4ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$uwbQ/cC57GSRSfcwE37Rt.LGK7erXsn3oKCFB6TBy24oxToesGp7G', '2018-01-04 15:12:03.139836', '2018-01-04 15:12:03.139836', 980190962)[0m
+ [1m[36mFixture Insert (1.4ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$96L9gwz6eX8BMxoSXqtDJezWIUGVgMZULxmse5G58yA.s9G/ceyoa', '2018-01-04 15:12:03.139836', '2018-01-04 15:12:03.139836', 298486374)[0m
+ [1m[36mFixture Delete (3.6ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$2BVGZ93LpqEgcK2MnphIFuc/W4QmhEyc8dT7gfBKBdljgviu3Hkry', '2017-12-28 15:12:03', '2018-01-04 15:12:03.147856', '2018-01-04 15:12:03.147856', 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$ItCjdlsr0aV.Bg/v2fZVJu29ziAX/qGlbOhkDbFzOcjohVd/4xJAO', '2018-01-04 15:12:03.147856', '2018-01-04 15:12:03.147856', 15595101)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:03', '2018-01-04 15:12:03.158112', '2018-01-04 15:12:03.158112', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:03.158112', '2018-01-04 15:12:03.158112', 298486374, 872278135)[0m
+ [1m[35m (8.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+----------------------------------------------------------
+Main::ArticlePageTest: test_should_show_info_about_editing
+----------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.5ms)
+ Rendered layouts/_head.html.erb (2.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 890108cc-7e6e-4e27-a7d7-8977aa78e18e) to Async(loco) with arguments: #<GlobalID:0x00007f95212da808 @uri=#<URI::GID gid://dummy/User/872278135>>, "9f6fc89a-4bc9-4de2-a286-a3e34745ab64", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:9f6fc89a-4bc9-4de2-a286-a3e34745ab64
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (13.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [890108cc-7e6e-4e27-a7d7-8977aa78e18e] Performing Loco::UuidJob (Job ID: 890108cc-7e6e-4e27-a7d7-8977aa78e18e) from Async(loco) with arguments: #<GlobalID:0x00007f951f7af880 @uri=#<URI::GID gid://dummy/User/872278135>>, "9f6fc89a-4bc9-4de2-a286-a3e34745ab64", "del"
+[ActiveJob] [Loco::UuidJob] [890108cc-7e6e-4e27-a7d7-8977aa78e18e] Performed Loco::UuidJob (Job ID: 890108cc-7e6e-4e27-a7d7-8977aa78e18e) from Async(loco) in 0.26ms
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (8.5ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mUser Load (11.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mArticle Load (9.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mAdmin Load (5.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["1368e898-1ec8-4303-b0a5-4d071c81dc8a", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$2BVGZ93LpqEgcK2MnphIFuc/W4QmhEyc8dT7gfBKBdl...", created_at: "2018-01-04 15:12:03", updated_at: "2018-01-04 15:12:03", confirmed_at: "2017-12-28 15:12:03">, nil])
+ [1m[36mUser Load (4.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: af1b6f5f-cd44-4578-92e4-c3dc134cac41) to Async(loco) with arguments: "1368e898-1ec8-4303-b0a5-4d071c81dc8a", {:loco=>{:uuid=>"1368e898-1ec8-4303-b0a5-4d071c81dc8a"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: bda60ad2-69c2-45c3-96b3-dc9bb0286e46) to Async(loco) with arguments: #<GlobalID:0x00007f951cb9edb8 @uri=#<URI::GID gid://dummy/User/872278135>>, "1368e898-1ec8-4303-b0a5-4d071c81dc8a", "add"
+[ActiveJob] [Loco::SenderJob] [af1b6f5f-cd44-4578-92e4-c3dc134cac41] Performing Loco::SenderJob (Job ID: af1b6f5f-cd44-4578-92e4-c3dc134cac41) from Async(loco) with arguments: "1368e898-1ec8-4303-b0a5-4d071c81dc8a", {:loco=>{:uuid=>"1368e898-1ec8-4303-b0a5-4d071c81dc8a"}}
+[ActiveJob] [Loco::SenderJob] [af1b6f5f-cd44-4578-92e4-c3dc134cac41] [ActionCable] Broadcasting to loco:notification_center:1368e898-1ec8-4303-b0a5-4d071c81dc8a: {:loco=>{:uuid=>"1368e898-1ec8-4303-b0a5-4d071c81dc8a"}}
+[ActiveJob] [Loco::SenderJob] [af1b6f5f-cd44-4578-92e4-c3dc134cac41] Performed Loco::SenderJob (Job ID: af1b6f5f-cd44-4578-92e4-c3dc134cac41) from Async(loco) in 0.32ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:1368e898-1ec8-4303-b0a5-4d071c81dc8a
+ [1m[35m (7.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (10.4ms)
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ Rendered main/articles/index.json.jbuilder (22.1ms)
+Completed 200 OK in 48ms (Views: 10.1ms | ActiveRecord: 23.2ms)
+ [1m[36mUser Load (3.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [bda60ad2-69c2-45c3-96b3-dc9bb0286e46] Performing Loco::UuidJob (Job ID: bda60ad2-69c2-45c3-96b3-dc9bb0286e46) from Async(loco) with arguments: #<GlobalID:0x00007f95210e3220 @uri=#<URI::GID gid://dummy/User/872278135>>, "1368e898-1ec8-4303-b0a5-4d071c81dc8a", "add"
+[ActiveJob] [Loco::UuidJob] [bda60ad2-69c2-45c3-96b3-dc9bb0286e46] Performed Loco::UuidJob (Job ID: bda60ad2-69c2-45c3-96b3-dc9bb0286e46) from Async(loco) in 1.17ms
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+Processing by Main::ArticlesController#show as HTML
+ Parameters: {"id"=>"980190962"}
+ Rendering main/articles/show.html.erb within layouts/application
+ Rendered main/articles/show.html.erb within layouts/application (2.8ms)
+ Rendered layouts/_head.html.erb (2.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+Processing by Main::ArticlesController#show as JSON
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Started GET "/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+Processing by Main::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+ [1m[36mArticle Load (6.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (4.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendering main/comments/index.json.jbuilder
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering main/articles/show.json.jbuilder
+ [1m[36mComment Load (5.1ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered main/comments/index.json.jbuilder (6.1ms)
+Completed 200 OK in 19ms (Views: 2.5ms | ActiveRecord: 9.7ms)
+ [1m[35m (3.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article.json.jbuilder (6.1ms)
+ Rendered main/articles/show.json.jbuilder (6.7ms)
+Completed 200 OK in 27ms (Views: 5.2ms | ActiveRecord: 11.8ms)
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Article', 980190962, 'updating', '{\"mark\":\"1515078723.602561\",\"id\":980190962}', '2018-01-04 15:12:03.604781', '2018-01-04 15:12:03.604781')[0m
+ [1m[35m (10.9ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [35fa6136-fec1-4476-8afc-24e60049a9d2] Performing Loco::SenderJob (Job ID: 35fa6136-fec1-4476-8afc-24e60049a9d2) from Async(loco) with arguments: "1368e898-1ec8-4303-b0a5-4d071c81dc8a", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 35fa6136-fec1-4476-8afc-24e60049a9d2) to Async(loco) with arguments: "1368e898-1ec8-4303-b0a5-4d071c81dc8a", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [35fa6136-fec1-4476-8afc-24e60049a9d2] [ActionCable] Broadcasting to loco:notification_center:1368e898-1ec8-4303-b0a5-4d071c81dc8a: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [35fa6136-fec1-4476-8afc-24e60049a9d2] Performed Loco::SenderJob (Job ID: 35fa6136-fec1-4476-8afc-24e60049a9d2) from Async(loco) in 0.78ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:1368e898-1ec8-4303-b0a5-4d071c81dc8a)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A03.517172Z" for 127.0.0.1 at 2018-01-04 16:12:03 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:03.517172Z"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:03.517172') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:03.517172') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 3.3ms)
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.5ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (54.8ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (43.1ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (56.4ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (42.2ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (54.8ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (47.1ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A03.635802Z" for 127.0.0.1 at 2018-01-04 16:12:04 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:03.635802Z"}
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (12.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:03.635802') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[35m (55.7ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[36mLoco::Notification Load (0.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:03.635802') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 23ms (Views: 0.2ms | ActiveRecord: 15.2ms)
+ [1m[35m (40.3ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$hi.SfKQ2tuwRRBPCkg58nuHkdU6W3Y4Y5tazTTBM3xASOBUGPMKc2', '2018-01-04 15:12:04.335421', '2018-01-04 15:12:04.335421', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$FV9BLagwGzwNgr9ivy10a.lyEzvc3THDRrkH9QaHEmLnsVKrz1n66', '2018-01-04 15:12:04.335421', '2018-01-04 15:12:04.335421', 298486374)[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$NzaRuYEjRO.ZmCI2Bq.Nv.N5ob2jYjAdpLxBhtw4AHCqg02Ge5fiK', '2017-12-28 15:12:04', '2018-01-04 15:12:04.342252', '2018-01-04 15:12:04.342252', 872278135)[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$qHwlRHUAb/NRy47orE/Fa.gFIajBKoKqmPuLSZNtPgVK0vUNWQtJu', '2018-01-04 15:12:04.342252', '2018-01-04 15:12:04.342252', 15595101)[0m
+ [1m[36mFixture Delete (0.5ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:04', '2018-01-04 15:12:04.361503', '2018-01-04 15:12:04.361503', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:04.361503', '2018-01-04 15:12:04.361503', 298486374, 872278135)[0m
+ [1m[35m (8.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+------------------------------------------------
+Main::ArticlePageTest: test_should_add_a_comment
+------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:04 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.2ms)
+ Rendered layouts/_head.html.erb (1.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:04 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 0ed8dd63-1863-4be9-950a-eb718e943345) to Async(loco) with arguments: #<GlobalID:0x00007f951cb9edb8 @uri=#<URI::GID gid://dummy/User/872278135>>, "1368e898-1ec8-4303-b0a5-4d071c81dc8a", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:1368e898-1ec8-4303-b0a5-4d071c81dc8a
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (7.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [0ed8dd63-1863-4be9-950a-eb718e943345] Performing Loco::UuidJob (Job ID: 0ed8dd63-1863-4be9-950a-eb718e943345) from Async(loco) with arguments: #<GlobalID:0x00007f951d49c9d8 @uri=#<URI::GID gid://dummy/User/872278135>>, "1368e898-1ec8-4303-b0a5-4d071c81dc8a", "del"
+[ActiveJob] [Loco::UuidJob] [0ed8dd63-1863-4be9-950a-eb718e943345] Performed Loco::UuidJob (Job ID: 0ed8dd63-1863-4be9-950a-eb718e943345) from Async(loco) in 0.25ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:04 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:04 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:04 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (0.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (2.3ms)
+ Rendered main/articles/index.json.jbuilder (6.3ms)
+Completed 200 OK in 10ms (Views: 4.0ms | ActiveRecord: 3.7ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:04 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:04 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (0.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["978047ee-44d5-460e-b5f8-e62ab0bc6ddd", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$NzaRuYEjRO.ZmCI2Bq.Nv.N5ob2jYjAdpLxBhtw4AHC...", created_at: "2018-01-04 15:12:04", updated_at: "2018-01-04 15:12:04", confirmed_at: "2017-12-28 15:12:04">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 76a5ee2c-a485-4027-9a84-7b71f18297da) to Async(loco) with arguments: "978047ee-44d5-460e-b5f8-e62ab0bc6ddd", {:loco=>{:uuid=>"978047ee-44d5-460e-b5f8-e62ab0bc6ddd"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: f9a024ce-f15b-425f-b051-530f84a37bc5) to Async(loco) with arguments: #<GlobalID:0x00007f952148a180 @uri=#<URI::GID gid://dummy/User/872278135>>, "978047ee-44d5-460e-b5f8-e62ab0bc6ddd", "add"
+[ActiveJob] [Loco::SenderJob] [76a5ee2c-a485-4027-9a84-7b71f18297da] Performing Loco::SenderJob (Job ID: 76a5ee2c-a485-4027-9a84-7b71f18297da) from Async(loco) with arguments: "978047ee-44d5-460e-b5f8-e62ab0bc6ddd", {:loco=>{:uuid=>"978047ee-44d5-460e-b5f8-e62ab0bc6ddd"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:978047ee-44d5-460e-b5f8-e62ab0bc6ddd
+[ActiveJob] [Loco::SenderJob] [76a5ee2c-a485-4027-9a84-7b71f18297da] [ActionCable] Broadcasting to loco:notification_center:978047ee-44d5-460e-b5f8-e62ab0bc6ddd: {:loco=>{:uuid=>"978047ee-44d5-460e-b5f8-e62ab0bc6ddd"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [76a5ee2c-a485-4027-9a84-7b71f18297da] Performed Loco::SenderJob (Job ID: 76a5ee2c-a485-4027-9a84-7b71f18297da) from Async(loco) in 2.51ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"978047ee-44d5-460e-b5f8-e62ab0bc6ddd"}} (via streamed from loco:notification_center:978047ee-44d5-460e-b5f8-e62ab0bc6ddd)
+ [1m[36mArticle Load (2.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f9a024ce-f15b-425f-b051-530f84a37bc5] Performing Loco::UuidJob (Job ID: f9a024ce-f15b-425f-b051-530f84a37bc5) from Async(loco) with arguments: #<GlobalID:0x00007f9521ab1810 @uri=#<URI::GID gid://dummy/User/872278135>>, "978047ee-44d5-460e-b5f8-e62ab0bc6ddd", "add"
+[ActiveJob] [Loco::UuidJob] [f9a024ce-f15b-425f-b051-530f84a37bc5] Performed Loco::UuidJob (Job ID: f9a024ce-f15b-425f-b051-530f84a37bc5) from Async(loco) in 0.58ms
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:04 +0100
+Processing by Main::ArticlesController#show as HTML
+ Parameters: {"id"=>"980190962"}
+ Rendering main/articles/show.html.erb within layouts/application
+ Rendered main/articles/show.html.erb within layouts/application (1.0ms)
+ Rendered layouts/_head.html.erb (2.3ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:04 +0100
+Processing by Main::ArticlesController#show as JSON
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Started GET "/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:04 +0100
+Processing by Main::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:04 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mArticle Load (3.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (4.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendering main/comments/index.json.jbuilder
+ [1m[36mUser Load (9.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[36mComment Load (8.0ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendering main/articles/show.json.jbuilder
+ Rendered main/comments/index.json.jbuilder (10.3ms)
+Completed 200 OK in 22ms (Views: 4.8ms | ActiveRecord: 12.3ms)
+ [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article.json.jbuilder (3.8ms)
+ Rendered main/articles/show.json.jbuilder (4.3ms)
+Completed 200 OK in 30ms (Views: 3.4ms | ActiveRecord: 15.2ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A04.603079Z&uuid=978047ee-44d5-460e-b5f8-e62ab0bc6ddd" for 127.0.0.1 at 2018-01-04 16:12:05 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:04.603079Z", "uuid"=>"978047ee-44d5-460e-b5f8-e62ab0bc6ddd"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:04.603079') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:04.603079') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 4.0ms)
+Started POST "/articles/980190962/comments" for 127.0.0.1 at 2018-01-04 16:12:05 +0100
+Processing by Main::CommentsController#create as JSON
+ Parameters: {"comment"=>{"author"=>"David", "text"=>"Nice article man!", "article_id"=>980190962, "created_at"=>nil, "updated_at"=>nil, "emotion"=>nil, "pinned"=>nil, "admin_rate"=>nil, "approved"=>nil}, "article_id"=>"980190962"}
+Unpermitted parameters: :created_at, :updated_at, :emotion, :pinned, :admin_rate, :approved
+ [1m[35m (6.4ms)[0m [1m[35mBEGIN[0m
+ [1m[36mArticle Load (5.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35mSQL (65.8ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('David', 'Nice article man!', 980190962, '2018-01-04 15:12:05.904284', '2018-01-04 15:12:05.904284', 0, 0, 3)[0m
+ [1m[35m (52.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (5.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:12:06.034491', '2018-01-04 15:12:06.034491')[0m
+ [1m[35m (16.5ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [42d0699d-78d8-4286-aa23-bbee3f58060c] Performing Loco::SenderJob (Job ID: 42d0699d-78d8-4286-aa23-bbee3f58060c) from Async(loco) with arguments: "978047ee-44d5-460e-b5f8-e62ab0bc6ddd", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 42d0699d-78d8-4286-aa23-bbee3f58060c) to Async(loco) with arguments: "978047ee-44d5-460e-b5f8-e62ab0bc6ddd", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [42d0699d-78d8-4286-aa23-bbee3f58060c] [ActionCable] Broadcasting to loco:notification_center:978047ee-44d5-460e-b5f8-e62ab0bc6ddd: {:loco=>{:xhr_notifications=>true}}
+Completed 200 OK in 181ms (Views: 0.2ms | ActiveRecord: 153.7ms)
+[ActiveJob] [Loco::SenderJob] [42d0699d-78d8-4286-aa23-bbee3f58060c] Performed Loco::SenderJob (Job ID: 42d0699d-78d8-4286-aa23-bbee3f58060c) from Async(loco) in 4.04ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:978047ee-44d5-460e-b5f8-e62ab0bc6ddd)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A05.436894Z&uuid=978047ee-44d5-460e-b5f8-e62ab0bc6ddd" for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:05.436894Z", "uuid"=>"978047ee-44d5-460e-b5f8-e62ab0bc6ddd"}
+ [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:05.436894') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (0.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:05.436894') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 2.9ms)
+Started GET "/articles/980190962/comments/1" for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+Processing by Main::CommentsController#show as JSON
+ Parameters: {"article_id"=>"980190962", "id"=>"1", "comment"=>{}}
+ [1m[36mComment Load (1.0ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering main/comments/show.json.jbuilder
+ Rendered main/comments/_comment.json.jbuilder (0.1ms)
+ Rendered main/comments/show.json.jbuilder (0.4ms)
+Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 1.0ms)
+ [1m[35m (1.4ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.4ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'loco_test'[0m
+ [1m[35m (52.9ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (47.0ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (51.5ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (41.6ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A06.100892Z&uuid=978047ee-44d5-460e-b5f8-e62ab0bc6ddd" for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:06.100892Z", "uuid"=>"978047ee-44d5-460e-b5f8-e62ab0bc6ddd"}
+ [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (0.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:06.100892') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (0.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:06.100892') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 2.1ms)
+ [1m[35m (39.0ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (41.3ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (39.5ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (46.4ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.5ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$UytAnSIQWQhiB0psaEpQlup8McFdKgldbbgQzdRHBz/IFktlGEjZe', '2018-01-04 15:12:06.605451', '2018-01-04 15:12:06.605451', 980190962)[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$9KZb5IQMdCyKzytkvXhdTOSwHCPxPJyYwFZF5ivcgxm/.U0eqjmky', '2018-01-04 15:12:06.605451', '2018-01-04 15:12:06.605451', 298486374)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$61MJT9GK3hu8DF3qEz.Bw.C5/61wTiFLnQhSMYpQ7N4T8ozjGlvmK', '2017-12-28 15:12:06', '2018-01-04 15:12:06.609411', '2018-01-04 15:12:06.609411', 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$4lYL1kAhXutMyyFuYtWvKeMtLFpnieqttQKwimSwoyzPGgp5XGoHq', '2018-01-04 15:12:06.609411', '2018-01-04 15:12:06.609411', 15595101)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:06', '2018-01-04 15:12:06.614702', '2018-01-04 15:12:06.614702', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:06.614702', '2018-01-04 15:12:06.614702', 298486374, 872278135)[0m
+ [1m[35m (8.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------------------------------------
+Main::ArticlePageTest: test_should_update_number_of_comments_if_one_was_deleted
+-------------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.2ms)
+ Rendered layouts/_head.html.erb (1.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: f60576db-a6f4-4f36-aa70-62dfb55c9bca) to Async(loco) with arguments: #<GlobalID:0x00007f952148a180 @uri=#<URI::GID gid://dummy/User/872278135>>, "978047ee-44d5-460e-b5f8-e62ab0bc6ddd", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:978047ee-44d5-460e-b5f8-e62ab0bc6ddd
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (20.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f60576db-a6f4-4f36-aa70-62dfb55c9bca] Performing Loco::UuidJob (Job ID: f60576db-a6f4-4f36-aa70-62dfb55c9bca) from Async(loco) with arguments: #<GlobalID:0x00007f95211b9a00 @uri=#<URI::GID gid://dummy/User/872278135>>, "978047ee-44d5-460e-b5f8-e62ab0bc6ddd", "del"
+[ActiveJob] [Loco::UuidJob] [f60576db-a6f4-4f36-aa70-62dfb55c9bca] Performed Loco::UuidJob (Job ID: f60576db-a6f4-4f36-aa70-62dfb55c9bca) from Async(loco) in 0.22ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (7.4ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ [1m[36mUser Load (7.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["afea9cb4-5147-43a3-ba13-73ca80a1030d", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$61MJT9GK3hu8DF3qEz.Bw.C5/61wTiFLnQhSMYpQ7N4...", created_at: "2018-01-04 15:12:06", updated_at: "2018-01-04 15:12:06", confirmed_at: "2017-12-28 15:12:06">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 3b05d482-3db0-4c5d-8f1e-15484197d3eb) to Async(loco) with arguments: "afea9cb4-5147-43a3-ba13-73ca80a1030d", {:loco=>{:uuid=>"afea9cb4-5147-43a3-ba13-73ca80a1030d"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:afea9cb4-5147-43a3-ba13-73ca80a1030d
+[ActiveJob] [Loco::SenderJob] [3b05d482-3db0-4c5d-8f1e-15484197d3eb] Performing Loco::SenderJob (Job ID: 3b05d482-3db0-4c5d-8f1e-15484197d3eb) from Async(loco) with arguments: "afea9cb4-5147-43a3-ba13-73ca80a1030d", {:loco=>{:uuid=>"afea9cb4-5147-43a3-ba13-73ca80a1030d"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 02131dd9-92ab-438f-bdd7-53aa0fc0057c) to Async(loco) with arguments: #<GlobalID:0x00007f9521c49718 @uri=#<URI::GID gid://dummy/User/872278135>>, "afea9cb4-5147-43a3-ba13-73ca80a1030d", "add"
+[ActiveJob] [Loco::SenderJob] [3b05d482-3db0-4c5d-8f1e-15484197d3eb] [ActionCable] Broadcasting to loco:notification_center:afea9cb4-5147-43a3-ba13-73ca80a1030d: {:loco=>{:uuid=>"afea9cb4-5147-43a3-ba13-73ca80a1030d"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [3b05d482-3db0-4c5d-8f1e-15484197d3eb] Performed Loco::SenderJob (Job ID: 3b05d482-3db0-4c5d-8f1e-15484197d3eb) from Async(loco) in 0.94ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"afea9cb4-5147-43a3-ba13-73ca80a1030d"}} (via streamed from loco:notification_center:afea9cb4-5147-43a3-ba13-73ca80a1030d)
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [02131dd9-92ab-438f-bdd7-53aa0fc0057c] Performing Loco::UuidJob (Job ID: 02131dd9-92ab-438f-bdd7-53aa0fc0057c) from Async(loco) with arguments: #<GlobalID:0x00007f952117b390 @uri=#<URI::GID gid://dummy/User/872278135>>, "afea9cb4-5147-43a3-ba13-73ca80a1030d", "add"
+[ActiveJob] [Loco::UuidJob] [02131dd9-92ab-438f-bdd7-53aa0fc0057c] Performed Loco::UuidJob (Job ID: 02131dd9-92ab-438f-bdd7-53aa0fc0057c) from Async(loco) in 0.42ms
+ [1m[36mArticle Load (10.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mArticle Load (1.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mUser Load (3.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (3.6ms)
+ Rendered main/articles/index.json.jbuilder (20.3ms)
+Completed 200 OK in 37ms (Views: 6.4ms | ActiveRecord: 22.8ms)
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+Processing by Main::ArticlesController#show as HTML
+ Parameters: {"id"=>"980190962"}
+ Rendering main/articles/show.html.erb within layouts/application
+ Rendered main/articles/show.html.erb within layouts/application (1.5ms)
+ Rendered layouts/_head.html.erb (1.3ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+Processing by Main::ArticlesController#show as JSON
+Started GET "/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:06 +0100
+Processing by Main::CommentsController#index as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mArticle Load (3.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendering main/comments/index.json.jbuilder
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering main/articles/show.json.jbuilder
+ [1m[36mComment Load (2.2ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered main/comments/index.json.jbuilder (2.9ms)
+Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 3.7ms)
+ [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article.json.jbuilder (2.3ms)
+ Rendered main/articles/show.json.jbuilder (2.7ms)
+Completed 200 OK in 15ms (Views: 2.1ms | ActiveRecord: 6.5ms)
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 980190962, '2018-01-04 15:12:07.003899', '2018-01-04 15:12:07.003899', 0, 0, 3)[0m
+ [1m[35m (10.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:12:07.018491', '2018-01-04 15:12:07.018491')[0m
+ [1m[35m (7.7ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [4c67875f-db11-43a2-8f0e-3dbebacbf788] Performing Loco::SenderJob (Job ID: 4c67875f-db11-43a2-8f0e-3dbebacbf788) from Async(loco) with arguments: "afea9cb4-5147-43a3-ba13-73ca80a1030d", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 4c67875f-db11-43a2-8f0e-3dbebacbf788) to Async(loco) with arguments: "afea9cb4-5147-43a3-ba13-73ca80a1030d", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [4c67875f-db11-43a2-8f0e-3dbebacbf788] [ActionCable] Broadcasting to loco:notification_center:afea9cb4-5147-43a3-ba13-73ca80a1030d: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [4c67875f-db11-43a2-8f0e-3dbebacbf788] Performed Loco::SenderJob (Job ID: 4c67875f-db11-43a2-8f0e-3dbebacbf788) from Async(loco) in 0.63ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:afea9cb4-5147-43a3-ba13-73ca80a1030d)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A06.914359Z&uuid=afea9cb4-5147-43a3-ba13-73ca80a1030d" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:06.914359Z", "uuid"=>"afea9cb4-5147-43a3-ba13-73ca80a1030d"}
+ [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:06.914359') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (0.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:06.914359') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.9ms)
+Started GET "/articles/980190962/comments/1" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Processing by Main::CommentsController#show as JSON
+ Parameters: {"article_id"=>"980190962", "id"=>"1", "comment"=>{}}
+ [1m[36mComment Load (1.3ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering main/comments/show.json.jbuilder
+ Rendered main/comments/_comment.json.jbuilder (0.2ms)
+ Rendered main/comments/show.json.jbuilder (0.6ms)
+Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 1.3ms)
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (0.9ms)[0m [1m[31mDELETE FROM `comments` WHERE `comments`.`id` = 1[0m
+ [1m[35m (10.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'destroyed', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:12:07.163557', '2018-01-04 15:12:07.163557')[0m
+ [1m[35m (12.0ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [75dcb3c5-d6eb-4213-895a-2c4859b00d4c] Performing Loco::SenderJob (Job ID: 75dcb3c5-d6eb-4213-895a-2c4859b00d4c) from Async(loco) with arguments: "afea9cb4-5147-43a3-ba13-73ca80a1030d", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 75dcb3c5-d6eb-4213-895a-2c4859b00d4c) to Async(loco) with arguments: "afea9cb4-5147-43a3-ba13-73ca80a1030d", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [75dcb3c5-d6eb-4213-895a-2c4859b00d4c] [ActionCable] Broadcasting to loco:notification_center:afea9cb4-5147-43a3-ba13-73ca80a1030d: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [75dcb3c5-d6eb-4213-895a-2c4859b00d4c] Performed Loco::SenderJob (Job ID: 75dcb3c5-d6eb-4213-895a-2c4859b00d4c) from Async(loco) in 0.66ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:afea9cb4-5147-43a3-ba13-73ca80a1030d)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A07.040163Z&uuid=afea9cb4-5147-43a3-ba13-73ca80a1030d" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:07.040163Z", "uuid"=>"afea9cb4-5147-43a3-ba13-73ca80a1030d"}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:07.040163') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (0.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:07.040163') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.7ms)
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (58.1ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (43.5ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (50.2ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (32.3ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (49.1ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (38.2ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (46.7ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (41.4ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$3FJEYK3/OXbkzx8vUyldEe5PclrQRBEsxpDaUC.T0GSPU0lvesyTy', '2018-01-04 15:12:07.581079', '2018-01-04 15:12:07.581079', 980190962)[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$5TjJGleOv/Rf42ORlxG3GuGjgEKalB7REV8Rm7RqU7BQNu8/3SCZq', '2018-01-04 15:12:07.581079', '2018-01-04 15:12:07.581079', 298486374)[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$zs6fop6StdELgUlTub.OHe4Szk6ecxpwwju/BwwepkqV8pDSGDojS', '2017-12-28 15:12:07', '2018-01-04 15:12:07.585316', '2018-01-04 15:12:07.585316', 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$Tmym2arhaHPsWGo3f.n12uQF0LcOVTndk2mP65MFST4BjkSwJselu', '2018-01-04 15:12:07.585316', '2018-01-04 15:12:07.585316', 15595101)[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:07', '2018-01-04 15:12:07.589607', '2018-01-04 15:12:07.589607', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:07.589607', '2018-01-04 15:12:07.589607', 298486374, 872278135)[0m
+ [1m[35m (7.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------------------------------------
+Main::ArticlePageTest: test_should_auto_remove_recently_deleted_comment_by_user
+-------------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (2.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 0029a46a-60c4-4f8d-bd86-547531c54d75) to Async(loco) with arguments: #<GlobalID:0x00007f9521c49718 @uri=#<URI::GID gid://dummy/User/872278135>>, "afea9cb4-5147-43a3-ba13-73ca80a1030d", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:afea9cb4-5147-43a3-ba13-73ca80a1030d
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [0029a46a-60c4-4f8d-bd86-547531c54d75] Performing Loco::UuidJob (Job ID: 0029a46a-60c4-4f8d-bd86-547531c54d75) from Async(loco) with arguments: #<GlobalID:0x00007f9521d1ecb0 @uri=#<URI::GID gid://dummy/User/872278135>>, "afea9cb4-5147-43a3-ba13-73ca80a1030d", "del"
+[ActiveJob] [Loco::UuidJob] [0029a46a-60c4-4f8d-bd86-547531c54d75] Performed Loco::UuidJob (Job ID: 0029a46a-60c4-4f8d-bd86-547531c54d75) from Async(loco) in 0.23ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Processing by Main::ArticlesController#index as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ Parameters: {"page"=>"1", "article"=>{}}
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (0.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (3.4ms)
+ Rendered main/articles/index.json.jbuilder (9.9ms)
+Completed 200 OK in 15ms (Views: 4.9ms | ActiveRecord: 7.1ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (8.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["4f994a82-35d2-4f2f-8f28-2b53e6d0330b", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$zs6fop6StdELgUlTub.OHe4Szk6ecxpwwju/Bwwepkq...", created_at: "2018-01-04 15:12:07", updated_at: "2018-01-04 15:12:07", confirmed_at: "2017-12-28 15:12:07">, nil])
+ [1m[36mArticle Load (1.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: f48d9ba9-76bc-4bd4-9dd8-2a489670ba0d) to Async(loco) with arguments: "4f994a82-35d2-4f2f-8f28-2b53e6d0330b", {:loco=>{:uuid=>"4f994a82-35d2-4f2f-8f28-2b53e6d0330b"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 1ad93bc9-ae4e-4e01-b905-07b356cd9ac8) to Async(loco) with arguments: #<GlobalID:0x00007f9523136ea0 @uri=#<URI::GID gid://dummy/User/872278135>>, "4f994a82-35d2-4f2f-8f28-2b53e6d0330b", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:4f994a82-35d2-4f2f-8f28-2b53e6d0330b
+[ActiveJob] [Loco::SenderJob] [f48d9ba9-76bc-4bd4-9dd8-2a489670ba0d] Performing Loco::SenderJob (Job ID: f48d9ba9-76bc-4bd4-9dd8-2a489670ba0d) from Async(loco) with arguments: "4f994a82-35d2-4f2f-8f28-2b53e6d0330b", {:loco=>{:uuid=>"4f994a82-35d2-4f2f-8f28-2b53e6d0330b"}}
+[ActiveJob] [Loco::SenderJob] [f48d9ba9-76bc-4bd4-9dd8-2a489670ba0d] [ActionCable] Broadcasting to loco:notification_center:4f994a82-35d2-4f2f-8f28-2b53e6d0330b: {:loco=>{:uuid=>"4f994a82-35d2-4f2f-8f28-2b53e6d0330b"}}
+[ActiveJob] [Loco::SenderJob] [f48d9ba9-76bc-4bd4-9dd8-2a489670ba0d] Performed Loco::SenderJob (Job ID: f48d9ba9-76bc-4bd4-9dd8-2a489670ba0d) from Async(loco) in 0.24ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"4f994a82-35d2-4f2f-8f28-2b53e6d0330b"}} (via streamed from loco:notification_center:4f994a82-35d2-4f2f-8f28-2b53e6d0330b)
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [1ad93bc9-ae4e-4e01-b905-07b356cd9ac8] Performing Loco::UuidJob (Job ID: 1ad93bc9-ae4e-4e01-b905-07b356cd9ac8) from Async(loco) with arguments: #<GlobalID:0x00007f952313ff78 @uri=#<URI::GID gid://dummy/User/872278135>>, "4f994a82-35d2-4f2f-8f28-2b53e6d0330b", "add"
+[ActiveJob] [Loco::UuidJob] [1ad93bc9-ae4e-4e01-b905-07b356cd9ac8] Performed Loco::UuidJob (Job ID: 1ad93bc9-ae4e-4e01-b905-07b356cd9ac8) from Async(loco) in 0.44ms
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Processing by Main::ArticlesController#show as HTML
+ Parameters: {"id"=>"980190962"}
+ Rendering main/articles/show.html.erb within layouts/application
+ Rendered main/articles/show.html.erb within layouts/application (1.1ms)
+ Rendered layouts/_head.html.erb (0.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Started GET "/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Processing by Main::ArticlesController#show as JSON
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Processing by Main::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (4.4ms)[0m [1m[35mBEGIN[0m
+ [1m[36mArticle Load (4.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35mSQL (2.1ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 980190962, '2018-01-04 15:12:07.806314', '2018-01-04 15:12:07.806314', 0, 0, 3)[0m
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering main/articles/show.json.jbuilder
+ [1m[35m (6.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendering main/comments/index.json.jbuilder
+ [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article.json.jbuilder (6.1ms)
+ Rendered main/articles/show.json.jbuilder (6.6ms)
+Completed 200 OK in 22ms (Views: 5.4ms | ActiveRecord: 8.4ms)
+ [1m[36mComment Load (2.2ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered main/comments/_comment.json.jbuilder (0.5ms)
+ Rendered main/comments/index.json.jbuilder (7.6ms)
+ [1m[35m (15.6ms)[0m [1m[35mCOMMIT[0m
+Completed 200 OK in 26ms (Views: 9.4ms | ActiveRecord: 8.4ms)
+ [1m[35m (2.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:12:07.829654', '2018-01-04 15:12:07.829654')[0m
+ [1m[35m (10.7ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 16a85ac1-7227-4265-bfd3-cae58190cf96) to Async(loco) with arguments: "4f994a82-35d2-4f2f-8f28-2b53e6d0330b", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [16a85ac1-7227-4265-bfd3-cae58190cf96] Performing Loco::SenderJob (Job ID: 16a85ac1-7227-4265-bfd3-cae58190cf96) from Async(loco) with arguments: "4f994a82-35d2-4f2f-8f28-2b53e6d0330b", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [16a85ac1-7227-4265-bfd3-cae58190cf96] [ActionCable] Broadcasting to loco:notification_center:4f994a82-35d2-4f2f-8f28-2b53e6d0330b: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [16a85ac1-7227-4265-bfd3-cae58190cf96] Performed Loco::SenderJob (Job ID: 16a85ac1-7227-4265-bfd3-cae58190cf96) from Async(loco) in 0.44ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:4f994a82-35d2-4f2f-8f28-2b53e6d0330b)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A07.802202Z&uuid=4f994a82-35d2-4f2f-8f28-2b53e6d0330b" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:07.802202Z", "uuid"=>"4f994a82-35d2-4f2f-8f28-2b53e6d0330b"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:07.802202') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:07.802202') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 5.1ms)
+Started GET "/articles/980190962/comments/1" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Processing by Main::CommentsController#show as JSON
+ Parameters: {"article_id"=>"980190962", "id"=>"1", "comment"=>{}}
+ [1m[36mComment Load (0.9ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering main/comments/show.json.jbuilder
+ Rendered main/comments/_comment.json.jbuilder (0.2ms)
+ Rendered main/comments/show.json.jbuilder (0.5ms)
+Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.9ms)
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (3.6ms)[0m [1m[31mDELETE FROM `comments` WHERE `comments`.`id` = 1[0m
+ [1m[35m (12.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'destroyed', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:12:07.915794', '2018-01-04 15:12:07.915794')[0m
+ [1m[35m (9.9ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [7a135d1a-0885-4717-ab6d-08c9a1f8e9dd] Performing Loco::SenderJob (Job ID: 7a135d1a-0885-4717-ab6d-08c9a1f8e9dd) from Async(loco) with arguments: "4f994a82-35d2-4f2f-8f28-2b53e6d0330b", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 7a135d1a-0885-4717-ab6d-08c9a1f8e9dd) to Async(loco) with arguments: "4f994a82-35d2-4f2f-8f28-2b53e6d0330b", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [7a135d1a-0885-4717-ab6d-08c9a1f8e9dd] [ActionCable] Broadcasting to loco:notification_center:4f994a82-35d2-4f2f-8f28-2b53e6d0330b: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [7a135d1a-0885-4717-ab6d-08c9a1f8e9dd] Performed Loco::SenderJob (Job ID: 7a135d1a-0885-4717-ab6d-08c9a1f8e9dd) from Async(loco) in 0.29ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:4f994a82-35d2-4f2f-8f28-2b53e6d0330b)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A07.860013Z&uuid=4f994a82-35d2-4f2f-8f28-2b53e6d0330b" for 127.0.0.1 at 2018-01-04 16:12:07 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:07.860013Z", "uuid"=>"4f994a82-35d2-4f2f-8f28-2b53e6d0330b"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:07.860013') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (0.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:07.860013') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.1ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A07.941571Z&uuid=4f994a82-35d2-4f2f-8f28-2b53e6d0330b" for 127.0.0.1 at 2018-01-04 16:12:08 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:07.941571Z", "uuid"=>"4f994a82-35d2-4f2f-8f28-2b53e6d0330b"}
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:07.941571') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:07.941571') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 4.1ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A08.670519Z&uuid=4f994a82-35d2-4f2f-8f28-2b53e6d0330b" for 127.0.0.1 at 2018-01-04 16:12:09 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:08.670519Z", "uuid"=>"4f994a82-35d2-4f2f-8f28-2b53e6d0330b"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:08.670519') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:08.670519') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 5.5ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A09.668519Z&uuid=4f994a82-35d2-4f2f-8f28-2b53e6d0330b" for 127.0.0.1 at 2018-01-04 16:12:10 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:09.668519Z", "uuid"=>"4f994a82-35d2-4f2f-8f28-2b53e6d0330b"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:09.668519') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:09.668519') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 5.8ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A10.670920Z&uuid=4f994a82-35d2-4f2f-8f28-2b53e6d0330b" for 127.0.0.1 at 2018-01-04 16:12:11 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:10.670920Z", "uuid"=>"4f994a82-35d2-4f2f-8f28-2b53e6d0330b"}
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:10.670920') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:10.670920') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.1ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A11.668427Z&uuid=4f994a82-35d2-4f2f-8f28-2b53e6d0330b" for 127.0.0.1 at 2018-01-04 16:12:12 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:11.668427Z", "uuid"=>"4f994a82-35d2-4f2f-8f28-2b53e6d0330b"}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:11.668427') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:11.668427') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 4.8ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A12.668263Z&uuid=4f994a82-35d2-4f2f-8f28-2b53e6d0330b" for 127.0.0.1 at 2018-01-04 16:12:13 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:12.668263Z", "uuid"=>"4f994a82-35d2-4f2f-8f28-2b53e6d0330b"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:12.668263') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:12.668263') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.0ms)
+ [1m[35m (1.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (51.3ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (40.9ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (47.5ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (39.3ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (53.3ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (39.4ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (56.0ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (43.9ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$khsJSCvj2OI7GFAmTKsHUONRIicZEFLJtNGCI9aUeheWc1dSxaMeK', '2018-01-04 15:12:14.416437', '2018-01-04 15:12:14.416437', 980190962)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$JRPKoGgaZhraAymr8O1V5.GKn/sb2NbRFTwA0X9CNBiafqrLd1BOi', '2018-01-04 15:12:14.416437', '2018-01-04 15:12:14.416437', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$Zxd52.2kVq4DzOBbIiaSRe9VpqNvDDONg5vKn.Sg9gHhuzPyQNCnq', '2017-12-28 15:12:14', '2018-01-04 15:12:14.421681', '2018-01-04 15:12:14.421681', 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$vzUHmlKuzMFWmB8NJ8BlWOvcV9vFlJl434rfzHHZu1M9lhS/Sjp4.', '2018-01-04 15:12:14.421681', '2018-01-04 15:12:14.421681', 15595101)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:14', '2018-01-04 15:12:14.427142', '2018-01-04 15:12:14.427142', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:14.427142', '2018-01-04 15:12:14.427142', 298486374, 872278135)[0m
+ [1m[35m (10.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------------
+Main::ArticlePageTest: test_should_go_to_article's_page
+-------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:14 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.4ms)
+ Rendered layouts/_head.html.erb (4.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:14 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 734e8308-f313-46d3-bcb9-9cca7493fe51) to Async(loco) with arguments: #<GlobalID:0x00007f9523136ea0 @uri=#<URI::GID gid://dummy/User/872278135>>, "4f994a82-35d2-4f2f-8f28-2b53e6d0330b", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:4f994a82-35d2-4f2f-8f28-2b53e6d0330b
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:14 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:14 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:14 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (17.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [734e8308-f313-46d3-bcb9-9cca7493fe51] Performing Loco::UuidJob (Job ID: 734e8308-f313-46d3-bcb9-9cca7493fe51) from Async(loco) with arguments: #<GlobalID:0x00007f952302adb8 @uri=#<URI::GID gid://dummy/User/872278135>>, "4f994a82-35d2-4f2f-8f28-2b53e6d0330b", "del"
+[ActiveJob] [Loco::UuidJob] [734e8308-f313-46d3-bcb9-9cca7493fe51] Performed Loco::UuidJob (Job ID: 734e8308-f313-46d3-bcb9-9cca7493fe51) from Async(loco) in 0.27ms
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:14 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:14 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (37.5ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ [1m[36mArticle Load (5.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mUser Load (5.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (3.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mAdmin Load (5.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["935e7f75-44e7-4e3f-bf98-898809df45db", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$Zxd52.2kVq4DzOBbIiaSRe9VpqNvDDONg5vKn.Sg9gH...", created_at: "2018-01-04 15:12:14", updated_at: "2018-01-04 15:12:14", confirmed_at: "2017-12-28 15:12:14">, nil])
+ [1m[36mUser Load (3.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (4.8ms)
+ Rendered main/articles/index.json.jbuilder (16.2ms)
+Completed 200 OK in 70ms (Views: 9.9ms | ActiveRecord: 46.8ms)
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 085a09e5-5e3f-478b-a69d-a3de6ded89b9) to Async(loco) with arguments: "935e7f75-44e7-4e3f-bf98-898809df45db", {:loco=>{:uuid=>"935e7f75-44e7-4e3f-bf98-898809df45db"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 063bb57d-61b3-4e9c-b9b6-1a24f5fb8d45) to Async(loco) with arguments: #<GlobalID:0x00007f9521c02610 @uri=#<URI::GID gid://dummy/User/872278135>>, "935e7f75-44e7-4e3f-bf98-898809df45db", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:935e7f75-44e7-4e3f-bf98-898809df45db
+[ActiveJob] [Loco::SenderJob] [085a09e5-5e3f-478b-a69d-a3de6ded89b9] Performing Loco::SenderJob (Job ID: 085a09e5-5e3f-478b-a69d-a3de6ded89b9) from Async(loco) with arguments: "935e7f75-44e7-4e3f-bf98-898809df45db", {:loco=>{:uuid=>"935e7f75-44e7-4e3f-bf98-898809df45db"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::SenderJob] [085a09e5-5e3f-478b-a69d-a3de6ded89b9] [ActionCable] Broadcasting to loco:notification_center:935e7f75-44e7-4e3f-bf98-898809df45db: {:loco=>{:uuid=>"935e7f75-44e7-4e3f-bf98-898809df45db"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [085a09e5-5e3f-478b-a69d-a3de6ded89b9] Performed Loco::SenderJob (Job ID: 085a09e5-5e3f-478b-a69d-a3de6ded89b9) from Async(loco) in 0.92ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"935e7f75-44e7-4e3f-bf98-898809df45db"}} (via streamed from loco:notification_center:935e7f75-44e7-4e3f-bf98-898809df45db)
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [063bb57d-61b3-4e9c-b9b6-1a24f5fb8d45] Performing Loco::UuidJob (Job ID: 063bb57d-61b3-4e9c-b9b6-1a24f5fb8d45) from Async(loco) with arguments: #<GlobalID:0x00007f9521be70b8 @uri=#<URI::GID gid://dummy/User/872278135>>, "935e7f75-44e7-4e3f-bf98-898809df45db", "add"
+[ActiveJob] [Loco::UuidJob] [063bb57d-61b3-4e9c-b9b6-1a24f5fb8d45] Performed Loco::UuidJob (Job ID: 063bb57d-61b3-4e9c-b9b6-1a24f5fb8d45) from Async(loco) in 1.03ms
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:14 +0100
+Processing by Main::ArticlesController#show as HTML
+ Parameters: {"id"=>"980190962"}
+ Rendering main/articles/show.html.erb within layouts/application
+ Rendered main/articles/show.html.erb within layouts/application (2.1ms)
+ Rendered layouts/_head.html.erb (1.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:14 +0100
+Started GET "/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:14 +0100
+Processing by Main::CommentsController#index as JSON
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:14 +0100
+Processing by Main::ArticlesController#show as JSON
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (9.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ [1m[36mArticle Load (9.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 980190962 LIMIT 1[0m
+ Rendering main/comments/index.json.jbuilder
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering main/articles/show.json.jbuilder
+ [1m[36mComment Load (2.4ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered main/comments/index.json.jbuilder (6.3ms)
+Completed 200 OK in 24ms (Views: 6.3ms | ActiveRecord: 12.3ms)
+ [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article.json.jbuilder (4.7ms)
+ Rendered main/articles/show.json.jbuilder (6.6ms)
+Completed 200 OK in 25ms (Views: 5.9ms | ActiveRecord: 12.7ms)
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (52.2ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (43.8ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (54.6ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (43.9ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (53.0ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (37.0ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (50.1ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (40.4ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.5ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$AKC1QlgWjJjpQB/gOydBfuz52BRfAZhwcQRlOdvWCniHI.c/rY/Wu', '2018-01-04 15:12:15.258070', '2018-01-04 15:12:15.258070', 980190962)[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$npD/RDNsCCk7pnxf5CbOhe1g2AAiRVLR43uIbOe5vgEKRmZ6hgIUi', '2018-01-04 15:12:15.258070', '2018-01-04 15:12:15.258070', 298486374)[0m
+ [1m[36mFixture Delete (0.5ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$pzmCvI09VY.gYnNCt2y7KexcUxM1yI1MTlTt1B7wLHXK3EML5TyRm', '2017-12-28 15:12:15', '2018-01-04 15:12:15.262101', '2018-01-04 15:12:15.262101', 872278135)[0m
+ [1m[36mFixture Insert (1.5ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$mDD/iowJu7g9iAOKDiSTMeVnNuL.kq7T480sG6IFax8njb/bUzvUS', '2018-01-04 15:12:15.262101', '2018-01-04 15:12:15.262101', 15595101)[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:15', '2018-01-04 15:12:15.266913', '2018-01-04 15:12:15.266913', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:15.266913', '2018-01-04 15:12:15.266913', 298486374, 872278135)[0m
+ [1m[35m (14.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------------------------------------
+Main::ArticlePageTest: test_should_auto_update_recently_updated_comment_by_user
+-------------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.4ms)
+ Rendered layouts/_head.html.erb (1.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 7dd7e495-c46c-47b1-b0cd-8519fa859474) to Async(loco) with arguments: #<GlobalID:0x00007f9521c02610 @uri=#<URI::GID gid://dummy/User/872278135>>, "935e7f75-44e7-4e3f-bf98-898809df45db", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:935e7f75-44e7-4e3f-bf98-898809df45db
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [7dd7e495-c46c-47b1-b0cd-8519fa859474] Performing Loco::UuidJob (Job ID: 7dd7e495-c46c-47b1-b0cd-8519fa859474) from Async(loco) with arguments: #<GlobalID:0x00007f9521713618 @uri=#<URI::GID gid://dummy/User/872278135>>, "935e7f75-44e7-4e3f-bf98-898809df45db", "del"
+[ActiveJob] [Loco::UuidJob] [7dd7e495-c46c-47b1-b0cd-8519fa859474] Performed Loco::UuidJob (Job ID: 7dd7e495-c46c-47b1-b0cd-8519fa859474) from Async(loco) in 0.28ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Processing by Main::ArticlesController#index as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ Parameters: {"page"=>"1", "article"=>{}}
+Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (2.8ms)
+ Rendered main/articles/index.json.jbuilder (8.6ms)
+Completed 200 OK in 16ms (Views: 5.7ms | ActiveRecord: 6.4ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (0.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["57c5be8b-69bf-4a20-a391-8ed35186b22e", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$pzmCvI09VY.gYnNCt2y7KexcUxM1yI1MTlTt1B7wLHX...", created_at: "2018-01-04 15:12:15", updated_at: "2018-01-04 15:12:15", confirmed_at: "2017-12-28 15:12:15">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: d26fac83-8fb3-4e4a-987c-48f8389e7a8b) to Async(loco) with arguments: "57c5be8b-69bf-4a20-a391-8ed35186b22e", {:loco=>{:uuid=>"57c5be8b-69bf-4a20-a391-8ed35186b22e"}}
+[ActiveJob] [Loco::SenderJob] [d26fac83-8fb3-4e4a-987c-48f8389e7a8b] Performing Loco::SenderJob (Job ID: d26fac83-8fb3-4e4a-987c-48f8389e7a8b) from Async(loco) with arguments: "57c5be8b-69bf-4a20-a391-8ed35186b22e", {:loco=>{:uuid=>"57c5be8b-69bf-4a20-a391-8ed35186b22e"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 83746e8b-b139-4f4e-b4dc-ece67c201b0f) to Async(loco) with arguments: #<GlobalID:0x00007f951cce9808 @uri=#<URI::GID gid://dummy/User/872278135>>, "57c5be8b-69bf-4a20-a391-8ed35186b22e", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:57c5be8b-69bf-4a20-a391-8ed35186b22e
+[ActiveJob] [Loco::SenderJob] [d26fac83-8fb3-4e4a-987c-48f8389e7a8b] [ActionCable] Broadcasting to loco:notification_center:57c5be8b-69bf-4a20-a391-8ed35186b22e: {:loco=>{:uuid=>"57c5be8b-69bf-4a20-a391-8ed35186b22e"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [d26fac83-8fb3-4e4a-987c-48f8389e7a8b] Performed Loco::SenderJob (Job ID: d26fac83-8fb3-4e4a-987c-48f8389e7a8b) from Async(loco) in 1.35ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"57c5be8b-69bf-4a20-a391-8ed35186b22e"}} (via streamed from loco:notification_center:57c5be8b-69bf-4a20-a391-8ed35186b22e)
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [83746e8b-b139-4f4e-b4dc-ece67c201b0f] Performing Loco::UuidJob (Job ID: 83746e8b-b139-4f4e-b4dc-ece67c201b0f) from Async(loco) with arguments: #<GlobalID:0x00007f951d565450 @uri=#<URI::GID gid://dummy/User/872278135>>, "57c5be8b-69bf-4a20-a391-8ed35186b22e", "add"
+[ActiveJob] [Loco::UuidJob] [83746e8b-b139-4f4e-b4dc-ece67c201b0f] Performed Loco::UuidJob (Job ID: 83746e8b-b139-4f4e-b4dc-ece67c201b0f) from Async(loco) in 0.49ms
+ [1m[36mArticle Load (1.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Processing by Main::ArticlesController#show as HTML
+ Parameters: {"id"=>"980190962"}
+ Rendering main/articles/show.html.erb within layouts/application
+ Rendered main/articles/show.html.erb within layouts/application (2.0ms)
+ Rendered layouts/_head.html.erb (1.3ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 980190962, '2018-01-04 15:12:15.537552', '2018-01-04 15:12:15.537552', 0, 0, 3)[0m
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Started GET "/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Processing by Main::ArticlesController#show as JSON
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Processing by Main::CommentsController#index as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ [1m[35m (17.4ms)[0m [1m[35mCOMMIT[0m
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mArticle Load (10.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (7.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendering main/comments/index.json.jbuilder
+ [1m[35mSQL (9.2ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:12:15.564094', '2018-01-04 15:12:15.564094')[0m
+ [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering main/articles/show.json.jbuilder
+ [1m[36mComment Load (5.2ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered main/comments/_comment.json.jbuilder (0.3ms)
+ Rendered main/comments/index.json.jbuilder (7.2ms)
+ [1m[35m (4.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+Completed 200 OK in 26ms (Views: 8.2ms | ActiveRecord: 12.2ms)
+ Rendered main/articles/_article.json.jbuilder (9.5ms)
+ Rendered main/articles/show.json.jbuilder (14.6ms)
+Completed 200 OK in 36ms (Views: 10.9ms | ActiveRecord: 17.9ms)
+ [1m[35m (17.6ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 02d4e408-d84c-4b90-9f05-7965d56ceff9) to Async(loco) with arguments: "57c5be8b-69bf-4a20-a391-8ed35186b22e", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [02d4e408-d84c-4b90-9f05-7965d56ceff9] Performing Loco::SenderJob (Job ID: 02d4e408-d84c-4b90-9f05-7965d56ceff9) from Async(loco) with arguments: "57c5be8b-69bf-4a20-a391-8ed35186b22e", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [02d4e408-d84c-4b90-9f05-7965d56ceff9] [ActionCable] Broadcasting to loco:notification_center:57c5be8b-69bf-4a20-a391-8ed35186b22e: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [02d4e408-d84c-4b90-9f05-7965d56ceff9] Performed Loco::SenderJob (Job ID: 02d4e408-d84c-4b90-9f05-7965d56ceff9) from Async(loco) in 0.31ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:57c5be8b-69bf-4a20-a391-8ed35186b22e)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A15.559460Z&uuid=57c5be8b-69bf-4a20-a391-8ed35186b22e" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:15.559460Z", "uuid"=>"57c5be8b-69bf-4a20-a391-8ed35186b22e"}
+ [1m[36mUser Load (3.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Processing by Main::ArticlesController#show as HTML
+ Parameters: {"id"=>"980190962"}
+ Rendering main/articles/show.html.erb within layouts/application
+ Rendered main/articles/show.html.erb within layouts/application (2.3ms)
+ Rendered layouts/_head.html.erb (1.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms)
+ [1m[36mLoco::Notification Load (15.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:15.559460') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:15.559460') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 28ms (Views: 0.7ms | ActiveRecord: 19.9ms)
+Started GET "/articles/980190962/comments/1" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Processing by Main::CommentsController#show as JSON
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 85ca0991-b640-4eb7-89fc-92b0c2dd073b) to Async(loco) with arguments: #<GlobalID:0x00007f951cce9808 @uri=#<URI::GID gid://dummy/User/872278135>>, "57c5be8b-69bf-4a20-a391-8ed35186b22e", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:57c5be8b-69bf-4a20-a391-8ed35186b22e
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ Parameters: {"article_id"=>"980190962", "id"=>"1", "comment"=>{}}
+ [1m[36mUser Load (4.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [85ca0991-b640-4eb7-89fc-92b0c2dd073b] Performing Loco::UuidJob (Job ID: 85ca0991-b640-4eb7-89fc-92b0c2dd073b) from Async(loco) with arguments: #<GlobalID:0x00007f95214aac00 @uri=#<URI::GID gid://dummy/User/872278135>>, "57c5be8b-69bf-4a20-a391-8ed35186b22e", "del"
+[ActiveJob] [Loco::UuidJob] [85ca0991-b640-4eb7-89fc-92b0c2dd073b] Performed Loco::UuidJob (Job ID: 85ca0991-b640-4eb7-89fc-92b0c2dd073b) from Async(loco) in 0.22ms
+ [1m[36mComment Load (3.4ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering main/comments/show.json.jbuilder
+ Rendered main/comments/_comment.json.jbuilder (0.8ms)
+ Rendered main/comments/show.json.jbuilder (2.3ms)
+Completed 200 OK in 14ms (Views: 3.2ms | ActiveRecord: 3.4ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Processing by Main::ArticlesController#show as JSON
+Started GET "/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Processing by Main::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendering main/comments/index.json.jbuilder
+ [1m[36mArticle Load (3.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mComment Load (2.1ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered main/comments/_comment.json.jbuilder (0.2ms)
+ Rendered main/comments/index.json.jbuilder (4.1ms)
+Completed 200 OK in 14ms (Views: 2.9ms | ActiveRecord: 3.9ms)
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering main/articles/show.json.jbuilder
+ [1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article.json.jbuilder (5.1ms)
+ Rendered main/articles/show.json.jbuilder (7.2ms)
+Completed 200 OK in 28ms (Views: 5.6ms | ActiveRecord: 9.1ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:15 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["620b72ff-9d25-42bc-9b2b-287b6cfbd353", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$pzmCvI09VY.gYnNCt2y7KexcUxM1yI1MTlTt1B7wLHX...", created_at: "2018-01-04 15:12:15", updated_at: "2018-01-04 15:12:15", confirmed_at: "2017-12-28 15:12:15">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: e6a84728-ca7c-48b5-842f-b18e91a71c66) to Async(loco) with arguments: "620b72ff-9d25-42bc-9b2b-287b6cfbd353", {:loco=>{:uuid=>"620b72ff-9d25-42bc-9b2b-287b6cfbd353"}}
+[ActiveJob] [Loco::SenderJob] [e6a84728-ca7c-48b5-842f-b18e91a71c66] Performing Loco::SenderJob (Job ID: e6a84728-ca7c-48b5-842f-b18e91a71c66) from Async(loco) with arguments: "620b72ff-9d25-42bc-9b2b-287b6cfbd353", {:loco=>{:uuid=>"620b72ff-9d25-42bc-9b2b-287b6cfbd353"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: b95eade1-a491-4cdb-ac38-32a7cc1d78d6) to Async(loco) with arguments: #<GlobalID:0x00007f952195a9a8 @uri=#<URI::GID gid://dummy/User/872278135>>, "620b72ff-9d25-42bc-9b2b-287b6cfbd353", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:620b72ff-9d25-42bc-9b2b-287b6cfbd353
+[ActiveJob] [Loco::SenderJob] [e6a84728-ca7c-48b5-842f-b18e91a71c66] [ActionCable] Broadcasting to loco:notification_center:620b72ff-9d25-42bc-9b2b-287b6cfbd353: {:loco=>{:uuid=>"620b72ff-9d25-42bc-9b2b-287b6cfbd353"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [e6a84728-ca7c-48b5-842f-b18e91a71c66] Performed Loco::SenderJob (Job ID: e6a84728-ca7c-48b5-842f-b18e91a71c66) from Async(loco) in 2.82ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"620b72ff-9d25-42bc-9b2b-287b6cfbd353"}} (via streamed from loco:notification_center:620b72ff-9d25-42bc-9b2b-287b6cfbd353)
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [b95eade1-a491-4cdb-ac38-32a7cc1d78d6] Performing Loco::UuidJob (Job ID: b95eade1-a491-4cdb-ac38-32a7cc1d78d6) from Async(loco) with arguments: #<GlobalID:0x00007f95213e14e0 @uri=#<URI::GID gid://dummy/User/872278135>>, "620b72ff-9d25-42bc-9b2b-287b6cfbd353", "add"
+[ActiveJob] [Loco::UuidJob] [b95eade1-a491-4cdb-ac38-32a7cc1d78d6] Performed Loco::UuidJob (Job ID: b95eade1-a491-4cdb-ac38-32a7cc1d78d6) from Async(loco) in 0.72ms
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A15.705775Z&uuid=620b72ff-9d25-42bc-9b2b-287b6cfbd353" for 127.0.0.1 at 2018-01-04 16:12:16 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:15.705775Z", "uuid"=>"620b72ff-9d25-42bc-9b2b-287b6cfbd353"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:15.705775') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:15.705775') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 4.3ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A16.721617Z&uuid=620b72ff-9d25-42bc-9b2b-287b6cfbd353" for 127.0.0.1 at 2018-01-04 16:12:17 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:16.721617Z", "uuid"=>"620b72ff-9d25-42bc-9b2b-287b6cfbd353"}
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:16.721617') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:16.721617') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 5.4ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A17.723323Z&uuid=620b72ff-9d25-42bc-9b2b-287b6cfbd353" for 127.0.0.1 at 2018-01-04 16:12:18 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:17.723323Z", "uuid"=>"620b72ff-9d25-42bc-9b2b-287b6cfbd353"}
+ [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (0.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:17.723323') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (0.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:17.723323') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.5ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A18.710783Z&uuid=620b72ff-9d25-42bc-9b2b-287b6cfbd353" for 127.0.0.1 at 2018-01-04 16:12:19 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:18.710783Z", "uuid"=>"620b72ff-9d25-42bc-9b2b-287b6cfbd353"}
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:18.710783') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (7.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:18.710783') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 12.8ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A19.733206Z&uuid=620b72ff-9d25-42bc-9b2b-287b6cfbd353" for 127.0.0.1 at 2018-01-04 16:12:20 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:19.733206Z", "uuid"=>"620b72ff-9d25-42bc-9b2b-287b6cfbd353"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:19.733206') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:19.733206') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 4.5ms)
+ [1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (3.3ms)[0m [1m[33mUPDATE `comments` SET `text` = 'Some nice thoughts dude (edited)', `updated_at` = '2018-01-04 15:12:20.851157' WHERE `comments`.`id` = 1[0m
+ [1m[35m (13.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'updated', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:12:20.872398', '2018-01-04 15:12:20.872398')[0m
+ [1m[35m (10.5ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [d8ed3dd3-78c3-4f63-a4e2-7610b3dea9b4] Performing Loco::SenderJob (Job ID: d8ed3dd3-78c3-4f63-a4e2-7610b3dea9b4) from Async(loco) with arguments: "620b72ff-9d25-42bc-9b2b-287b6cfbd353", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: d8ed3dd3-78c3-4f63-a4e2-7610b3dea9b4) to Async(loco) with arguments: "620b72ff-9d25-42bc-9b2b-287b6cfbd353", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [d8ed3dd3-78c3-4f63-a4e2-7610b3dea9b4] [ActionCable] Broadcasting to loco:notification_center:620b72ff-9d25-42bc-9b2b-287b6cfbd353: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [d8ed3dd3-78c3-4f63-a4e2-7610b3dea9b4] Performed Loco::SenderJob (Job ID: d8ed3dd3-78c3-4f63-a4e2-7610b3dea9b4) from Async(loco) in 0.26ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:620b72ff-9d25-42bc-9b2b-287b6cfbd353)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A20.719259Z&uuid=620b72ff-9d25-42bc-9b2b-287b6cfbd353" for 127.0.0.1 at 2018-01-04 16:12:20 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:20.719259Z", "uuid"=>"620b72ff-9d25-42bc-9b2b-287b6cfbd353"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:20.719259') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:20.719259') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 4.3ms)
+Started GET "/articles/980190962/comments/1" for 127.0.0.1 at 2018-01-04 16:12:20 +0100
+Processing by Main::CommentsController#show as JSON
+ Parameters: {"article_id"=>"980190962", "id"=>"1", "comment"=>{}}
+ [1m[36mComment Load (1.4ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering main/comments/show.json.jbuilder
+ Rendered main/comments/_comment.json.jbuilder (0.2ms)
+ Rendered main/comments/show.json.jbuilder (0.6ms)
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 1.4ms)
+ [1m[35m (1.5ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (43.7ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (54.1ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (49.6ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (56.1ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (38.1ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (55.4ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (52.8ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (52.9ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.5ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$oj6H/XIwT17e5TMgn9tpae6n4l4628f8dnvpwV66.R/KoJ68Ig.Je', '2018-01-04 15:12:21.452223', '2018-01-04 15:12:21.452223', 980190962)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$DLzyzufyXf4YTEnAZgSxvOImsTE5wQ2mp5.EXqBmOEzwP/KbK9v5e', '2018-01-04 15:12:21.452223', '2018-01-04 15:12:21.452223', 298486374)[0m
+ [1m[36mFixture Delete (0.5ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$WSel6eKnylMbt/bVQfaIqOhHsVXbgYq4TCjvy.cp1ibExhmtF3xp2', '2017-12-28 15:12:21', '2018-01-04 15:12:21.457717', '2018-01-04 15:12:21.457717', 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$U.KX0.fwHgM0M.MswdhL3ucncMXdFUsLY1bkESMfDsSPlwgJe/BVm', '2018-01-04 15:12:21.457717', '2018-01-04 15:12:21.457717', 15595101)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:21', '2018-01-04 15:12:21.462681', '2018-01-04 15:12:21.462681', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:21.462681', '2018-01-04 15:12:21.462681', 298486374, 872278135)[0m
+ [1m[35m (8.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+--------------------------------------------------------------------------
+Main::ArticlePageTest: test_should_auto_update_article's_title_and_content
+--------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:21 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (2.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:21 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: c2cb0190-141c-469e-8780-07fd599e787d) to Async(loco) with arguments: #<GlobalID:0x00007f952195a9a8 @uri=#<URI::GID gid://dummy/User/872278135>>, "620b72ff-9d25-42bc-9b2b-287b6cfbd353", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:620b72ff-9d25-42bc-9b2b-287b6cfbd353
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [c2cb0190-141c-469e-8780-07fd599e787d] Performing Loco::UuidJob (Job ID: c2cb0190-141c-469e-8780-07fd599e787d) from Async(loco) with arguments: #<GlobalID:0x00007f951cf2b120 @uri=#<URI::GID gid://dummy/User/872278135>>, "620b72ff-9d25-42bc-9b2b-287b6cfbd353", "del"
+[ActiveJob] [Loco::UuidJob] [c2cb0190-141c-469e-8780-07fd599e787d] Performed Loco::UuidJob (Job ID: c2cb0190-141c-469e-8780-07fd599e787d) from Async(loco) in 0.2ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:21 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:21 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:21 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:21 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:21 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (9.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (11.2ms)
+ Rendered main/articles/index.json.jbuilder (16.4ms)
+Completed 200 OK in 23ms (Views: 5.3ms | ActiveRecord: 14.0ms)
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["64624a9f-bdc7-4b5f-a8b0-20eadb225f84", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$WSel6eKnylMbt/bVQfaIqOhHsVXbgYq4TCjvy.cp1ib...", created_at: "2018-01-04 15:12:21", updated_at: "2018-01-04 15:12:21", confirmed_at: "2017-12-28 15:12:21">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 8f40d089-a8b1-4a9d-b5c6-348f3eea57c5) to Async(loco) with arguments: "64624a9f-bdc7-4b5f-a8b0-20eadb225f84", {:loco=>{:uuid=>"64624a9f-bdc7-4b5f-a8b0-20eadb225f84"}}
+[ActiveJob] [Loco::SenderJob] [8f40d089-a8b1-4a9d-b5c6-348f3eea57c5] Performing Loco::SenderJob (Job ID: 8f40d089-a8b1-4a9d-b5c6-348f3eea57c5) from Async(loco) with arguments: "64624a9f-bdc7-4b5f-a8b0-20eadb225f84", {:loco=>{:uuid=>"64624a9f-bdc7-4b5f-a8b0-20eadb225f84"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 1796c160-2d92-41de-89b7-4fc4e8b06e4f) to Async(loco) with arguments: #<GlobalID:0x00007f95231b1d08 @uri=#<URI::GID gid://dummy/User/872278135>>, "64624a9f-bdc7-4b5f-a8b0-20eadb225f84", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:64624a9f-bdc7-4b5f-a8b0-20eadb225f84
+[ActiveJob] [Loco::SenderJob] [8f40d089-a8b1-4a9d-b5c6-348f3eea57c5] [ActionCable] Broadcasting to loco:notification_center:64624a9f-bdc7-4b5f-a8b0-20eadb225f84: {:loco=>{:uuid=>"64624a9f-bdc7-4b5f-a8b0-20eadb225f84"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [8f40d089-a8b1-4a9d-b5c6-348f3eea57c5] Performed Loco::SenderJob (Job ID: 8f40d089-a8b1-4a9d-b5c6-348f3eea57c5) from Async(loco) in 1.17ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"64624a9f-bdc7-4b5f-a8b0-20eadb225f84"}} (via streamed from loco:notification_center:64624a9f-bdc7-4b5f-a8b0-20eadb225f84)
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [1796c160-2d92-41de-89b7-4fc4e8b06e4f] Performing Loco::UuidJob (Job ID: 1796c160-2d92-41de-89b7-4fc4e8b06e4f) from Async(loco) with arguments: #<GlobalID:0x00007f9521d81568 @uri=#<URI::GID gid://dummy/User/872278135>>, "64624a9f-bdc7-4b5f-a8b0-20eadb225f84", "add"
+[ActiveJob] [Loco::UuidJob] [1796c160-2d92-41de-89b7-4fc4e8b06e4f] Performed Loco::UuidJob (Job ID: 1796c160-2d92-41de-89b7-4fc4e8b06e4f) from Async(loco) in 0.35ms
+ [1m[36mArticle Load (2.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:21 +0100
+Processing by Main::ArticlesController#show as HTML
+ Parameters: {"id"=>"980190962"}
+ Rendering main/articles/show.html.erb within layouts/application
+ Rendered main/articles/show.html.erb within layouts/application (1.0ms)
+ Rendered layouts/_head.html.erb (0.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
+Started GET "/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:21 +0100
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:21 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:21 +0100
+Processing by Main::CommentsController#index as JSON
+Processing by Main::ArticlesController#show as JSON
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mArticle Load (2.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering main/articles/show.json.jbuilder
+ [1m[35m (2.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendering main/comments/index.json.jbuilder
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article.json.jbuilder (2.8ms)
+ Rendered main/articles/show.json.jbuilder (3.2ms)
+Completed 200 OK in 12ms (Views: 2.3ms | ActiveRecord: 5.1ms)
+ [1m[36mComment Load (5.2ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered main/comments/index.json.jbuilder (6.0ms)
+Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 8.1ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A21.680910Z&uuid=64624a9f-bdc7-4b5f-a8b0-20eadb225f84" for 127.0.0.1 at 2018-01-04 16:12:22 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:21.680910Z", "uuid"=>"64624a9f-bdc7-4b5f-a8b0-20eadb225f84"}
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:21.680910') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:21.680910') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 4.8ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A22.545919Z&uuid=64624a9f-bdc7-4b5f-a8b0-20eadb225f84" for 127.0.0.1 at 2018-01-04 16:12:23 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:22.545919Z", "uuid"=>"64624a9f-bdc7-4b5f-a8b0-20eadb225f84"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:22.545919') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:22.545919') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 4.7ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A23.548939Z&uuid=64624a9f-bdc7-4b5f-a8b0-20eadb225f84" for 127.0.0.1 at 2018-01-04 16:12:24 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:23.548939Z", "uuid"=>"64624a9f-bdc7-4b5f-a8b0-20eadb225f84"}
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:23.548939') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:23.548939') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 6.3ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A24.548300Z&uuid=64624a9f-bdc7-4b5f-a8b0-20eadb225f84" for 127.0.0.1 at 2018-01-04 16:12:25 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:24.548300Z", "uuid"=>"64624a9f-bdc7-4b5f-a8b0-20eadb225f84"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:24.548300') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:24.548300') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.9ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A25.542249Z&uuid=64624a9f-bdc7-4b5f-a8b0-20eadb225f84" for 127.0.0.1 at 2018-01-04 16:12:26 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:25.542249Z", "uuid"=>"64624a9f-bdc7-4b5f-a8b0-20eadb225f84"}
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:25.542249') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:25.542249') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 7.2ms)
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m [1m[33mUPDATE `articles` SET `title` = 'A Guide to Testing Rails Applications (edited)', `text` = 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data. (edited)', `updated_at` = '2018-01-04 15:12:26.755511' WHERE `articles`.`id` = 980190962[0m
+ [1m[35m (13.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Article', 980190962, 'updated', '{\"id\":980190962}', '2018-01-04 15:12:26.774540', '2018-01-04 15:12:26.774540')[0m
+ [1m[35m (10.1ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 07e6dec5-b259-4739-882a-0273c56ae761) to Async(loco) with arguments: "64624a9f-bdc7-4b5f-a8b0-20eadb225f84", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [07e6dec5-b259-4739-882a-0273c56ae761] Performing Loco::SenderJob (Job ID: 07e6dec5-b259-4739-882a-0273c56ae761) from Async(loco) with arguments: "64624a9f-bdc7-4b5f-a8b0-20eadb225f84", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [07e6dec5-b259-4739-882a-0273c56ae761] [ActionCable] Broadcasting to loco:notification_center:64624a9f-bdc7-4b5f-a8b0-20eadb225f84: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [07e6dec5-b259-4739-882a-0273c56ae761] Performed Loco::SenderJob (Job ID: 07e6dec5-b259-4739-882a-0273c56ae761) from Async(loco) in 0.26ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:64624a9f-bdc7-4b5f-a8b0-20eadb225f84)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A26.546772Z&uuid=64624a9f-bdc7-4b5f-a8b0-20eadb225f84" for 127.0.0.1 at 2018-01-04 16:12:26 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:26.546772Z", "uuid"=>"64624a9f-bdc7-4b5f-a8b0-20eadb225f84"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:26.546772') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:26.546772') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 4.0ms)
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:26 +0100
+Processing by Main::ArticlesController#show as JSON
+ Parameters: {"id"=>"980190962", "article"=>{}}
+ [1m[36mArticle Load (1.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering main/articles/show.json.jbuilder
+ [1m[35m (3.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article.json.jbuilder (5.7ms)
+ Rendered main/articles/show.json.jbuilder (6.3ms)
+Completed 200 OK in 15ms (Views: 3.3ms | ActiveRecord: 6.4ms)
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (58.2ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (55.0ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (55.8ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (54.0ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (38.0ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (42.6ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (45.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (46.7ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.6ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$tt/ZpsUR3bbbBSmargBwo.33I/BuREDpfBANz3mJgtBUqb2jdRiXK', '2018-01-04 15:12:27.387058', '2018-01-04 15:12:27.387058', 980190962)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$hgl7OFsxxqYOYGxApDRmHOvGA.HQ68FcsAW7Z/KbfTcoSCnRDxXri', '2018-01-04 15:12:27.387058', '2018-01-04 15:12:27.387058', 298486374)[0m
+ [1m[36mFixture Delete (1.2ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (2.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$mYKPWQC8rhKAoteLAR02KukJm2MGZMBnxdrkuMfjEPhkrAu51ywj6', '2017-12-28 15:12:27', '2018-01-04 15:12:27.394386', '2018-01-04 15:12:27.394386', 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$CA7yzw8UpfzihehmzTmktOYXWGssu7yr3WuGgvNikzRLkpOvOA3yS', '2018-01-04 15:12:27.394386', '2018-01-04 15:12:27.394386', 15595101)[0m
+ [1m[36mFixture Delete (2.5ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:27', '2018-01-04 15:12:27.402251', '2018-01-04 15:12:27.402251', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:27.402251', '2018-01-04 15:12:27.402251', 298486374, 872278135)[0m
+ [1m[35m (11.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------------------------
+Main::ArticlePageTest: test_should_auto_load_recently_added_comment
+-------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:27 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (1.0ms)
+ Rendered layouts/_head.html.erb (2.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:27 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 0b95481d-6190-4e87-9633-4f28f05bba4d) to Async(loco) with arguments: #<GlobalID:0x00007f95231b1d08 @uri=#<URI::GID gid://dummy/User/872278135>>, "64624a9f-bdc7-4b5f-a8b0-20eadb225f84", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:64624a9f-bdc7-4b5f-a8b0-20eadb225f84
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (7.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [0b95481d-6190-4e87-9633-4f28f05bba4d] Performing Loco::UuidJob (Job ID: 0b95481d-6190-4e87-9633-4f28f05bba4d) from Async(loco) with arguments: #<GlobalID:0x00007f95210e1b50 @uri=#<URI::GID gid://dummy/User/872278135>>, "64624a9f-bdc7-4b5f-a8b0-20eadb225f84", "del"
+[ActiveJob] [Loco::UuidJob] [0b95481d-6190-4e87-9633-4f28f05bba4d] Performed Loco::UuidJob (Job ID: 0b95481d-6190-4e87-9633-4f28f05bba4d) from Async(loco) in 0.47ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:27 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:27 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:27 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (4.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (7.2ms)
+ Rendered main/articles/index.json.jbuilder (16.2ms)
+Completed 200 OK in 23ms (Views: 8.0ms | ActiveRecord: 11.4ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:27 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:27 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (3.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["a0696c39-be23-4ab4-98bb-1160cf33081f", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$mYKPWQC8rhKAoteLAR02KukJm2MGZMBnxdrkuMfjEPh...", created_at: "2018-01-04 15:12:27", updated_at: "2018-01-04 15:12:27", confirmed_at: "2017-12-28 15:12:27">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 6729bcf3-14d3-4308-8b02-c6feae7f7de4) to Async(loco) with arguments: "a0696c39-be23-4ab4-98bb-1160cf33081f", {:loco=>{:uuid=>"a0696c39-be23-4ab4-98bb-1160cf33081f"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: f77e664f-9e3c-4369-83d5-7c0b161ecb8f) to Async(loco) with arguments: #<GlobalID:0x00007f952107af18 @uri=#<URI::GID gid://dummy/User/872278135>>, "a0696c39-be23-4ab4-98bb-1160cf33081f", "add"
+[ActiveJob] [Loco::SenderJob] [6729bcf3-14d3-4308-8b02-c6feae7f7de4] Performing Loco::SenderJob (Job ID: 6729bcf3-14d3-4308-8b02-c6feae7f7de4) from Async(loco) with arguments: "a0696c39-be23-4ab4-98bb-1160cf33081f", {:loco=>{:uuid=>"a0696c39-be23-4ab4-98bb-1160cf33081f"}}
+[ActiveJob] [Loco::SenderJob] [6729bcf3-14d3-4308-8b02-c6feae7f7de4] [ActionCable] Broadcasting to loco:notification_center:a0696c39-be23-4ab4-98bb-1160cf33081f: {:loco=>{:uuid=>"a0696c39-be23-4ab4-98bb-1160cf33081f"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:a0696c39-be23-4ab4-98bb-1160cf33081f
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [6729bcf3-14d3-4308-8b02-c6feae7f7de4] Performed Loco::SenderJob (Job ID: 6729bcf3-14d3-4308-8b02-c6feae7f7de4) from Async(loco) in 1.26ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"a0696c39-be23-4ab4-98bb-1160cf33081f"}} (via streamed from loco:notification_center:a0696c39-be23-4ab4-98bb-1160cf33081f)
+ [1m[36mArticle Load (4.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mUser Load (3.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f77e664f-9e3c-4369-83d5-7c0b161ecb8f] Performing Loco::UuidJob (Job ID: f77e664f-9e3c-4369-83d5-7c0b161ecb8f) from Async(loco) with arguments: #<GlobalID:0x00007f952181b970 @uri=#<URI::GID gid://dummy/User/872278135>>, "a0696c39-be23-4ab4-98bb-1160cf33081f", "add"
+[ActiveJob] [Loco::UuidJob] [f77e664f-9e3c-4369-83d5-7c0b161ecb8f] Performed Loco::UuidJob (Job ID: f77e664f-9e3c-4369-83d5-7c0b161ecb8f) from Async(loco) in 0.93ms
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:27 +0100
+Processing by Main::ArticlesController#show as HTML
+ Parameters: {"id"=>"980190962"}
+ Rendering main/articles/show.html.erb within layouts/application
+ Rendered main/articles/show.html.erb within layouts/application (1.4ms)
+ Rendered layouts/_head.html.erb (1.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (1.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 980190962, '2018-01-04 15:12:27.669017', '2018-01-04 15:12:27.669017', 0, 0, 3)[0m
+ [1m[35m (12.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:12:27.687808', '2018-01-04 15:12:27.687808')[0m
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:27 +0100
+Started GET "/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:27 +0100
+Processing by Main::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:27 +0100
+Processing by Main::ArticlesController#show as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ [1m[35m (12.6ms)[0m [1m[35mCOMMIT[0m
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 94e37205-d06b-4330-a868-bbe55a3afb56) to Async(loco) with arguments: "a0696c39-be23-4ab4-98bb-1160cf33081f", {:loco=>{:xhr_notifications=>true}}
+ [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[ActiveJob] [Loco::SenderJob] [94e37205-d06b-4330-a868-bbe55a3afb56] Performing Loco::SenderJob (Job ID: 94e37205-d06b-4330-a868-bbe55a3afb56) from Async(loco) with arguments: "a0696c39-be23-4ab4-98bb-1160cf33081f", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [94e37205-d06b-4330-a868-bbe55a3afb56] [ActionCable] Broadcasting to loco:notification_center:a0696c39-be23-4ab4-98bb-1160cf33081f: {:loco=>{:xhr_notifications=>true}}
+ Rendering main/comments/index.json.jbuilder
+[ActiveJob] [Loco::SenderJob] [94e37205-d06b-4330-a868-bbe55a3afb56] Performed Loco::SenderJob (Job ID: 94e37205-d06b-4330-a868-bbe55a3afb56) from Async(loco) in 0.38ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:a0696c39-be23-4ab4-98bb-1160cf33081f)
+ [1m[36mComment Load (4.4ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered main/comments/_comment.json.jbuilder (0.2ms)
+ Rendered main/comments/index.json.jbuilder (6.4ms)
+ [1m[36mArticle Load (5.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 980190962 LIMIT 1[0m
+Completed 200 OK in 19ms (Views: 3.5ms | ActiveRecord: 6.3ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A27.705367Z&uuid=a0696c39-be23-4ab4-98bb-1160cf33081f" for 127.0.0.1 at 2018-01-04 16:12:27 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:27.705367Z", "uuid"=>"a0696c39-be23-4ab4-98bb-1160cf33081f"}
+ [1m[36mUser Load (4.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering main/articles/show.json.jbuilder
+ [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article.json.jbuilder (9.2ms)
+ Rendered main/articles/show.json.jbuilder (10.0ms)
+Completed 200 OK in 32ms (Views: 8.6ms | ActiveRecord: 11.5ms)
+ [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:27.705367') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (2.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:27.705367') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 7.2ms)
+ [1m[35m (1.3ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (47.3ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (61.1ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (67.5ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (53.2ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (53.0ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (68.7ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (51.8ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (67.0ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (2.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (1.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.7ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$TzbNMm9Rc4rLsdBDh0BkxuZJcvyM.4E8uA/wu2uciLx88bwMNLt1O', '2018-01-04 15:12:28.307921', '2018-01-04 15:12:28.307921', 980190962)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$5QwGPR6/F8rwxhUs7kUVKu5wxok5f1sbtDgqzXymyUIEWfnsZ/YMG', '2018-01-04 15:12:28.307921', '2018-01-04 15:12:28.307921', 298486374)[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$Ejwddeeyej4X8s3GzZZSqeilrCn96K1okirySlXyg2YYnNye/4i0C', '2017-12-28 15:12:28', '2018-01-04 15:12:28.315237', '2018-01-04 15:12:28.315237', 872278135)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$.ZXC6gQVcckaITMDs/v5AulmpgJY.Um7YQyzqO9CrwvvJ/5khH576', '2018-01-04 15:12:28.315237', '2018-01-04 15:12:28.315237', 15595101)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (2.3ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:28', '2018-01-04 15:12:28.321758', '2018-01-04 15:12:28.321758', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:28.321758', '2018-01-04 15:12:28.321758', 298486374, 872278135)[0m
+ [1m[35m (8.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+--------------------------------------------------------
+User::DirectCommunicationTest: test_should_show_an_alert
+--------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:28 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.9ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:28 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 73c9f4d9-13f4-4287-bc9f-0664af823074) to Async(loco) with arguments: #<GlobalID:0x00007f952107af18 @uri=#<URI::GID gid://dummy/User/872278135>>, "a0696c39-be23-4ab4-98bb-1160cf33081f", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:a0696c39-be23-4ab4-98bb-1160cf33081f
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [73c9f4d9-13f4-4287-bc9f-0664af823074] Performing Loco::UuidJob (Job ID: 73c9f4d9-13f4-4287-bc9f-0664af823074) from Async(loco) with arguments: #<GlobalID:0x00007f951bef87d0 @uri=#<URI::GID gid://dummy/User/872278135>>, "a0696c39-be23-4ab4-98bb-1160cf33081f", "del"
+[ActiveJob] [Loco::UuidJob] [73c9f4d9-13f4-4287-bc9f-0664af823074] Performed Loco::UuidJob (Job ID: 73c9f4d9-13f4-4287-bc9f-0664af823074) from Async(loco) in 0.29ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:28 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:28 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:28 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:28 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:28 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (5.7ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mAdmin Load (4.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["684c295f-81e4-4ec1-9532-d3599d02d3ca", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$Ejwddeeyej4X8s3GzZZSqeilrCn96K1okirySlXyg2Y...", created_at: "2018-01-04 15:12:28", updated_at: "2018-01-04 15:12:28", confirmed_at: "2017-12-28 15:12:28">, nil])
+ [1m[36mArticle Load (2.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: b6ccd5e8-75d5-440e-807e-812ee2233596) to Async(loco) with arguments: "684c295f-81e4-4ec1-9532-d3599d02d3ca", {:loco=>{:uuid=>"684c295f-81e4-4ec1-9532-d3599d02d3ca"}}
+[ActiveJob] [Loco::SenderJob] [b6ccd5e8-75d5-440e-807e-812ee2233596] Performing Loco::SenderJob (Job ID: b6ccd5e8-75d5-440e-807e-812ee2233596) from Async(loco) with arguments: "684c295f-81e4-4ec1-9532-d3599d02d3ca", {:loco=>{:uuid=>"684c295f-81e4-4ec1-9532-d3599d02d3ca"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 9b168de3-0652-447d-bc4e-43a805940db6) to Async(loco) with arguments: #<GlobalID:0x00007f951f08a5a0 @uri=#<URI::GID gid://dummy/User/872278135>>, "684c295f-81e4-4ec1-9532-d3599d02d3ca", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:684c295f-81e4-4ec1-9532-d3599d02d3ca
+[ActiveJob] [Loco::SenderJob] [b6ccd5e8-75d5-440e-807e-812ee2233596] [ActionCable] Broadcasting to loco:notification_center:684c295f-81e4-4ec1-9532-d3599d02d3ca: {:loco=>{:uuid=>"684c295f-81e4-4ec1-9532-d3599d02d3ca"}}
+[ActiveJob] [Loco::SenderJob] [b6ccd5e8-75d5-440e-807e-812ee2233596] Performed Loco::SenderJob (Job ID: b6ccd5e8-75d5-440e-807e-812ee2233596) from Async(loco) in 1.49ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"684c295f-81e4-4ec1-9532-d3599d02d3ca"}} (via streamed from loco:notification_center:684c295f-81e4-4ec1-9532-d3599d02d3ca)
+ [1m[36mUser Load (4.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[36mUser Load (4.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (8.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[ActiveJob] [Loco::UuidJob] [9b168de3-0652-447d-bc4e-43a805940db6] Performing Loco::UuidJob (Job ID: 9b168de3-0652-447d-bc4e-43a805940db6) from Async(loco) with arguments: #<GlobalID:0x00007f95248bd8a8 @uri=#<URI::GID gid://dummy/User/872278135>>, "684c295f-81e4-4ec1-9532-d3599d02d3ca", "add"
+ Rendered main/articles/_article_for_list.json.jbuilder (12.9ms)
+[ActiveJob] [Loco::UuidJob] [9b168de3-0652-447d-bc4e-43a805940db6] Performed Loco::UuidJob (Job ID: 9b168de3-0652-447d-bc4e-43a805940db6) from Async(loco) in 0.48ms
+ Rendered main/articles/index.json.jbuilder (26.6ms)
+Completed 200 OK in 39ms (Views: 12.4ms | ActiveRecord: 21.5ms)
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:12:28 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (2.0ms)
+ Rendered user/sessions/new.html.erb within layouts/application (2.5ms)
+ Rendered layouts/_head.html.erb (1.9ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:28 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:12:28 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (3.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 8ms (ActiveRecord: 3.5ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:12:28 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 4.1ms | ActiveRecord: 1.2ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:29 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 62b612a9-8be9-4b82-8f9b-60e7022c28b0) to Async(loco) with arguments: #<GlobalID:0x00007f951f08a5a0 @uri=#<URI::GID gid://dummy/User/872278135>>, "684c295f-81e4-4ec1-9532-d3599d02d3ca", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:684c295f-81e4-4ec1-9532-d3599d02d3ca
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (3.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [62b612a9-8be9-4b82-8f9b-60e7022c28b0] Performing Loco::UuidJob (Job ID: 62b612a9-8be9-4b82-8f9b-60e7022c28b0) from Async(loco) with arguments: #<GlobalID:0x00007f95233b59d8 @uri=#<URI::GID gid://dummy/User/872278135>>, "684c295f-81e4-4ec1-9532-d3599d02d3ca", "del"
+[ActiveJob] [Loco::UuidJob] [62b612a9-8be9-4b82-8f9b-60e7022c28b0] Performed Loco::UuidJob (Job ID: 62b612a9-8be9-4b82-8f9b-60e7022c28b0) from Async(loco) in 0.25ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:29 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:29 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:29 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (4.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:29 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:29 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (4.5ms)
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (3.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (5.0ms)
+ Rendered user/articles/index.json.jbuilder (16.4ms)
+Completed 200 OK in 25ms (Views: 7.1ms | ActiveRecord: 13.2ms)
+ [1m[36mAdmin Load (2.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["7bb5b20e-73cd-4772-afcd-5612aa73dbbf", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$Ejwddeeyej4X8s3GzZZSqeilrCn96K1okirySlXyg2Y...", created_at: "2018-01-04 15:12:28", updated_at: "2018-01-04 15:12:28", confirmed_at: "2017-12-28 15:12:28">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 26b51dcd-d7d9-4901-8eba-b846ffe5c465) to Async(loco) with arguments: "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", {:loco=>{:uuid=>"7bb5b20e-73cd-4772-afcd-5612aa73dbbf"}}
+[ActiveJob] [Loco::SenderJob] [26b51dcd-d7d9-4901-8eba-b846ffe5c465] Performing Loco::SenderJob (Job ID: 26b51dcd-d7d9-4901-8eba-b846ffe5c465) from Async(loco) with arguments: "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", {:loco=>{:uuid=>"7bb5b20e-73cd-4772-afcd-5612aa73dbbf"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 3403a0a2-6d7b-4e71-a5f6-65a927c9d82c) to Async(loco) with arguments: #<GlobalID:0x00007f9523835b70 @uri=#<URI::GID gid://dummy/User/872278135>>, "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf
+[ActiveJob] [Loco::SenderJob] [26b51dcd-d7d9-4901-8eba-b846ffe5c465] [ActionCable] Broadcasting to loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf: {:loco=>{:uuid=>"7bb5b20e-73cd-4772-afcd-5612aa73dbbf"}}
+[ActiveJob] [Loco::SenderJob] [26b51dcd-d7d9-4901-8eba-b846ffe5c465] Performed Loco::SenderJob (Job ID: 26b51dcd-d7d9-4901-8eba-b846ffe5c465) from Async(loco) in 0.68ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"7bb5b20e-73cd-4772-afcd-5612aa73dbbf"}} (via streamed from loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf)
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [3403a0a2-6d7b-4e71-a5f6-65a927c9d82c] Performing Loco::UuidJob (Job ID: 3403a0a2-6d7b-4e71-a5f6-65a927c9d82c) from Async(loco) with arguments: #<GlobalID:0x00007f9521ee54e0 @uri=#<URI::GID gid://dummy/User/872278135>>, "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", "add"
+[ActiveJob] [Loco::UuidJob] [3403a0a2-6d7b-4e71-a5f6-65a927c9d82c] Performed Loco::UuidJob (Job ID: 3403a0a2-6d7b-4e71-a5f6-65a927c9d82c) from Async(loco) in 0.5ms
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActionCable] Broadcasting to loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf: {:signal=>"ping"}
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"signal"=>"ping"} (via streamed from loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf)
+ [1m[35m (1.4ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (2.3ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (53.2ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (45.5ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (52.7ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (47.7ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (51.0ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (43.8ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (76.0ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (45.5ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$/WyGLFwd3G.VGGB/xcyYoOcCy2jLWkx7/3iUAGr7ycKhQ4xOlDWUi', '2018-01-04 15:12:30.233971', '2018-01-04 15:12:30.233971', 980190962)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$QAv0LIsMknPvrRHxfba03OPozdIUnb2mC/QjvVRWa6/IltrnXlSl6', '2018-01-04 15:12:30.233971', '2018-01-04 15:12:30.233971', 298486374)[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$7bOUvdu2Yumw15NoyuwKPuZIOPTvqgtqmM27lj9zMMaFomQwKcBi2', '2017-12-28 15:12:30', '2018-01-04 15:12:30.239328', '2018-01-04 15:12:30.239328', 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$75GiMzm5g3lYdbMpftSgM.qWwim69qrXYP1DAYyk8Hv7i7rCCe2RW', '2018-01-04 15:12:30.239328', '2018-01-04 15:12:30.239328', 15595101)[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:30', '2018-01-04 15:12:30.243706', '2018-01-04 15:12:30.243706', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:30.243706', '2018-01-04 15:12:30.243706', 298486374, 872278135)[0m
+ [1m[35m (11.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------------------------
+Loco::Notification::FetcherTest: test_fetching_with_recipient_token
+-------------------------------------------------------------------
+ [1m[36mArticle Load (0.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_token`, `created_at`, `updated_at`) VALUES ('Article', 980190962, 'published', '{\"id\":980190962}', '123qweasd', '2018-01-04 15:12:30.263889', '2018-01-04 15:12:30.263889')[0m
+ [1m[35m (12.2ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: e2d4da4e-0ce3-4c41-b3f2-3b9092da71f9) to Async(loco) with arguments: "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [e2d4da4e-0ce3-4c41-b3f2-3b9092da71f9] Performing Loco::SenderJob (Job ID: e2d4da4e-0ce3-4c41-b3f2-3b9092da71f9) from Async(loco) with arguments: "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [e2d4da4e-0ce3-4c41-b3f2-3b9092da71f9] [ActionCable] Broadcasting to loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [e2d4da4e-0ce3-4c41-b3f2-3b9092da71f9] Performed Loco::SenderJob (Job ID: e2d4da4e-0ce3-4c41-b3f2-3b9092da71f9) from Async(loco) in 0.3ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf)
+ [1m[36mLoco::Notification Load (2.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:27.260677') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A29.043532Z&uuid=7bb5b20e-73cd-4772-afcd-5612aa73dbbf" for 127.0.0.1 at 2018-01-04 16:12:30 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:29.043532Z", "uuid"=>"7bb5b20e-73cd-4772-afcd-5612aa73dbbf"}
+ [1m[36mLoco::Notification Load (2.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:27.260677') AND `loco_notifications`.`recipient_token` = '123qweasd' ORDER BY created_at ASC LIMIT 10[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (2.5ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:29.043532') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:29.043532') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 4.8ms)
+ [1m[35m (51.8ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (54.6ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A30.301031Z&uuid=7bb5b20e-73cd-4772-afcd-5612aa73dbbf" for 127.0.0.1 at 2018-01-04 16:12:30 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ [1m[35m (56.6ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ Parameters: {"synced_at"=>"2018-01-04T15:12:30.301031Z", "uuid"=>"7bb5b20e-73cd-4772-afcd-5612aa73dbbf"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (9.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:30.301031') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:30.301031') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 11.8ms)
+ [1m[35m (61.0ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (52.5ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (63.7ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (54.6ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (63.1ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.4ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$mbaGy2csaL4XfRVzox1bWOQCGWWyV1Nb9b.7bfQhKqv6.Pn5/QjkC', '2018-01-04 15:12:30.769614', '2018-01-04 15:12:30.769614', 980190962)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$MjUrIR71QV1Bx/ytd9fKruqgAVQa36rZ.tFDd2I85oGRktkPIw72K', '2018-01-04 15:12:30.769614', '2018-01-04 15:12:30.769614', 298486374)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$Odd4LY0h2ETHGEa1NxJChey.VHQiF2XsXvssiFwovbAjP4n9FNxUq', '2017-12-28 15:12:30', '2018-01-04 15:12:30.775565', '2018-01-04 15:12:30.775565', 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$nZqgCmjFGbphPkWpopb5yeOrTcJPBY3FQ.TsXIhvX89EUD0vjdECq', '2018-01-04 15:12:30.775565', '2018-01-04 15:12:30.775565', 15595101)[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:30', '2018-01-04 15:12:30.781260', '2018-01-04 15:12:30.781260', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:30.781260', '2018-01-04 15:12:30.781260', 298486374, 872278135)[0m
+ [1m[35m (11.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-----------------------------------------------------------------------------------------------------------------
+Loco::Notification::FetcherTest: test_should_not_return_addressed_notifications_when_passed_incorrect_permissions
+-----------------------------------------------------------------------------------------------------------------
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mArticle Load (1.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mAdmin Load (0.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 980190962, 'published', '{\"id\":980190962}', 'Admin', 298486374, '2018-01-04 15:12:30.813332', '2018-01-04 15:12:30.813332')[0m
+ [1m[35m (11.1ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [8f16e2ff-91f7-48aa-9c73-bd65f9f3a49f] Performing Loco::SenderJob (Job ID: 8f16e2ff-91f7-48aa-9c73-bd65f9f3a49f) from Async(loco) with arguments: "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [8f16e2ff-91f7-48aa-9c73-bd65f9f3a49f] [ActionCable] Broadcasting to loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [8f16e2ff-91f7-48aa-9c73-bd65f9f3a49f] Performed Loco::SenderJob (Job ID: 8f16e2ff-91f7-48aa-9c73-bd65f9f3a49f) from Async(loco) in 0.18ms
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 8f16e2ff-91f7-48aa-9c73-bd65f9f3a49f) to Async(loco) with arguments: "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", {:loco=>{:xhr_notifications=>true}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf)
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:27.801437') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A30.474410Z&uuid=7bb5b20e-73cd-4772-afcd-5612aa73dbbf" for 127.0.0.1 at 2018-01-04 16:12:30 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:30.474410Z", "uuid"=>"7bb5b20e-73cd-4772-afcd-5612aa73dbbf"}
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:27.801437') AND ((recipient_class = 'Admin' AND recipient_id = 980190962) OR (recipient_class = 'Admin' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 10[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:30.474410') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:30.474410') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 3.4ms)
+ [1m[35m (45.1ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (60.7ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (38.5ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (47.4ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (36.9ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (45.1ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (43.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (48.2ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$1p94waMOYYo5y9EkAdDlXepkz2es7CTZiQXCQlRBZLnOK.3Z3UPgC', '2018-01-04 15:12:31.220839', '2018-01-04 15:12:31.220839', 980190962)[0m
+ [1m[36mFixture Insert (1.4ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$NA8cMhCVO6RqAprrPc2eQOhnCxleN3/qF4Tsr1xlyGazJZkU4TvX2', '2018-01-04 15:12:31.220839', '2018-01-04 15:12:31.220839', 298486374)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$KxjYLSt0tZnlOZ7b/SZM1OEG9FCARU286JyhSIAy6H5HUEAOml5By', '2017-12-28 15:12:31', '2018-01-04 15:12:31.227173', '2018-01-04 15:12:31.227173', 872278135)[0m
+ [1m[36mFixture Insert (1.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$Zd1WIs9FADfdy1dqy3ohYOkYniSEYS2Di2Ff4jl6mJ8Rywje0SIWC', '2018-01-04 15:12:31.227173', '2018-01-04 15:12:31.227173', 15595101)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:31', '2018-01-04 15:12:31.233530', '2018-01-04 15:12:31.233530', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:31.233530', '2018-01-04 15:12:31.233530', 298486374, 872278135)[0m
+ [1m[35m (11.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+---------------------------------------------------------------------------
+Loco::Notification::FetcherTest: test_should_set_max_size_on_initialization
+---------------------------------------------------------------------------
+ [1m[35m (0.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.3ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (51.7ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (45.3ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (47.1ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (43.3ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A30.846089Z&uuid=7bb5b20e-73cd-4772-afcd-5612aa73dbbf" for 127.0.0.1 at 2018-01-04 16:12:31 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:30.846089Z", "uuid"=>"7bb5b20e-73cd-4772-afcd-5612aa73dbbf"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (0.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:30.846089') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:30.846089') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 4.2ms)
+ [1m[35m (51.6ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (46.6ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (49.4ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (41.8ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.5ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.5ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$mauh3kR/.zi/M0DSnPGLk.m97GlEzcjCHm2ZC.sdDiPrs1yRo3Fcq', '2018-01-04 15:12:31.645179', '2018-01-04 15:12:31.645179', 980190962)[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$NOlT4bi2Uq5LO2zQZ3nG9uOmPvNMdJXKc97QU1K1BfXvUfN.U64TW', '2018-01-04 15:12:31.645179', '2018-01-04 15:12:31.645179', 298486374)[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$rTh7XLl.Rnc7HMuGTbA8j.us0iGNOmm.6DGC58a/.RWDQi7IRaSN2', '2017-12-28 15:12:31', '2018-01-04 15:12:31.648707', '2018-01-04 15:12:31.648707', 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$/gk5/c7zKKeKvpC7/fC7BOIORlCfROwGd3TsVwhULMRefya.Vosju', '2018-01-04 15:12:31.648707', '2018-01-04 15:12:31.648707', 15595101)[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:31', '2018-01-04 15:12:31.652808', '2018-01-04 15:12:31.652808', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:31.652808', '2018-01-04 15:12:31.652808', 298486374, 872278135)[0m
+ [1m[35m (11.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------------------------------------------------------------------------
+Loco::Notification::FetcherTest: test_should_not_return_addressed_notifications_without_passing_correct_permissions
+-------------------------------------------------------------------------------------------------------------------
+ [1m[36mArticle Load (1.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 980190962, 'published', '{\"id\":980190962}', 'Admin', 980190962, '2018-01-04 15:12:31.677865', '2018-01-04 15:12:31.677865')[0m
+ [1m[35m (11.4ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [09807470-1518-43fc-8dd1-77cb33c637d8] Performing Loco::SenderJob (Job ID: 09807470-1518-43fc-8dd1-77cb33c637d8) from Async(loco) with arguments: "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [09807470-1518-43fc-8dd1-77cb33c637d8] [ActionCable] Broadcasting to loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [09807470-1518-43fc-8dd1-77cb33c637d8] Performed Loco::SenderJob (Job ID: 09807470-1518-43fc-8dd1-77cb33c637d8) from Async(loco) in 0.25ms
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 09807470-1518-43fc-8dd1-77cb33c637d8) to Async(loco) with arguments: "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", {:loco=>{:xhr_notifications=>true}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf)
+ [1m[36mLoco::Notification Load (4.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:28.671490') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[35m (2.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A31.483846Z&uuid=7bb5b20e-73cd-4772-afcd-5612aa73dbbf" for 127.0.0.1 at 2018-01-04 16:12:31 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:31.483846Z", "uuid"=>"7bb5b20e-73cd-4772-afcd-5612aa73dbbf"}
+ [1m[36mUser Load (12.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:31.483846') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 10[0m
+ [1m[36mLoco::Notification Load (2.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:31.483846') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 10[0m
+Completed 200 OK in 28ms (Views: 0.2ms | ActiveRecord: 16.8ms)
+ [1m[35m (62.6ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (68.2ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (53.1ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (72.6ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (52.5ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (63.7ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (59.8ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (62.3ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$R9XXxo00/HWHmROQ/r6kzOWb/wRcP0tbvk4AaNw6B42p.qqvgqLWu', '2018-01-04 15:12:32.219566', '2018-01-04 15:12:32.219566', 980190962)[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$ib6ke20ISp4Hg.NTjj7cIuAvJdl0jyak9Wt3suGnF9jiE9Ya/VRBK', '2018-01-04 15:12:32.219566', '2018-01-04 15:12:32.219566', 298486374)[0m
+ [1m[36mFixture Delete (1.3ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.4ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$SbALq0VKnhD07KAcwbUmseYroc1MkyyDydat7BVQFvW2NhQAwpY.G', '2017-12-28 15:12:32', '2018-01-04 15:12:32.225731', '2018-01-04 15:12:32.225731', 872278135)[0m
+ [1m[36mFixture Insert (2.4ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$XvTD9GlDRRAYRuiHhw2mgeY27Xhli8qguml8DcqbYkws8jloQC/ye', '2018-01-04 15:12:32.225731', '2018-01-04 15:12:32.225731', 15595101)[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:32', '2018-01-04 15:12:32.234333', '2018-01-04 15:12:32.234333', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.4ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:32.234333', '2018-01-04 15:12:32.234333', 298486374, 872278135)[0m
+ [1m[35m (11.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.3ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+--------------------------------------------------------------------------
+Loco::Notification::FetcherTest: test_should_set_max_size_via_Loco::Config
+--------------------------------------------------------------------------
+ [1m[35m (1.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (41.1ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (63.1ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (45.6ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A31.744267Z&uuid=7bb5b20e-73cd-4772-afcd-5612aa73dbbf" for 127.0.0.1 at 2018-01-04 16:12:32 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:31.744267Z", "uuid"=>"7bb5b20e-73cd-4772-afcd-5612aa73dbbf"}
+ [1m[36mUser Load (8.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (61.4ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:31.744267') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:31.744267') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 11.4ms)
+ [1m[35m (50.7ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (56.8ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (56.9ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (50.2ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$RkT/BFusNkTsVLN5tOoTguk3EZqqaQDbkHkHwuBqDjsijJP2eiXzm', '2018-01-04 15:12:32.704098', '2018-01-04 15:12:32.704098', 980190962)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$TC.vW81CfePQTHOeKudLIu6wNfkYAaRqR7hEA5xtQv5FLBbWtN3H6', '2018-01-04 15:12:32.704098', '2018-01-04 15:12:32.704098', 298486374)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$YfoXYJm1DKtEFVzMM3c5g.sA0VlrsfjhkxMgBMp8UwLw7eqM.CV1.', '2017-12-28 15:12:32', '2018-01-04 15:12:32.709415', '2018-01-04 15:12:32.709415', 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$Yftsd47upcDWCTvAW3VmNOcmLOjYJt9fA3jp9ES5o9LDkO8paJzzC', '2018-01-04 15:12:32.709415', '2018-01-04 15:12:32.709415', 15595101)[0m
+ [1m[36mFixture Delete (1.6ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.5ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:32', '2018-01-04 15:12:32.714719', '2018-01-04 15:12:32.714719', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:32.714719', '2018-01-04 15:12:32.714719', 298486374, 872278135)[0m
+ [1m[35m (11.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+---------------------------------------------------------
+Loco::Notification::FetcherTest: test_pemissions_as_class
+---------------------------------------------------------
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (1.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `created_at`, `updated_at`) VALUES ('Article', 980190962, 'published', '{\"id\":980190962}', 'Admin', '2018-01-04 15:12:32.743474', '2018-01-04 15:12:32.743474')[0m
+ [1m[35m (11.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:29.735316') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:29.735316') AND ((recipient_class = 'Admin' AND recipient_id = 980190962) OR (recipient_class = 'Admin' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:29.737812') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:29.737812') AND ((recipient_class = 'Admin' AND recipient_id = 298486374) OR (recipient_class = 'Admin' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (51.3ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (56.6ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (42.7ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (52.6ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (54.6ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (49.3ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (45.8ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (44.3ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (2.3ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$WoSWZD5gGvTh9ZzWVQko6.lEYqMBlXZnJ2Uy2OJt2l7edoscFBpeW', '2018-01-04 15:12:33.188232', '2018-01-04 15:12:33.188232', 980190962)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$5HvipMi4rsxrxQck..Zi6.7pVeInn4gTsQZtWyOmdQQVE9mdltUgi', '2018-01-04 15:12:33.188232', '2018-01-04 15:12:33.188232', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$4seqDi65vtl0w8S3jYFMwerVdc0PYy1/tyCzsCA3YuxibA5cvIwsy', '2017-12-28 15:12:33', '2018-01-04 15:12:33.193557', '2018-01-04 15:12:33.193557', 872278135)[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$2Y.0Wf.y7qt9Axq00MN6oOeYLz0AZt74YiQgcrKE0BoNoXydhBoz6', '2018-01-04 15:12:33.193557', '2018-01-04 15:12:33.193557', 15595101)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:33', '2018-01-04 15:12:33.199474', '2018-01-04 15:12:33.199474', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:33.199474', '2018-01-04 15:12:33.199474', 298486374, 872278135)[0m
+ [1m[35m (11.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-----------------------------------------------------------------------------------------------------------
+Loco::Notification::FetcherTest: test_should_return_addressed_notifications_when_passed_correct_permissions
+-----------------------------------------------------------------------------------------------------------
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mArticle Load (1.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 980190962, 'published', '{\"id\":980190962}', 'Admin', 980190962, '2018-01-04 15:12:33.223951', '2018-01-04 15:12:33.223951')[0m
+ [1m[35m (12.7ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [fd011cc7-a936-467b-844c-a431d56817dc] Performing Loco::SenderJob (Job ID: fd011cc7-a936-467b-844c-a431d56817dc) from Async(loco) with arguments: "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [fd011cc7-a936-467b-844c-a431d56817dc] [ActionCable] Broadcasting to loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [fd011cc7-a936-467b-844c-a431d56817dc] Performed Loco::SenderJob (Job ID: fd011cc7-a936-467b-844c-a431d56817dc) from Async(loco) in 0.24ms
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: fd011cc7-a936-467b-844c-a431d56817dc) to Async(loco) with arguments: "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", {:loco=>{:xhr_notifications=>true}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf)
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:30.218223') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A32.480280Z&uuid=7bb5b20e-73cd-4772-afcd-5612aa73dbbf" for 127.0.0.1 at 2018-01-04 16:12:33 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:32.480280Z", "uuid"=>"7bb5b20e-73cd-4772-afcd-5612aa73dbbf"}
+ [1m[36mLoco::Notification Load (3.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:30.218223') AND ((recipient_class = 'Admin' AND recipient_id = 980190962) OR (recipient_class = 'Admin' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[35m (1.4ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (2.4ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:32.480280') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:32.480280') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 5.5ms)
+ [1m[35m (55.6ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (46.5ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (46.1ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (48.6ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A33.262912Z&uuid=7bb5b20e-73cd-4772-afcd-5612aa73dbbf" for 127.0.0.1 at 2018-01-04 16:12:33 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:33.262912Z", "uuid"=>"7bb5b20e-73cd-4772-afcd-5612aa73dbbf"}
+ [1m[36mUser Load (8.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (9.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:33.262912') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:33.262912') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 34ms (Views: 0.5ms | ActiveRecord: 20.0ms)
+ [1m[35m (50.0ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (44.3ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (50.6ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (42.4ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$kdEjFaq48nvf.zxsiQhw/.ndk4PnVkxnxsiAei3PfsvjRazuNvf0u', '2018-01-04 15:12:33.656636', '2018-01-04 15:12:33.656636', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$CdHfObVsXRlHwMHvZFmVGO37RVcODgy2sG5NKXYesU/8IBHEiZKuO', '2018-01-04 15:12:33.656636', '2018-01-04 15:12:33.656636', 298486374)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$Uw5lNzBbNWiLuDQS3pc.lOQO/FFmGfjLxaRiHFk/wIbyhqQMdHUkW', '2017-12-28 15:12:33', '2018-01-04 15:12:33.661816', '2018-01-04 15:12:33.661816', 872278135)[0m
+ [1m[36mFixture Insert (1.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$P74B5EzHiFnsRNdZUxNwTOzyi9WevECPkGLNcanfyOAGuLjXL76i2', '2018-01-04 15:12:33.661816', '2018-01-04 15:12:33.661816', 15595101)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:33', '2018-01-04 15:12:33.668441', '2018-01-04 15:12:33.668441', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (2.5ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:33.668441', '2018-01-04 15:12:33.668441', 298486374, 872278135)[0m
+ [1m[35m (13.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+----------------------------------------------------------------------
+Main::MainPageTest: test_should_load_another_page_of_articles_on_click
+----------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:33 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (2.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:33 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: a306abda-f89f-4606-ac4b-f8fd7fbfaea0) to Async(loco) with arguments: #<GlobalID:0x00007f9523835b70 @uri=#<URI::GID gid://dummy/User/872278135>>, "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:7bb5b20e-73cd-4772-afcd-5612aa73dbbf
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (4.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [a306abda-f89f-4606-ac4b-f8fd7fbfaea0] Performing Loco::UuidJob (Job ID: a306abda-f89f-4606-ac4b-f8fd7fbfaea0) from Async(loco) with arguments: #<GlobalID:0x00007f9523043110 @uri=#<URI::GID gid://dummy/User/872278135>>, "7bb5b20e-73cd-4772-afcd-5612aa73dbbf", "del"
+[ActiveJob] [Loco::UuidJob] [a306abda-f89f-4606-ac4b-f8fd7fbfaea0] Performed Loco::UuidJob (Job ID: a306abda-f89f-4606-ac4b-f8fd7fbfaea0) from Async(loco) in 0.88ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:33 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:33 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:33 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.6ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (2.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (3.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (6.1ms)
+ Rendered main/articles/index.json.jbuilder (14.2ms)
+Completed 200 OK in 23ms (Views: 8.9ms | ActiveRecord: 9.8ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:33 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:33 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["e51f415b-2b52-467c-95e6-b0650ed9d6ef", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$Uw5lNzBbNWiLuDQS3pc.lOQO/FFmGfjLxaRiHFk/wIb...", created_at: "2018-01-04 15:12:33", updated_at: "2018-01-04 15:12:33", confirmed_at: "2017-12-28 15:12:33">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 701c6695-f7cf-4536-9dc9-00bd4b6e0fb8) to Async(loco) with arguments: "e51f415b-2b52-467c-95e6-b0650ed9d6ef", {:loco=>{:uuid=>"e51f415b-2b52-467c-95e6-b0650ed9d6ef"}}
+[ActiveJob] [Loco::SenderJob] [701c6695-f7cf-4536-9dc9-00bd4b6e0fb8] Performing Loco::SenderJob (Job ID: 701c6695-f7cf-4536-9dc9-00bd4b6e0fb8) from Async(loco) with arguments: "e51f415b-2b52-467c-95e6-b0650ed9d6ef", {:loco=>{:uuid=>"e51f415b-2b52-467c-95e6-b0650ed9d6ef"}}
+[ActiveJob] [Loco::SenderJob] [701c6695-f7cf-4536-9dc9-00bd4b6e0fb8] [ActionCable] Broadcasting to loco:notification_center:e51f415b-2b52-467c-95e6-b0650ed9d6ef: {:loco=>{:uuid=>"e51f415b-2b52-467c-95e6-b0650ed9d6ef"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 48dfe02e-eeb3-41fa-b50d-ecb168b27034) to Async(loco) with arguments: #<GlobalID:0x00007f9521be6a50 @uri=#<URI::GID gid://dummy/User/872278135>>, "e51f415b-2b52-467c-95e6-b0650ed9d6ef", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:e51f415b-2b52-467c-95e6-b0650ed9d6ef
+[ActiveJob] [Loco::SenderJob] [701c6695-f7cf-4536-9dc9-00bd4b6e0fb8] Performed Loco::SenderJob (Job ID: 701c6695-f7cf-4536-9dc9-00bd4b6e0fb8) from Async(loco) in 2.33ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"e51f415b-2b52-467c-95e6-b0650ed9d6ef"}} (via streamed from loco:notification_center:e51f415b-2b52-467c-95e6-b0650ed9d6ef)
+ [1m[36mUser Load (3.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [48dfe02e-eeb3-41fa-b50d-ecb168b27034] Performing Loco::UuidJob (Job ID: 48dfe02e-eeb3-41fa-b50d-ecb168b27034) from Async(loco) with arguments: #<GlobalID:0x00007f9521bca058 @uri=#<URI::GID gid://dummy/User/872278135>>, "e51f415b-2b52-467c-95e6-b0650ed9d6ef", "add"
+[ActiveJob] [Loco::UuidJob] [48dfe02e-eeb3-41fa-b50d-ecb168b27034] Performed Loco::UuidJob (Job ID: 48dfe02e-eeb3-41fa-b50d-ecb168b27034) from Async(loco) in 0.71ms
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `published_at`, `user_id`) VALUES ('Why Associations?', 'Why do we need associations between models? Because they make common operations simpler and easier in your code. For example, consider a simple Rails application that includes a model for customers and a model for orders.', '2018-01-04 15:12:33.868384', '2018-01-04 15:12:33.868384', '2018-01-02 15:12:33', 872278135)[0m
+ [1m[35m (13.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 15595101 LIMIT 1[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `published_at`, `user_id`) VALUES ('Form Helpers', 'Forms in web applications are an essential interface for user input. However, form markup can quickly become tedious to write and maintain because of the need to handle form control naming and its numerous attributes.', '2018-01-04 15:12:33.892291', '2018-01-04 15:12:33.892291', '2018-01-01 15:12:33', 15595101)[0m
+ [1m[35m (13.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `published_at`, `user_id`) VALUES ('Active Support Core Extensions', 'Active Support is the Ruby on Rails component responsible for providing Ruby language extensions, utilities, and other transversal stuff.', '2018-01-04 15:12:33.917384', '2018-01-04 15:12:33.917384', '2017-12-31 15:12:33', 15595101)[0m
+ [1m[35m (14.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `published_at`, `user_id`) VALUES ('Configuring Rails Components', 'In general, the work of configuring Rails means configuring the components of Rails, as well as configuring Rails itself. The configuration file config/application.rb and environment-specific configuration files (such as config/environments/production.rb) allow you to specify the various settings that you want to pass down to all of the components.', '2018-01-04 15:12:33.939159', '2018-01-04 15:12:33.939159', '2017-12-30 15:12:33', 872278135)[0m
+ [1m[35m (8.8ms)[0m [1m[35mCOMMIT[0m
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:33 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.2ms)
+ Rendered layouts/_head.html.erb (3.3ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:33 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: be49df54-1993-4b34-959b-cc1761f80315) to Async(loco) with arguments: #<GlobalID:0x00007f9521be6a50 @uri=#<URI::GID gid://dummy/User/872278135>>, "e51f415b-2b52-467c-95e6-b0650ed9d6ef", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:e51f415b-2b52-467c-95e6-b0650ed9d6ef
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [be49df54-1993-4b34-959b-cc1761f80315] Performing Loco::UuidJob (Job ID: be49df54-1993-4b34-959b-cc1761f80315) from Async(loco) with arguments: #<GlobalID:0x00007f951d60c430 @uri=#<URI::GID gid://dummy/User/872278135>>, "e51f415b-2b52-467c-95e6-b0650ed9d6ef", "del"
+[ActiveJob] [Loco::UuidJob] [be49df54-1993-4b34-959b-cc1761f80315] Performed Loco::UuidJob (Job ID: be49df54-1993-4b34-959b-cc1761f80315) from Async(loco) in 0.31ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` IN (872278135, 15595101)[0m
+ [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (3.5ms)
+ [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190963[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (3.0ms)
+ [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190964[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (2.1ms)
+ Rendered main/articles/index.json.jbuilder (15.4ms)
+Completed 200 OK in 20ms (Views: 10.2ms | ActiveRecord: 7.1ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["53e291ec-0f00-4a13-bc3a-7dde4df736e1", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$Uw5lNzBbNWiLuDQS3pc.lOQO/FFmGfjLxaRiHFk/wIb...", created_at: "2018-01-04 15:12:33", updated_at: "2018-01-04 15:12:33", confirmed_at: "2017-12-28 15:12:33">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 5f4540a7-e125-43ad-86b5-7be21da69591) to Async(loco) with arguments: "53e291ec-0f00-4a13-bc3a-7dde4df736e1", {:loco=>{:uuid=>"53e291ec-0f00-4a13-bc3a-7dde4df736e1"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 7931d129-bbd5-4fd8-a9cd-256265a7d780) to Async(loco) with arguments: #<GlobalID:0x00007f951cd35000 @uri=#<URI::GID gid://dummy/User/872278135>>, "53e291ec-0f00-4a13-bc3a-7dde4df736e1", "add"
+[ActiveJob] [Loco::SenderJob] [5f4540a7-e125-43ad-86b5-7be21da69591] Performing Loco::SenderJob (Job ID: 5f4540a7-e125-43ad-86b5-7be21da69591) from Async(loco) with arguments: "53e291ec-0f00-4a13-bc3a-7dde4df736e1", {:loco=>{:uuid=>"53e291ec-0f00-4a13-bc3a-7dde4df736e1"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [5f4540a7-e125-43ad-86b5-7be21da69591] [ActionCable] Broadcasting to loco:notification_center:53e291ec-0f00-4a13-bc3a-7dde4df736e1: {:loco=>{:uuid=>"53e291ec-0f00-4a13-bc3a-7dde4df736e1"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:53e291ec-0f00-4a13-bc3a-7dde4df736e1
+[ActiveJob] [Loco::SenderJob] [5f4540a7-e125-43ad-86b5-7be21da69591] Performed Loco::SenderJob (Job ID: 5f4540a7-e125-43ad-86b5-7be21da69591) from Async(loco) in 0.92ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"53e291ec-0f00-4a13-bc3a-7dde4df736e1"}} (via streamed from loco:notification_center:53e291ec-0f00-4a13-bc3a-7dde4df736e1)
+ [1m[36mUser Load (3.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [7931d129-bbd5-4fd8-a9cd-256265a7d780] Performing Loco::UuidJob (Job ID: 7931d129-bbd5-4fd8-a9cd-256265a7d780) from Async(loco) with arguments: #<GlobalID:0x00007f951d5a1b58 @uri=#<URI::GID gid://dummy/User/872278135>>, "53e291ec-0f00-4a13-bc3a-7dde4df736e1", "add"
+[ActiveJob] [Loco::UuidJob] [7931d129-bbd5-4fd8-a9cd-256265a7d780] Performed Loco::UuidJob (Job ID: 7931d129-bbd5-4fd8-a9cd-256265a7d780) from Async(loco) in 1.02ms
+Started GET "/articles?page=2" for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"2", "article"=>{}}
+ [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (2.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 3[0m
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` IN (15595101, 872278135)[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190965[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (3.1ms)
+ [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190966[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (3.1ms)
+ Rendered main/articles/index.json.jbuilder (18.5ms)
+Completed 200 OK in 25ms (Views: 12.3ms | ActiveRecord: 9.3ms)
+ [1m[35m (1.3ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (49.6ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (51.6ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (45.9ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (49.0ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (31.8ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (56.5ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (34.4ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (50.4ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$zlCiexllnHZ.BhBGT4gqo.Nd555NThMVm3Ft1dv2.XZ0fal0YsApu', '2018-01-04 15:12:34.654051', '2018-01-04 15:12:34.654051', 980190962)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$Q1UMG.Xo.1OdsIyMtaJ6jORu6hW41ojHXGF3Oc15UuUqDKCAL1FNm', '2018-01-04 15:12:34.654051', '2018-01-04 15:12:34.654051', 298486374)[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$/zuomZWDTkFK0gN04NElXe9t.uZ3EptWCwVRh.oEhoFBxR3kx1hcy', '2017-12-28 15:12:34', '2018-01-04 15:12:34.658298', '2018-01-04 15:12:34.658298', 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$NNHu7Pf9xIdSIAPY5cOIoOF9jBS.CamOvm1n/tPP4LygIG0YDr3Q2', '2018-01-04 15:12:34.658298', '2018-01-04 15:12:34.658298', 15595101)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:34', '2018-01-04 15:12:34.662342', '2018-01-04 15:12:34.662342', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:34.662342', '2018-01-04 15:12:34.662342', 298486374, 872278135)[0m
+ [1m[35m (10.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-----------------------------------------------------------
+Main::MainPageTest: test_should_auto_load_published_article
+-----------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.7ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: b9675047-b859-49c4-a9ac-258e44616e4d) to Async(loco) with arguments: #<GlobalID:0x00007f951cd35000 @uri=#<URI::GID gid://dummy/User/872278135>>, "53e291ec-0f00-4a13-bc3a-7dde4df736e1", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:53e291ec-0f00-4a13-bc3a-7dde4df736e1
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (4.5ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ [1m[36mUser Load (39.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering main/articles/index.json.jbuilder
+[ActiveJob] [Loco::UuidJob] [b9675047-b859-49c4-a9ac-258e44616e4d] Performing Loco::UuidJob (Job ID: b9675047-b859-49c4-a9ac-258e44616e4d) from Async(loco) with arguments: #<GlobalID:0x00007f951d535548 @uri=#<URI::GID gid://dummy/User/872278135>>, "53e291ec-0f00-4a13-bc3a-7dde4df736e1", "del"
+[ActiveJob] [Loco::UuidJob] [b9675047-b859-49c4-a9ac-258e44616e4d] Performed Loco::UuidJob (Job ID: b9675047-b859-49c4-a9ac-258e44616e4d) from Async(loco) in 0.23ms
+ [1m[36mArticle Load (1.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (2.8ms)
+ Rendered main/articles/index.json.jbuilder (8.5ms)
+Completed 200 OK in 19ms (Views: 6.5ms | ActiveRecord: 8.1ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:34 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["8cec3c33-4491-4462-8413-433dfa415fff", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$/zuomZWDTkFK0gN04NElXe9t.uZ3EptWCwVRh.oEhoF...", created_at: "2018-01-04 15:12:34", updated_at: "2018-01-04 15:12:34", confirmed_at: "2017-12-28 15:12:34">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 2d93756a-daa8-4406-a0bb-663f326d7937) to Async(loco) with arguments: "8cec3c33-4491-4462-8413-433dfa415fff", {:loco=>{:uuid=>"8cec3c33-4491-4462-8413-433dfa415fff"}}
+[ActiveJob] [Loco::SenderJob] [2d93756a-daa8-4406-a0bb-663f326d7937] Performing Loco::SenderJob (Job ID: 2d93756a-daa8-4406-a0bb-663f326d7937) from Async(loco) with arguments: "8cec3c33-4491-4462-8413-433dfa415fff", {:loco=>{:uuid=>"8cec3c33-4491-4462-8413-433dfa415fff"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 3720351b-8708-493a-99b9-0eab4ecf9ad5) to Async(loco) with arguments: #<GlobalID:0x00007f951d4b20a8 @uri=#<URI::GID gid://dummy/User/872278135>>, "8cec3c33-4491-4462-8413-433dfa415fff", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:8cec3c33-4491-4462-8413-433dfa415fff
+[ActiveJob] [Loco::SenderJob] [2d93756a-daa8-4406-a0bb-663f326d7937] [ActionCable] Broadcasting to loco:notification_center:8cec3c33-4491-4462-8413-433dfa415fff: {:loco=>{:uuid=>"8cec3c33-4491-4462-8413-433dfa415fff"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [2d93756a-daa8-4406-a0bb-663f326d7937] Performed Loco::SenderJob (Job ID: 2d93756a-daa8-4406-a0bb-663f326d7937) from Async(loco) in 1.9ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"8cec3c33-4491-4462-8413-433dfa415fff"}} (via streamed from loco:notification_center:8cec3c33-4491-4462-8413-433dfa415fff)
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [3720351b-8708-493a-99b9-0eab4ecf9ad5] Performing Loco::UuidJob (Job ID: 3720351b-8708-493a-99b9-0eab4ecf9ad5) from Async(loco) with arguments: #<GlobalID:0x00007f951d49da40 @uri=#<URI::GID gid://dummy/User/872278135>>, "8cec3c33-4491-4462-8413-433dfa415fff", "add"
+[ActiveJob] [Loco::UuidJob] [3720351b-8708-493a-99b9-0eab4ecf9ad5] Performed Loco::UuidJob (Job ID: 3720351b-8708-493a-99b9-0eab4ecf9ad5) from Async(loco) in 0.47ms
+ [1m[36mArticle Load (3.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35mSQL (1.5ms)[0m [1m[33mUPDATE `articles` SET `published_at` = '2018-01-04 15:12:35', `updated_at` = '2018-01-04 15:12:35.326640' WHERE `articles`.`id` = 298486374[0m
+ [1m[35m (12.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'published', '{\"id\":298486374}', '2018-01-04 15:12:35.345502', '2018-01-04 15:12:35.345502')[0m
+ [1m[35m (10.7ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 03b75d74-4728-4933-b1f2-59f35a488759) to Async(loco) with arguments: "8cec3c33-4491-4462-8413-433dfa415fff", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [03b75d74-4728-4933-b1f2-59f35a488759] Performing Loco::SenderJob (Job ID: 03b75d74-4728-4933-b1f2-59f35a488759) from Async(loco) with arguments: "8cec3c33-4491-4462-8413-433dfa415fff", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [03b75d74-4728-4933-b1f2-59f35a488759] [ActionCable] Broadcasting to loco:notification_center:8cec3c33-4491-4462-8413-433dfa415fff: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [03b75d74-4728-4933-b1f2-59f35a488759] Performed Loco::SenderJob (Job ID: 03b75d74-4728-4933-b1f2-59f35a488759) from Async(loco) in 0.47ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:8cec3c33-4491-4462-8413-433dfa415fff)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A34.748070Z&uuid=8cec3c33-4491-4462-8413-433dfa415fff" for 127.0.0.1 at 2018-01-04 16:12:35 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:34.748070Z", "uuid"=>"8cec3c33-4491-4462-8413-433dfa415fff"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:34.748070') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:34.748070') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 5.0ms)
+Started GET "/articles/298486374" for 127.0.0.1 at 2018-01-04 16:12:35 +0100
+Processing by Main::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[36mArticle Load (1.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering main/articles/show.json.jbuilder
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered main/articles/_article.json.jbuilder (3.9ms)
+ Rendered main/articles/show.json.jbuilder (4.5ms)
+Completed 200 OK in 13ms (Views: 3.9ms | ActiveRecord: 4.0ms)
+ [1m[35m (1.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (62.7ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (51.3ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (64.2ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A35.381998Z&uuid=8cec3c33-4491-4462-8413-433dfa415fff" for 127.0.0.1 at 2018-01-04 16:12:35 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:35.381998Z", "uuid"=>"8cec3c33-4491-4462-8413-433dfa415fff"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (11.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:35.381998') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:35.381998') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 24ms (Views: 0.5ms | ActiveRecord: 14.4ms)
+ [1m[35m (59.1ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (57.2ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (68.0ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (68.6ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (38.8ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.3ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$LkSmuFeW33uzR2/dQ3eT1O297KIoIEZ6zGQlmQDXtxfPnEa4xJSAG', '2018-01-04 15:12:36.053991', '2018-01-04 15:12:36.053991', 980190962)[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$WxLCc112FuYm0kCuUa3UQ.1sgT7RC7KsMDlUPojF1brVUQRTrzpBm', '2018-01-04 15:12:36.053991', '2018-01-04 15:12:36.053991', 298486374)[0m
+ [1m[36mFixture Delete (3.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$/IQMz8dCFPfgSAFZiF4m7OYeXNwz12OIBj5VUKzmkDfM8ZCSOLyiS', '2017-12-28 15:12:36', '2018-01-04 15:12:36.062501', '2018-01-04 15:12:36.062501', 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$FFPFft4xqykAd2qKJv.2NumIT5HkAuWEXhzbZ5.PNuJh5PuFBTtfK', '2018-01-04 15:12:36.062501', '2018-01-04 15:12:36.062501', 15595101)[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:36', '2018-01-04 15:12:36.072517', '2018-01-04 15:12:36.072517', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:36.072517', '2018-01-04 15:12:36.072517', 298486374, 872278135)[0m
+ [1m[35m (17.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (7.4ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+------------------------------------------------------------------------
+Main::MainPageTest: test_should_update_title_of_recently_updated_article
+------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:36 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.5ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:36 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 21138012-96a4-4b76-acb5-77620f86bea9) to Async(loco) with arguments: #<GlobalID:0x00007f951d4b20a8 @uri=#<URI::GID gid://dummy/User/872278135>>, "8cec3c33-4491-4462-8413-433dfa415fff", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:8cec3c33-4491-4462-8413-433dfa415fff
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [21138012-96a4-4b76-acb5-77620f86bea9] Performing Loco::UuidJob (Job ID: 21138012-96a4-4b76-acb5-77620f86bea9) from Async(loco) with arguments: #<GlobalID:0x00007f9521388c50 @uri=#<URI::GID gid://dummy/User/872278135>>, "8cec3c33-4491-4462-8413-433dfa415fff", "del"
+[ActiveJob] [Loco::UuidJob] [21138012-96a4-4b76-acb5-77620f86bea9] Performed Loco::UuidJob (Job ID: 21138012-96a4-4b76-acb5-77620f86bea9) from Async(loco) in 0.38ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:36 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:36 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:36 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (5.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (7.5ms)
+ Rendered main/articles/index.json.jbuilder (15.9ms)
+Completed 200 OK in 28ms (Views: 7.9ms | ActiveRecord: 10.5ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:36 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:36 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (3.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (3.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["3c33d0d4-2aea-4eae-a3c6-1694b346cc6f", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$/IQMz8dCFPfgSAFZiF4m7OYeXNwz12OIBj5VUKzmkDf...", created_at: "2018-01-04 15:12:36", updated_at: "2018-01-04 15:12:36", confirmed_at: "2017-12-28 15:12:36">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 02c2705f-b16e-4752-81d5-5cd33a380e4c) to Async(loco) with arguments: "3c33d0d4-2aea-4eae-a3c6-1694b346cc6f", {:loco=>{:uuid=>"3c33d0d4-2aea-4eae-a3c6-1694b346cc6f"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: b06631b7-7583-41dd-b4fd-92d426dc6833) to Async(loco) with arguments: #<GlobalID:0x00007f951d421558 @uri=#<URI::GID gid://dummy/User/872278135>>, "3c33d0d4-2aea-4eae-a3c6-1694b346cc6f", "add"
+[ActiveJob] [Loco::SenderJob] [02c2705f-b16e-4752-81d5-5cd33a380e4c] Performing Loco::SenderJob (Job ID: 02c2705f-b16e-4752-81d5-5cd33a380e4c) from Async(loco) with arguments: "3c33d0d4-2aea-4eae-a3c6-1694b346cc6f", {:loco=>{:uuid=>"3c33d0d4-2aea-4eae-a3c6-1694b346cc6f"}}
+[ActiveJob] [Loco::SenderJob] [02c2705f-b16e-4752-81d5-5cd33a380e4c] [ActionCable] Broadcasting to loco:notification_center:3c33d0d4-2aea-4eae-a3c6-1694b346cc6f: {:loco=>{:uuid=>"3c33d0d4-2aea-4eae-a3c6-1694b346cc6f"}}
+[ActiveJob] [Loco::SenderJob] [02c2705f-b16e-4752-81d5-5cd33a380e4c] Performed Loco::SenderJob (Job ID: 02c2705f-b16e-4752-81d5-5cd33a380e4c) from Async(loco) in 0.39ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:3c33d0d4-2aea-4eae-a3c6-1694b346cc6f
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [b06631b7-7583-41dd-b4fd-92d426dc6833] Performing Loco::UuidJob (Job ID: b06631b7-7583-41dd-b4fd-92d426dc6833) from Async(loco) with arguments: #<GlobalID:0x00007f95212b89d8 @uri=#<URI::GID gid://dummy/User/872278135>>, "3c33d0d4-2aea-4eae-a3c6-1694b346cc6f", "add"
+[ActiveJob] [Loco::UuidJob] [b06631b7-7583-41dd-b4fd-92d426dc6833] Performed Loco::UuidJob (Job ID: b06631b7-7583-41dd-b4fd-92d426dc6833) from Async(loco) in 1.1ms
+ [1m[36mArticle Load (1.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m [1m[33mUPDATE `articles` SET `title` = 'AGtTRA', `updated_at` = '2018-01-04 15:12:36.875097' WHERE `articles`.`id` = 980190962[0m
+ [1m[35m (11.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Article', 980190962, 'updated', '{\"id\":980190962}', '2018-01-04 15:12:36.891379', '2018-01-04 15:12:36.891379')[0m
+ [1m[35m (11.2ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [eb31b004-adba-427d-b82c-64bd0a60f3ae] Performing Loco::SenderJob (Job ID: eb31b004-adba-427d-b82c-64bd0a60f3ae) from Async(loco) with arguments: "3c33d0d4-2aea-4eae-a3c6-1694b346cc6f", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: eb31b004-adba-427d-b82c-64bd0a60f3ae) to Async(loco) with arguments: "3c33d0d4-2aea-4eae-a3c6-1694b346cc6f", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [eb31b004-adba-427d-b82c-64bd0a60f3ae] [ActionCable] Broadcasting to loco:notification_center:3c33d0d4-2aea-4eae-a3c6-1694b346cc6f: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [eb31b004-adba-427d-b82c-64bd0a60f3ae] Performed Loco::SenderJob (Job ID: eb31b004-adba-427d-b82c-64bd0a60f3ae) from Async(loco) in 1.01ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:3c33d0d4-2aea-4eae-a3c6-1694b346cc6f)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A36.276896Z" for 127.0.0.1 at 2018-01-04 16:12:36 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:36.276896Z"}
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:36.276896') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:36.276896') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 5.4ms)
+Started GET "/articles/980190962" for 127.0.0.1 at 2018-01-04 16:12:36 +0100
+Processing by Main::ArticlesController#show as JSON
+ Parameters: {"id"=>"980190962", "article"=>{}}
+ [1m[36mArticle Load (1.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) AND `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering main/articles/show.json.jbuilder
+ [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article.json.jbuilder (2.4ms)
+ Rendered main/articles/show.json.jbuilder (2.9ms)
+Completed 200 OK in 11ms (Views: 2.4ms | ActiveRecord: 3.5ms)
+ [1m[35m (1.2ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (37.2ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (79.3ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (36.6ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A36.934439Z" for 127.0.0.1 at 2018-01-04 16:12:37 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:36.934439Z"}
+ [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (49.6ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[36mLoco::Notification Load (8.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:36.934439') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (0.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:36.934439') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 10.4ms)
+ [1m[35m (38.3ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (48.8ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (44.7ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (44.9ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$sY5OCjWk/5uwK19L2ySBvOaNjxY6mosKA0FRzK/R1qLedSXLu8L3O', '2018-01-04 15:12:37.477768', '2018-01-04 15:12:37.477768', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$EHje94beQfbgdl/LXI6YZeE8yRp1fdD87NG/Dwl15AbTRlL3h67Ki', '2018-01-04 15:12:37.477768', '2018-01-04 15:12:37.477768', 298486374)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$9vbPNFxo/tcYPfs5BLxI8uPEJfaUqN2E7Z11X18UPfqfGDrrRt6ei', '2017-12-28 15:12:37', '2018-01-04 15:12:37.482826', '2018-01-04 15:12:37.482826', 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$wMZ0KoomJSzkhZrsLgum5e0U7LUnG4/Y74WxlXVOC.f4UrvP1ukr6', '2018-01-04 15:12:37.482826', '2018-01-04 15:12:37.482826', 15595101)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:37', '2018-01-04 15:12:37.488345', '2018-01-04 15:12:37.488345', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (2.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:37.488345', '2018-01-04 15:12:37.488345', 298486374, 872278135)[0m
+ [1m[35m (12.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (2.5ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+---------------------------------------------------
+Main::MainPageTest: test_should_async_load_articles
+---------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:37 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.9ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:37 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: bd101812-ad74-4bb5-817e-ea3e05ce16a1) to Async(loco) with arguments: #<GlobalID:0x00007f951d421558 @uri=#<URI::GID gid://dummy/User/872278135>>, "3c33d0d4-2aea-4eae-a3c6-1694b346cc6f", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:3c33d0d4-2aea-4eae-a3c6-1694b346cc6f
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [bd101812-ad74-4bb5-817e-ea3e05ce16a1] Performing Loco::UuidJob (Job ID: bd101812-ad74-4bb5-817e-ea3e05ce16a1) from Async(loco) with arguments: #<GlobalID:0x00007f952113aa70 @uri=#<URI::GID gid://dummy/User/872278135>>, "3c33d0d4-2aea-4eae-a3c6-1694b346cc6f", "del"
+[ActiveJob] [Loco::UuidJob] [bd101812-ad74-4bb5-817e-ea3e05ce16a1] Performed Loco::UuidJob (Job ID: bd101812-ad74-4bb5-817e-ea3e05ce16a1) from Async(loco) in 0.48ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:37 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:37 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:37 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:37 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:37 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mAdmin Load (3.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["c3631b60-cd09-432f-843c-bf8678401c0a", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$9vbPNFxo/tcYPfs5BLxI8uPEJfaUqN2E7Z11X18UPfq...", created_at: "2018-01-04 15:12:37", updated_at: "2018-01-04 15:12:37", confirmed_at: "2017-12-28 15:12:37">, nil])
+ [1m[36mArticle Load (3.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 0a19cba4-048d-42c9-a621-fcf9296e1c2b) to Async(loco) with arguments: "c3631b60-cd09-432f-843c-bf8678401c0a", {:loco=>{:uuid=>"c3631b60-cd09-432f-843c-bf8678401c0a"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 9268ac48-1462-476f-b503-7840bee77a44) to Async(loco) with arguments: #<GlobalID:0x00007f951cbd5c00 @uri=#<URI::GID gid://dummy/User/872278135>>, "c3631b60-cd09-432f-843c-bf8678401c0a", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:c3631b60-cd09-432f-843c-bf8678401c0a
+[ActiveJob] [Loco::SenderJob] [0a19cba4-048d-42c9-a621-fcf9296e1c2b] Performing Loco::SenderJob (Job ID: 0a19cba4-048d-42c9-a621-fcf9296e1c2b) from Async(loco) with arguments: "c3631b60-cd09-432f-843c-bf8678401c0a", {:loco=>{:uuid=>"c3631b60-cd09-432f-843c-bf8678401c0a"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::SenderJob] [0a19cba4-048d-42c9-a621-fcf9296e1c2b] [ActionCable] Broadcasting to loco:notification_center:c3631b60-cd09-432f-843c-bf8678401c0a: {:loco=>{:uuid=>"c3631b60-cd09-432f-843c-bf8678401c0a"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [0a19cba4-048d-42c9-a621-fcf9296e1c2b] Performed Loco::SenderJob (Job ID: 0a19cba4-048d-42c9-a621-fcf9296e1c2b) from Async(loco) in 2.94ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"c3631b60-cd09-432f-843c-bf8678401c0a"}} (via streamed from loco:notification_center:c3631b60-cd09-432f-843c-bf8678401c0a)
+ [1m[36mUser Load (11.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (4.2ms)
+ Rendered main/articles/index.json.jbuilder (24.1ms)
+Completed 200 OK in 71ms (Views: 8.3ms | ActiveRecord: 19.5ms)
+ [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [9268ac48-1462-476f-b503-7840bee77a44] Performing Loco::UuidJob (Job ID: 9268ac48-1462-476f-b503-7840bee77a44) from Async(loco) with arguments: #<GlobalID:0x00007f95218a2f60 @uri=#<URI::GID gid://dummy/User/872278135>>, "c3631b60-cd09-432f-843c-bf8678401c0a", "add"
+[ActiveJob] [Loco::UuidJob] [9268ac48-1462-476f-b503-7840bee77a44] Performed Loco::UuidJob (Job ID: 9268ac48-1462-476f-b503-7840bee77a44) from Async(loco) in 0.76ms
+ [1m[35m (1.2ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (53.5ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (56.4ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (46.5ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (49.6ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (60.8ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (51.5ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (42.4ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (58.3ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.4ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$pQBy8HmILHYwLa1E.QlFj.nScMZxgMFrzXh4enzWSQZqoq1wgHGQS', '2018-01-04 15:12:38.125025', '2018-01-04 15:12:38.125025', 980190962)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$iQ10ulsZc11bU4rQgxAjaezkpKyw6d4Y.jTTO0cBiy9SmgI6gqykG', '2018-01-04 15:12:38.125025', '2018-01-04 15:12:38.125025', 298486374)[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (3.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$csYU4bHzEmywMc799XuINOyHrgSM52mVI2YUd7GqZZqaZyhxYMx4S', '2017-12-28 15:12:38', '2018-01-04 15:12:38.129511', '2018-01-04 15:12:38.129511', 872278135)[0m
+ [1m[36mFixture Insert (1.4ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$1IaAJynr8GvNBUHBb0gOheCJ1Vjsz8kTwaW8BGeGvvs66H7O51bmS', '2018-01-04 15:12:38.129511', '2018-01-04 15:12:38.129511', 15595101)[0m
+ [1m[36mFixture Delete (1.6ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:38', '2018-01-04 15:12:38.137500', '2018-01-04 15:12:38.137500', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:38.137500', '2018-01-04 15:12:38.137500', 298486374, 872278135)[0m
+ [1m[35m (11.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+--------------------------------------------------------------------------
+Main::MainPageTest: test_should_update_number_of_comments_if_one_was_added
+--------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:38 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (2.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:38 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ddb7cc7c-867f-4f3b-9d2a-0fd6dfcce1b5) to Async(loco) with arguments: #<GlobalID:0x00007f951cbd5c00 @uri=#<URI::GID gid://dummy/User/872278135>>, "c3631b60-cd09-432f-843c-bf8678401c0a", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:c3631b60-cd09-432f-843c-bf8678401c0a
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (6.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ddb7cc7c-867f-4f3b-9d2a-0fd6dfcce1b5] Performing Loco::UuidJob (Job ID: ddb7cc7c-867f-4f3b-9d2a-0fd6dfcce1b5) from Async(loco) with arguments: #<GlobalID:0x00007f951cb0ea38 @uri=#<URI::GID gid://dummy/User/872278135>>, "c3631b60-cd09-432f-843c-bf8678401c0a", "del"
+[ActiveJob] [Loco::UuidJob] [ddb7cc7c-867f-4f3b-9d2a-0fd6dfcce1b5] Performed Loco::UuidJob (Job ID: ddb7cc7c-867f-4f3b-9d2a-0fd6dfcce1b5) from Async(loco) in 0.24ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:38 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:38 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:38 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:38 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:38 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (6.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (14.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (3.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ [1m[36mAdmin Load (5.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (3.5ms)
+[AC] [-] [872278135] Registered connection (["8ade4855-b4bb-44fc-baaa-74c2f3907c0b", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$csYU4bHzEmywMc799XuINOyHrgSM52mVI2YUd7GqZZq...", created_at: "2018-01-04 15:12:38", updated_at: "2018-01-04 15:12:38", confirmed_at: "2017-12-28 15:12:38">, nil])
+ Rendered main/articles/index.json.jbuilder (17.9ms)
+Completed 200 OK in 40ms (Views: 7.8ms | ActiveRecord: 13.3ms)
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: d3f4de51-40e4-4954-9d98-f4053f826f0d) to Async(loco) with arguments: "8ade4855-b4bb-44fc-baaa-74c2f3907c0b", {:loco=>{:uuid=>"8ade4855-b4bb-44fc-baaa-74c2f3907c0b"}}
+[ActiveJob] [Loco::SenderJob] [d3f4de51-40e4-4954-9d98-f4053f826f0d] Performing Loco::SenderJob (Job ID: d3f4de51-40e4-4954-9d98-f4053f826f0d) from Async(loco) with arguments: "8ade4855-b4bb-44fc-baaa-74c2f3907c0b", {:loco=>{:uuid=>"8ade4855-b4bb-44fc-baaa-74c2f3907c0b"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 970ce3a8-2036-475a-a57e-04fd4a113bb4) to Async(loco) with arguments: #<GlobalID:0x00007f951cac7980 @uri=#<URI::GID gid://dummy/User/872278135>>, "8ade4855-b4bb-44fc-baaa-74c2f3907c0b", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:8ade4855-b4bb-44fc-baaa-74c2f3907c0b
+[ActiveJob] [Loco::SenderJob] [d3f4de51-40e4-4954-9d98-f4053f826f0d] [ActionCable] Broadcasting to loco:notification_center:8ade4855-b4bb-44fc-baaa-74c2f3907c0b: {:loco=>{:uuid=>"8ade4855-b4bb-44fc-baaa-74c2f3907c0b"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [d3f4de51-40e4-4954-9d98-f4053f826f0d] Performed Loco::SenderJob (Job ID: d3f4de51-40e4-4954-9d98-f4053f826f0d) from Async(loco) in 1.2ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"8ade4855-b4bb-44fc-baaa-74c2f3907c0b"}} (via streamed from loco:notification_center:8ade4855-b4bb-44fc-baaa-74c2f3907c0b)
+ [1m[36mUser Load (7.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [970ce3a8-2036-475a-a57e-04fd4a113bb4] Performing Loco::UuidJob (Job ID: 970ce3a8-2036-475a-a57e-04fd4a113bb4) from Async(loco) with arguments: #<GlobalID:0x00007f951ca86ea8 @uri=#<URI::GID gid://dummy/User/872278135>>, "8ade4855-b4bb-44fc-baaa-74c2f3907c0b", "add"
+[ActiveJob] [Loco::UuidJob] [970ce3a8-2036-475a-a57e-04fd4a113bb4] Performed Loco::UuidJob (Job ID: 970ce3a8-2036-475a-a57e-04fd4a113bb4) from Async(loco) in 0.67ms
+ [1m[36mArticle Load (2.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 980190962, '2018-01-04 15:12:38.773528', '2018-01-04 15:12:38.773528', 0, 0, 3)[0m
+ [1m[35m (17.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:12:38.796481', '2018-01-04 15:12:38.796481')[0m
+ [1m[35m (7.6ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 3d44a935-88b3-486c-8a18-0960884bd806) to Async(loco) with arguments: "8ade4855-b4bb-44fc-baaa-74c2f3907c0b", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [3d44a935-88b3-486c-8a18-0960884bd806] Performing Loco::SenderJob (Job ID: 3d44a935-88b3-486c-8a18-0960884bd806) from Async(loco) with arguments: "8ade4855-b4bb-44fc-baaa-74c2f3907c0b", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [3d44a935-88b3-486c-8a18-0960884bd806] [ActionCable] Broadcasting to loco:notification_center:8ade4855-b4bb-44fc-baaa-74c2f3907c0b: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [3d44a935-88b3-486c-8a18-0960884bd806] Performed Loco::SenderJob (Job ID: 3d44a935-88b3-486c-8a18-0960884bd806) from Async(loco) in 0.29ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:8ade4855-b4bb-44fc-baaa-74c2f3907c0b)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A38.233111Z&uuid=8ade4855-b4bb-44fc-baaa-74c2f3907c0b" for 127.0.0.1 at 2018-01-04 16:12:38 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:38.233111Z", "uuid"=>"8ade4855-b4bb-44fc-baaa-74c2f3907c0b"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:38.233111') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:38.233111') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.6ms)
+ [1m[35m (1.4ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (73.7ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (38.2ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (50.3ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (42.6ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (48.1ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (44.6ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (53.3ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A38.822944Z&uuid=8ade4855-b4bb-44fc-baaa-74c2f3907c0b" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:38.822944Z", "uuid"=>"8ade4855-b4bb-44fc-baaa-74c2f3907c0b"}
+ [1m[36mUser Load (54.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m [["id", 872278135], ["LIMIT", 1]]
+ [1m[35m (69.6ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:38.822944') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 61ms (Views: 0.2ms | ActiveRecord: 56.2ms)
+ [1m[35m (2.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$ptaQ60vO1aO.LZOp8DToGO3QJ9.ZswG4r9J9m507yXKDzSOec/2G2', '2018-01-04 15:12:39.311150', '2018-01-04 15:12:39.311150', 980190962)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$ABCAwcAUwMD.mI86hY6Xj.rLz0ED0eedoE8/O95Meri7FgIepNBAq', '2018-01-04 15:12:39.311150', '2018-01-04 15:12:39.311150', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$KYpzLEj4R/b5ASZcnXmClegO.K6bxyJKM1UaXUOx6DCRwC544Y05q', '2017-12-28 15:12:39', '2018-01-04 15:12:39.315554', '2018-01-04 15:12:39.315554', 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$JR7//1RTeHP0ClOnpxv5c.9VeD7Nuz978yQ3GRytpyMO4Jfjv06IC', '2018-01-04 15:12:39.315554', '2018-01-04 15:12:39.315554', 15595101)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:39', '2018-01-04 15:12:39.320543', '2018-01-04 15:12:39.320543', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:39.320543', '2018-01-04 15:12:39.320543', 298486374, 872278135)[0m
+ [1m[35m (8.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+----------------------------------------------------------------------------
+Main::MainPageTest: test_should_update_number_of_comments_if_one_was_deleted
+----------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (2.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 3e9783a0-ac4f-40fa-a9cc-53c7e04dd33f) to Async(loco) with arguments: #<GlobalID:0x00007f951cac7980 @uri=#<URI::GID gid://dummy/User/872278135>>, "8ade4855-b4bb-44fc-baaa-74c2f3907c0b", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:8ade4855-b4bb-44fc-baaa-74c2f3907c0b
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (9.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [3e9783a0-ac4f-40fa-a9cc-53c7e04dd33f] Performing Loco::UuidJob (Job ID: 3e9783a0-ac4f-40fa-a9cc-53c7e04dd33f) from Async(loco) with arguments: #<GlobalID:0x00007f951f1527a8 @uri=#<URI::GID gid://dummy/User/872278135>>, "8ade4855-b4bb-44fc-baaa-74c2f3907c0b", "del"
+[ActiveJob] [Loco::UuidJob] [3e9783a0-ac4f-40fa-a9cc-53c7e04dd33f] Performed Loco::UuidJob (Job ID: 3e9783a0-ac4f-40fa-a9cc-53c7e04dd33f) from Async(loco) in 0.29ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Processing by Main::ArticlesController#index as JSON
+Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mUser Load (5.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mArticle Load (3.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mAdmin Load (3.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["4bc7c795-5885-4cf8-b48e-74044bb18ca7", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$KYpzLEj4R/b5ASZcnXmClegO.K6bxyJKM1UaXUOx6DC...", created_at: "2018-01-04 15:12:39", updated_at: "2018-01-04 15:12:39", confirmed_at: "2017-12-28 15:12:39">, nil])
+ [1m[35m (1.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Load (6.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35mSQL (2.6ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 980190962, '2018-01-04 15:12:39.431205', '2018-01-04 15:12:39.431205', 0, 0, 3)[0m
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 5e711f2e-14ca-4653-b195-aaeb73c336d3) to Async(loco) with arguments: "4bc7c795-5885-4cf8-b48e-74044bb18ca7", {:loco=>{:uuid=>"4bc7c795-5885-4cf8-b48e-74044bb18ca7"}}
+[ActiveJob] [Loco::SenderJob] [5e711f2e-14ca-4653-b195-aaeb73c336d3] Performing Loco::SenderJob (Job ID: 5e711f2e-14ca-4653-b195-aaeb73c336d3) from Async(loco) with arguments: "4bc7c795-5885-4cf8-b48e-74044bb18ca7", {:loco=>{:uuid=>"4bc7c795-5885-4cf8-b48e-74044bb18ca7"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ef8f5193-2e33-4bc9-8ba3-fac8f790b4de) to Async(loco) with arguments: #<GlobalID:0x00007f95239275d8 @uri=#<URI::GID gid://dummy/User/872278135>>, "4bc7c795-5885-4cf8-b48e-74044bb18ca7", "add"
+ [1m[35m (3.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:4bc7c795-5885-4cf8-b48e-74044bb18ca7
+[ActiveJob] [Loco::SenderJob] [5e711f2e-14ca-4653-b195-aaeb73c336d3] [ActionCable] Broadcasting to loco:notification_center:4bc7c795-5885-4cf8-b48e-74044bb18ca7: {:loco=>{:uuid=>"4bc7c795-5885-4cf8-b48e-74044bb18ca7"}}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (10.9ms)
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::UuidJob] [ef8f5193-2e33-4bc9-8ba3-fac8f790b4de] Performing Loco::UuidJob (Job ID: ef8f5193-2e33-4bc9-8ba3-fac8f790b4de) from Async(loco) with arguments: #<GlobalID:0x00007f952487e360 @uri=#<URI::GID gid://dummy/User/872278135>>, "4bc7c795-5885-4cf8-b48e-74044bb18ca7", "add"
+ Rendered main/articles/index.json.jbuilder (28.3ms)
+ [1m[35m (12.8ms)[0m [1m[35mCOMMIT[0m
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::UuidJob] [ef8f5193-2e33-4bc9-8ba3-fac8f790b4de] Performed Loco::UuidJob (Job ID: ef8f5193-2e33-4bc9-8ba3-fac8f790b4de) from Async(loco) in 0.47ms
+Completed 200 OK in 42ms (Views: 19.0ms | ActiveRecord: 14.2ms)
+[ActiveJob] [Loco::SenderJob] [5e711f2e-14ca-4653-b195-aaeb73c336d3] Performed Loco::SenderJob (Job ID: 5e711f2e-14ca-4653-b195-aaeb73c336d3) from Async(loco) in 12.39ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"4bc7c795-5885-4cf8-b48e-74044bb18ca7"}} (via streamed from loco:notification_center:4bc7c795-5885-4cf8-b48e-74044bb18ca7)
+ [1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:12:39.454569', '2018-01-04 15:12:39.454569')[0m
+ [1m[35m (12.6ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: f9294367-9036-4b77-864d-2bbccd4b26ea) to Async(loco) with arguments: "4bc7c795-5885-4cf8-b48e-74044bb18ca7", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [f9294367-9036-4b77-864d-2bbccd4b26ea] Performing Loco::SenderJob (Job ID: f9294367-9036-4b77-864d-2bbccd4b26ea) from Async(loco) with arguments: "4bc7c795-5885-4cf8-b48e-74044bb18ca7", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [f9294367-9036-4b77-864d-2bbccd4b26ea] [ActionCable] Broadcasting to loco:notification_center:4bc7c795-5885-4cf8-b48e-74044bb18ca7: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [f9294367-9036-4b77-864d-2bbccd4b26ea] Performed Loco::SenderJob (Job ID: f9294367-9036-4b77-864d-2bbccd4b26ea) from Async(loco) in 0.31ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:4bc7c795-5885-4cf8-b48e-74044bb18ca7)
+ [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A39.407883Z&uuid=4bc7c795-5885-4cf8-b48e-74044bb18ca7" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ [1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Jason', 'Very interesting...', 980190962, '2018-01-04 15:12:39.475241', '2018-01-04 15:12:39.475241', 0, 0, 3)[0m
+ Parameters: {"synced_at"=>"2018-01-04T15:12:39.407883Z", "uuid"=>"4bc7c795-5885-4cf8-b48e-74044bb18ca7"}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:39.407883') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[35m (12.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:39.407883') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 3.3ms)
+ [1m[35m (1.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (2.2ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 2, 'created', '{\"article_id\":980190962,\"id\":2}', '2018-01-04 15:12:39.493309', '2018-01-04 15:12:39.493309')[0m
+ [1m[35m (14.0ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [d60a9dfc-ef68-45cf-bccf-6fb66f8ac150] Performing Loco::SenderJob (Job ID: d60a9dfc-ef68-45cf-bccf-6fb66f8ac150) from Async(loco) with arguments: "4bc7c795-5885-4cf8-b48e-74044bb18ca7", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: d60a9dfc-ef68-45cf-bccf-6fb66f8ac150) to Async(loco) with arguments: "4bc7c795-5885-4cf8-b48e-74044bb18ca7", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [d60a9dfc-ef68-45cf-bccf-6fb66f8ac150] [ActionCable] Broadcasting to loco:notification_center:4bc7c795-5885-4cf8-b48e-74044bb18ca7: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [d60a9dfc-ef68-45cf-bccf-6fb66f8ac150] Performed Loco::SenderJob (Job ID: d60a9dfc-ef68-45cf-bccf-6fb66f8ac150) from Async(loco) in 1.1ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:4bc7c795-5885-4cf8-b48e-74044bb18ca7)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A39.491685Z&uuid=4bc7c795-5885-4cf8-b48e-74044bb18ca7" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:39.491685Z", "uuid"=>"4bc7c795-5885-4cf8-b48e-74044bb18ca7"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:39.491685') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.9ms)
+ Rendered layouts/_head.html.erb (2.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms)
+ [1m[36mLoco::Notification Load (17.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:39.491685') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 29ms (Views: 0.3ms | ActiveRecord: 20.8ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: f49de2f4-5d64-4409-bc2a-626939e85c71) to Async(loco) with arguments: #<GlobalID:0x00007f95239275d8 @uri=#<URI::GID gid://dummy/User/872278135>>, "4bc7c795-5885-4cf8-b48e-74044bb18ca7", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:4bc7c795-5885-4cf8-b48e-74044bb18ca7
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f49de2f4-5d64-4409-bc2a-626939e85c71] Performing Loco::UuidJob (Job ID: f49de2f4-5d64-4409-bc2a-626939e85c71) from Async(loco) with arguments: #<GlobalID:0x00007f9521fde310 @uri=#<URI::GID gid://dummy/User/872278135>>, "4bc7c795-5885-4cf8-b48e-74044bb18ca7", "del"
+[ActiveJob] [Loco::UuidJob] [f49de2f4-5d64-4409-bc2a-626939e85c71] Performed Loco::UuidJob (Job ID: f49de2f4-5d64-4409-bc2a-626939e85c71) from Async(loco) in 0.27ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mArticle Load (13.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["59bcb9c2-2f4e-40b7-9ea8-300e3880bdba", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$KYpzLEj4R/b5ASZcnXmClegO.K6bxyJKM1UaXUOx6DC...", created_at: "2018-01-04 15:12:39", updated_at: "2018-01-04 15:12:39", confirmed_at: "2017-12-28 15:12:39">, nil])
+ [1m[36mUser Load (3.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: b400abbe-b14f-41bc-9264-445410edb53b) to Async(loco) with arguments: "59bcb9c2-2f4e-40b7-9ea8-300e3880bdba", {:loco=>{:uuid=>"59bcb9c2-2f4e-40b7-9ea8-300e3880bdba"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ca213365-34af-4276-93b2-2e2167885cd5) to Async(loco) with arguments: #<GlobalID:0x00007f9521f66dd8 @uri=#<URI::GID gid://dummy/User/872278135>>, "59bcb9c2-2f4e-40b7-9ea8-300e3880bdba", "add"
+[ActiveJob] [Loco::SenderJob] [b400abbe-b14f-41bc-9264-445410edb53b] Performing Loco::SenderJob (Job ID: b400abbe-b14f-41bc-9264-445410edb53b) from Async(loco) with arguments: "59bcb9c2-2f4e-40b7-9ea8-300e3880bdba", {:loco=>{:uuid=>"59bcb9c2-2f4e-40b7-9ea8-300e3880bdba"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [b400abbe-b14f-41bc-9264-445410edb53b] [ActionCable] Broadcasting to loco:notification_center:59bcb9c2-2f4e-40b7-9ea8-300e3880bdba: {:loco=>{:uuid=>"59bcb9c2-2f4e-40b7-9ea8-300e3880bdba"}}
+ [1m[35m (6.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+ Rendered main/articles/_article_for_list.json.jbuilder (9.8ms)
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:59bcb9c2-2f4e-40b7-9ea8-300e3880bdba
+ Rendered main/articles/index.json.jbuilder (31.4ms)
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [b400abbe-b14f-41bc-9264-445410edb53b] Performed Loco::SenderJob (Job ID: b400abbe-b14f-41bc-9264-445410edb53b) from Async(loco) in 2.95ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"59bcb9c2-2f4e-40b7-9ea8-300e3880bdba"}} (via streamed from loco:notification_center:59bcb9c2-2f4e-40b7-9ea8-300e3880bdba)
+Completed 200 OK in 42ms (Views: 10.2ms | ActiveRecord: 26.2ms)
+[ActiveJob] [Loco::UuidJob] [ca213365-34af-4276-93b2-2e2167885cd5] Performing Loco::UuidJob (Job ID: ca213365-34af-4276-93b2-2e2167885cd5) from Async(loco) with arguments: #<GlobalID:0x00007f9521f419e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "59bcb9c2-2f4e-40b7-9ea8-300e3880bdba", "add"
+[ActiveJob] [Loco::UuidJob] [ca213365-34af-4276-93b2-2e2167885cd5] Performed Loco::UuidJob (Job ID: ca213365-34af-4276-93b2-2e2167885cd5) from Async(loco) in 0.52ms
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[31mDELETE FROM `comments` WHERE `comments`.`id` = 1[0m
+ [1m[35m (13.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'destroyed', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:12:39.756519', '2018-01-04 15:12:39.756519')[0m
+ [1m[35m (10.3ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [64e13355-2565-4ced-ab7d-c2ed41398e43] Performing Loco::SenderJob (Job ID: 64e13355-2565-4ced-ab7d-c2ed41398e43) from Async(loco) with arguments: "59bcb9c2-2f4e-40b7-9ea8-300e3880bdba", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 64e13355-2565-4ced-ab7d-c2ed41398e43) to Async(loco) with arguments: "59bcb9c2-2f4e-40b7-9ea8-300e3880bdba", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [64e13355-2565-4ced-ab7d-c2ed41398e43] [ActionCable] Broadcasting to loco:notification_center:59bcb9c2-2f4e-40b7-9ea8-300e3880bdba: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [64e13355-2565-4ced-ab7d-c2ed41398e43] Performed Loco::SenderJob (Job ID: 64e13355-2565-4ced-ab7d-c2ed41398e43) from Async(loco) in 0.4ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:59bcb9c2-2f4e-40b7-9ea8-300e3880bdba)
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A39.602222Z&uuid=59bcb9c2-2f4e-40b7-9ea8-300e3880bdba" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+ [1m[35mSQL (2.4ms)[0m [1m[31mDELETE FROM `comments` WHERE `comments`.`id` = 2[0m
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:39.602222Z", "uuid"=>"59bcb9c2-2f4e-40b7-9ea8-300e3880bdba"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:39.602222') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:39.602222') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 3.4ms)
+ [1m[35m (11.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 2, 'destroyed', '{\"article_id\":980190962,\"id\":2}', '2018-01-04 15:12:39.789643', '2018-01-04 15:12:39.789643')[0m
+ [1m[35m (9.6ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 6a351f73-b66b-46a4-aa0b-2518dac1306b) to Async(loco) with arguments: "59bcb9c2-2f4e-40b7-9ea8-300e3880bdba", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [6a351f73-b66b-46a4-aa0b-2518dac1306b] Performing Loco::SenderJob (Job ID: 6a351f73-b66b-46a4-aa0b-2518dac1306b) from Async(loco) with arguments: "59bcb9c2-2f4e-40b7-9ea8-300e3880bdba", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [6a351f73-b66b-46a4-aa0b-2518dac1306b] [ActionCable] Broadcasting to loco:notification_center:59bcb9c2-2f4e-40b7-9ea8-300e3880bdba: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [6a351f73-b66b-46a4-aa0b-2518dac1306b] Performed Loco::SenderJob (Job ID: 6a351f73-b66b-46a4-aa0b-2518dac1306b) from Async(loco) in 0.39ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:59bcb9c2-2f4e-40b7-9ea8-300e3880bdba)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A39.786454Z&uuid=59bcb9c2-2f4e-40b7-9ea8-300e3880bdba" for 127.0.0.1 at 2018-01-04 16:12:39 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:39.786454Z", "uuid"=>"59bcb9c2-2f4e-40b7-9ea8-300e3880bdba"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:39.786454') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:39.786454') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 5.1ms)
+ [1m[35m (1.2ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (51.6ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (61.7ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (45.0ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (43.0ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (38.4ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (50.6ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (48.7ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (49.7ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.5ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$N5xqiU02lKF0S8gAAsWlrO27D5nyEWop8GyLbfACfYiYjwT2iPw3S', '2018-01-04 15:12:40.242772', '2018-01-04 15:12:40.242772', 980190962)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$GvFiWgg5BllDU4SDmgRmAOu9hIzkhj6SDV9TgsoBQo3MGQ462MSSa', '2018-01-04 15:12:40.242772', '2018-01-04 15:12:40.242772', 298486374)[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$vktzodxwddYYgR5QDZ892Oc4G.40lUpfL.ZA4zF1d369f3i3sydWa', '2017-12-28 15:12:40', '2018-01-04 15:12:40.246972', '2018-01-04 15:12:40.246972', 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$lRvik1WUviklJd/RHRnsuOiObNDpfZbThTbZX65zjeeTYpPETXWWO', '2018-01-04 15:12:40.246972', '2018-01-04 15:12:40.246972', 15595101)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:40', '2018-01-04 15:12:40.252266', '2018-01-04 15:12:40.252266', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.5ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:40.252266', '2018-01-04 15:12:40.252266', 298486374, 872278135)[0m
+ [1m[35m (8.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-----------------------------------------------------
+User::ArticleEditPageTest: test_should_update_article
+-----------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.4ms)
+ Rendered layouts/_head.html.erb (1.5ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 3a9f37d9-7774-452c-bdc1-1ba528863cfc) to Async(loco) with arguments: #<GlobalID:0x00007f9521f66dd8 @uri=#<URI::GID gid://dummy/User/872278135>>, "59bcb9c2-2f4e-40b7-9ea8-300e3880bdba", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:59bcb9c2-2f4e-40b7-9ea8-300e3880bdba
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (6.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [3a9f37d9-7774-452c-bdc1-1ba528863cfc] Performing Loco::UuidJob (Job ID: 3a9f37d9-7774-452c-bdc1-1ba528863cfc) from Async(loco) with arguments: #<GlobalID:0x00007f952325a750 @uri=#<URI::GID gid://dummy/User/872278135>>, "59bcb9c2-2f4e-40b7-9ea8-300e3880bdba", "del"
+[ActiveJob] [Loco::UuidJob] [3a9f37d9-7774-452c-bdc1-1ba528863cfc] Performed Loco::UuidJob (Job ID: 3a9f37d9-7774-452c-bdc1-1ba528863cfc) from Async(loco) in 0.26ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mArticle Load (5.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$vktzodxwddYYgR5QDZ892Oc4G.40lUpfL.ZA4zF1d36...", created_at: "2018-01-04 15:12:40", updated_at: "2018-01-04 15:12:40", confirmed_at: "2017-12-28 15:12:40">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 9b02787f-beb2-4e68-b5c9-615e77042738) to Async(loco) with arguments: "2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f", {:loco=>{:uuid=>"2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f"}}
+[ActiveJob] [Loco::SenderJob] [9b02787f-beb2-4e68-b5c9-615e77042738] Performing Loco::SenderJob (Job ID: 9b02787f-beb2-4e68-b5c9-615e77042738) from Async(loco) with arguments: "2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f", {:loco=>{:uuid=>"2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: c9d2a884-0da1-4117-8fbf-f6ddb14c6af4) to Async(loco) with arguments: #<GlobalID:0x00007f951d7537f8 @uri=#<URI::GID gid://dummy/User/872278135>>, "2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f
+[ActiveJob] [Loco::SenderJob] [9b02787f-beb2-4e68-b5c9-615e77042738] [ActionCable] Broadcasting to loco:notification_center:2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f: {:loco=>{:uuid=>"2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f"}}
+ [1m[36mUser Load (12.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [9b02787f-beb2-4e68-b5c9-615e77042738] Performed Loco::SenderJob (Job ID: 9b02787f-beb2-4e68-b5c9-615e77042738) from Async(loco) in 5.39ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f"}} (via streamed from loco:notification_center:2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f)
+ [1m[35m (8.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (10.5ms)
+ Rendered main/articles/index.json.jbuilder (33.5ms)
+ [1m[36mUser Load (8.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Completed 200 OK in 41ms (Views: 7.6ms | ActiveRecord: 29.8ms)
+[ActiveJob] [Loco::UuidJob] [c9d2a884-0da1-4117-8fbf-f6ddb14c6af4] Performing Loco::UuidJob (Job ID: c9d2a884-0da1-4117-8fbf-f6ddb14c6af4) from Async(loco) with arguments: #<GlobalID:0x00007f9521da27e0 @uri=#<URI::GID gid://dummy/User/872278135>>, "2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f", "add"
+[ActiveJob] [Loco::UuidJob] [c9d2a884-0da1-4117-8fbf-f6ddb14c6af4] Performed Loco::UuidJob (Job ID: c9d2a884-0da1-4117-8fbf-f6ddb14c6af4) from Async(loco) in 0.62ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.9ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.6ms)
+ Rendered layouts/_head.html.erb (4.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 10ms (ActiveRecord: 2.2ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.3ms)
+ Rendered layouts/_head.html.erb (1.4ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 10ms (Views: 4.1ms | ActiveRecord: 2.2ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 4cfec3ec-e6a5-49a9-ae89-2b782dc4fe87) to Async(loco) with arguments: #<GlobalID:0x00007f951d7537f8 @uri=#<URI::GID gid://dummy/User/872278135>>, "2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [4cfec3ec-e6a5-49a9-ae89-2b782dc4fe87] Performing Loco::UuidJob (Job ID: 4cfec3ec-e6a5-49a9-ae89-2b782dc4fe87) from Async(loco) with arguments: #<GlobalID:0x00007f951ce50d18 @uri=#<URI::GID gid://dummy/User/872278135>>, "2e0fa4e9-4c7b-4b32-87fe-c024e2c0108f", "del"
+[ActiveJob] [Loco::UuidJob] [4cfec3ec-e6a5-49a9-ae89-2b782dc4fe87] Performed Loco::UuidJob (Job ID: 4cfec3ec-e6a5-49a9-ae89-2b782dc4fe87) from Async(loco) in 0.3ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:40 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (2.4ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[36mAdmin Load (2.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["ceb57413-777d-4f37-8eaf-bfc40dffd753", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$vktzodxwddYYgR5QDZ892Oc4G.40lUpfL.ZA4zF1d36...", created_at: "2018-01-04 15:12:40", updated_at: "2018-01-04 15:12:40", confirmed_at: "2017-12-28 15:12:40">, nil])
+ [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.2ms)
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: ed53e739-7efb-4a9b-a12a-39d6fe77b97d) to Async(loco) with arguments: "ceb57413-777d-4f37-8eaf-bfc40dffd753", {:loco=>{:uuid=>"ceb57413-777d-4f37-8eaf-bfc40dffd753"}}
+[ActiveJob] [Loco::SenderJob] [ed53e739-7efb-4a9b-a12a-39d6fe77b97d] Performing Loco::SenderJob (Job ID: ed53e739-7efb-4a9b-a12a-39d6fe77b97d) from Async(loco) with arguments: "ceb57413-777d-4f37-8eaf-bfc40dffd753", {:loco=>{:uuid=>"ceb57413-777d-4f37-8eaf-bfc40dffd753"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 0fee4783-38a5-49a8-9656-23390c0d2b82) to Async(loco) with arguments: #<GlobalID:0x00007f95230dea20 @uri=#<URI::GID gid://dummy/User/872278135>>, "ceb57413-777d-4f37-8eaf-bfc40dffd753", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:ceb57413-777d-4f37-8eaf-bfc40dffd753
+ [1m[35m (3.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[ActiveJob] [Loco::SenderJob] [ed53e739-7efb-4a9b-a12a-39d6fe77b97d] [ActionCable] Broadcasting to loco:notification_center:ceb57413-777d-4f37-8eaf-bfc40dffd753: {:loco=>{:uuid=>"ceb57413-777d-4f37-8eaf-bfc40dffd753"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+ Rendered user/articles/_article_for_list.json.jbuilder (6.1ms)
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ Rendered user/articles/index.json.jbuilder (14.5ms)
+[ActiveJob] [Loco::SenderJob] [ed53e739-7efb-4a9b-a12a-39d6fe77b97d] Performed Loco::SenderJob (Job ID: ed53e739-7efb-4a9b-a12a-39d6fe77b97d) from Async(loco) in 3.58ms
+Completed 200 OK in 29ms (Views: 9.5ms | ActiveRecord: 11.5ms)
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"ceb57413-777d-4f37-8eaf-bfc40dffd753"}} (via streamed from loco:notification_center:ceb57413-777d-4f37-8eaf-bfc40dffd753)
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [0fee4783-38a5-49a8-9656-23390c0d2b82] Performing Loco::UuidJob (Job ID: 0fee4783-38a5-49a8-9656-23390c0d2b82) from Async(loco) with arguments: #<GlobalID:0x00007f9521d039d8 @uri=#<URI::GID gid://dummy/User/872278135>>, "ceb57413-777d-4f37-8eaf-bfc40dffd753", "add"
+[ActiveJob] [Loco::UuidJob] [0fee4783-38a5-49a8-9656-23390c0d2b82] Performed Loco::UuidJob (Job ID: 0fee4783-38a5-49a8-9656-23390c0d2b82) from Async(loco) in 0.6ms
+ [1m[36mArticle Load (2.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+Started GET "/user/articles/298486374/edit" for 127.0.0.1 at 2018-01-04 16:12:41 +0100
+Processing by User::ArticlesController#edit as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (4.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updating', '{\"mark\":\"1515078761.129227\",\"id\":298486374}', 'User', 872278135, '2018-01-04 15:12:41.135284', '2018-01-04 15:12:41.135284')[0m
+ [1m[35m (11.0ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 47db1b43-141a-455a-b85b-71692c0947af) to Async(loco) with arguments: #<GlobalID:0x00007f9521caba58 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078761.129227", "id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: b6680571-df43-459e-a667-79d95b35a6a0) to Async(loco) with arguments: #<GlobalID:0x00007f952309e7b8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:41.135284Z"}}
+ Rendering user/articles/edit.html.erb within layouts/user
+ Rendered user/articles/_form.html.erb (1.5ms)
+ [1m[36mUser Load (4.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendered user/articles/edit.html.erb within layouts/user (2.6ms)
+ [1m[36mUser Load (5.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [b6680571-df43-459e-a667-79d95b35a6a0] Performing Loco::SenderJob (Job ID: b6680571-df43-459e-a667-79d95b35a6a0) from Async(loco) with arguments: #<GlobalID:0x00007f9521c7c618 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:41.135284Z"}}
+ Rendered layouts/_head.html.erb (1.5ms)
+[ActiveJob] [Loco::SenderJob] [47db1b43-141a-455a-b85b-71692c0947af] Performing Loco::SenderJob (Job ID: 47db1b43-141a-455a-b85b-71692c0947af) from Async(loco) with arguments: #<GlobalID:0x00007f952307a098 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078761.129227", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [b6680571-df43-459e-a667-79d95b35a6a0] [ActionCable] Broadcasting to loco:notification_center:ceb57413-777d-4f37-8eaf-bfc40dffd753: {:loco=>{:sync_time=>"2018-01-04T15:12:41.135284Z"}}
+ Rendered layouts/_flash.html.erb (0.2ms)
+[ActiveJob] [Loco::SenderJob] [47db1b43-141a-455a-b85b-71692c0947af] [ActionCable] Broadcasting to loco:notification_center:ceb57413-777d-4f37-8eaf-bfc40dffd753: {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078761.129227", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [b6680571-df43-459e-a667-79d95b35a6a0] Performed Loco::SenderJob (Job ID: b6680571-df43-459e-a667-79d95b35a6a0) from Async(loco) in 0.95ms
+Completed 200 OK in 47ms (Views: 9.0ms | ActiveRecord: 19.8ms)
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:12:41.135284Z"}} (via streamed from loco:notification_center:ceb57413-777d-4f37-8eaf-bfc40dffd753)
+[ActiveJob] [Loco::SenderJob] [47db1b43-141a-455a-b85b-71692c0947af] Performed Loco::SenderJob (Job ID: 47db1b43-141a-455a-b85b-71692c0947af) from Async(loco) in 2.65ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updating", {"mark"=>"1515078761.129227", "id"=>298486374}]}} (via streamed from loco:notification_center:ceb57413-777d-4f37-8eaf-bfc40dffd753)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:12:41 +0100
+Processing by User::ArticlesController#show as JSON
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:41 +0100
+ Parameters: {"id"=>"298486374", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:41 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+ [1m[36mUser Load (10.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (4.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (7.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[35m (2.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (4.3ms)
+ [1m[36mComment Load (1.0ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/articles/show.json.jbuilder (10.6ms)
+ Rendered user/comments/index.json.jbuilder (2.3ms)
+Completed 200 OK in 42ms (Views: 11.6ms | ActiveRecord: 14.6ms)
+Completed 200 OK in 30ms (Views: 2.8ms | ActiveRecord: 15.1ms)
+Started PUT "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:12:41 +0100
+Processing by User::ArticlesController#update as JSON
+ Parameters: {"article"=>{"title"=>"What is Active Record? (updated)", "text"=>"Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.", "created_at"=>"2018-01-04T15:12:40.252Z", "updated_at"=>"2018-01-04T15:12:40.252Z", "comments_count"=>0, "published_at"=>nil, "published"=>false, "admin_review"=>nil, "admin_rate"=>nil, "category_id"=>nil, "admin_review_started_at"=>nil}, "id"=>"298486374"}
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+Unpermitted parameters: :created_at, :updated_at, :comments_count, :published_at, :published, :admin_review, :admin_rate, :category_id, :admin_review_started_at
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.4ms)[0m [1m[33mUPDATE `articles` SET `title` = 'What is Active Record? (updated)', `updated_at` = '2018-01-04 15:12:41.541454' WHERE `articles`.`id` = 298486374[0m
+ [1m[35m (13.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updated', '{\"id\":298486374}', 'User', 872278135, '2018-01-04 15:12:41.559896', '2018-01-04 15:12:41.559896')[0m
+ [1m[35m (12.0ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 60d66883-83a7-4efc-80d6-acda631341e2) to Async(loco) with arguments: #<GlobalID:0x00007f9521b74770 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: f08f51f8-e284-4e8e-8e70-7e3874e061d4) to Async(loco) with arguments: #<GlobalID:0x00007f9521b67688 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:41.559896Z"}}
+Completed 200 OK in 50ms (Views: 0.3ms | ActiveRecord: 34.1ms)
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [60d66883-83a7-4efc-80d6-acda631341e2] Performing Loco::SenderJob (Job ID: 60d66883-83a7-4efc-80d6-acda631341e2) from Async(loco) with arguments: #<GlobalID:0x00007f951cda7628 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [60d66883-83a7-4efc-80d6-acda631341e2] [ActionCable] Broadcasting to loco:notification_center:ceb57413-777d-4f37-8eaf-bfc40dffd753: {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [60d66883-83a7-4efc-80d6-acda631341e2] Performed Loco::SenderJob (Job ID: 60d66883-83a7-4efc-80d6-acda631341e2) from Async(loco) in 0.41ms
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [f08f51f8-e284-4e8e-8e70-7e3874e061d4] Performing Loco::SenderJob (Job ID: f08f51f8-e284-4e8e-8e70-7e3874e061d4) from Async(loco) with arguments: #<GlobalID:0x00007f9521b55ed8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:41.559896Z"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updated", {"id"=>298486374}]}} (via streamed from loco:notification_center:ceb57413-777d-4f37-8eaf-bfc40dffd753)
+[ActiveJob] [Loco::SenderJob] [f08f51f8-e284-4e8e-8e70-7e3874e061d4] [ActionCable] Broadcasting to loco:notification_center:ceb57413-777d-4f37-8eaf-bfc40dffd753: {:loco=>{:sync_time=>"2018-01-04T15:12:41.559896Z"}}
+[ActiveJob] [Loco::SenderJob] [f08f51f8-e284-4e8e-8e70-7e3874e061d4] Performed Loco::SenderJob (Job ID: f08f51f8-e284-4e8e-8e70-7e3874e061d4) from Async(loco) in 0.82ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:12:41.559896Z"}} (via streamed from loco:notification_center:ceb57413-777d-4f37-8eaf-bfc40dffd753)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:12:41 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (3.2ms)
+ Rendered user/articles/show.json.jbuilder (3.7ms)
+Completed 200 OK in 10ms (Views: 2.6ms | ActiveRecord: 3.7ms)
+ [1m[35m (0.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (48.8ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (44.3ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (49.3ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (48.8ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (51.6ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (61.7ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A41.559896Z&uuid=ceb57413-777d-4f37-8eaf-bfc40dffd753" for 127.0.0.1 at 2018-01-04 16:12:41 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:41.559896Z", "uuid"=>"ceb57413-777d-4f37-8eaf-bfc40dffd753"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (46.5ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[36mLoco::Notification Load (9.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:41.559896') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:41.559896') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 11.7ms)
+ [1m[35m (46.0ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$oanlPAfVzq034CL0jKIT6OCzSM3bAfAupzw4SmSCkVnlNOKkYSi7.', '2018-01-04 15:12:42.037417', '2018-01-04 15:12:42.037417', 980190962)[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$2.1jfo8MZ4yYpdCX1Kz9UulGL2O0P6DdX.CnGNNEiLqrUkz8qnUJO', '2018-01-04 15:12:42.037417', '2018-01-04 15:12:42.037417', 298486374)[0m
+ [1m[36mFixture Delete (0.5ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$zaSAv2n7YTN0WSJ7wq1AtecQPdb7jvPzKkDczFoFcPkqJcrLEgP7K', '2017-12-28 15:12:42', '2018-01-04 15:12:42.041045', '2018-01-04 15:12:42.041045', 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$j/yzhFlkZ4JhHI81sZE5F.5oj.5lUP9O.nIc/yauv/VIL3CgotRM6', '2018-01-04 15:12:42.041045', '2018-01-04 15:12:42.041045', 15595101)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:42', '2018-01-04 15:12:42.044668', '2018-01-04 15:12:42.044668', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:42.044668', '2018-01-04 15:12:42.044668', 298486374, 872278135)[0m
+ [1m[35m (10.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+---------------------------------------------------------------------------
+User::ArticleEditPageTest: test_should_auto_remove_comment_if_was_destroyed
+---------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.2ms)
+ Rendered layouts/_head.html.erb (0.9ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 7b3c40c5-d900-4111-8ded-39ce948d93cd) to Async(loco) with arguments: #<GlobalID:0x00007f95230dea20 @uri=#<URI::GID gid://dummy/User/872278135>>, "ceb57413-777d-4f37-8eaf-bfc40dffd753", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:ceb57413-777d-4f37-8eaf-bfc40dffd753
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [7b3c40c5-d900-4111-8ded-39ce948d93cd] Performing Loco::UuidJob (Job ID: 7b3c40c5-d900-4111-8ded-39ce948d93cd) from Async(loco) with arguments: #<GlobalID:0x00007f951cd18a90 @uri=#<URI::GID gid://dummy/User/872278135>>, "ceb57413-777d-4f37-8eaf-bfc40dffd753", "del"
+[ActiveJob] [Loco::UuidJob] [7b3c40c5-d900-4111-8ded-39ce948d93cd] Performed Loco::UuidJob (Job ID: 7b3c40c5-d900-4111-8ded-39ce948d93cd) from Async(loco) in 0.32ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (8.0ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (3.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (3.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (11.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (13.8ms)
+ Rendered main/articles/index.json.jbuilder (24.9ms)
+Completed 200 OK in 38ms (Views: 7.8ms | ActiveRecord: 26.2ms)
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["6a1d184f-1c2f-4a4c-a3d8-160a84c27172", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$zaSAv2n7YTN0WSJ7wq1AtecQPdb7jvPzKkDczFoFcPk...", created_at: "2018-01-04 15:12:42", updated_at: "2018-01-04 15:12:42", confirmed_at: "2017-12-28 15:12:42">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 77f67fe7-4dfd-475d-8ecf-75c657aea476) to Async(loco) with arguments: "6a1d184f-1c2f-4a4c-a3d8-160a84c27172", {:loco=>{:uuid=>"6a1d184f-1c2f-4a4c-a3d8-160a84c27172"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 23eb39ab-99f5-4348-945b-d666e0640305) to Async(loco) with arguments: #<GlobalID:0x00007f951cccdf90 @uri=#<URI::GID gid://dummy/User/872278135>>, "6a1d184f-1c2f-4a4c-a3d8-160a84c27172", "add"
+[ActiveJob] [Loco::SenderJob] [77f67fe7-4dfd-475d-8ecf-75c657aea476] Performing Loco::SenderJob (Job ID: 77f67fe7-4dfd-475d-8ecf-75c657aea476) from Async(loco) with arguments: "6a1d184f-1c2f-4a4c-a3d8-160a84c27172", {:loco=>{:uuid=>"6a1d184f-1c2f-4a4c-a3d8-160a84c27172"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:6a1d184f-1c2f-4a4c-a3d8-160a84c27172
+[ActiveJob] [Loco::SenderJob] [77f67fe7-4dfd-475d-8ecf-75c657aea476] [ActionCable] Broadcasting to loco:notification_center:6a1d184f-1c2f-4a4c-a3d8-160a84c27172: {:loco=>{:uuid=>"6a1d184f-1c2f-4a4c-a3d8-160a84c27172"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [77f67fe7-4dfd-475d-8ecf-75c657aea476] Performed Loco::SenderJob (Job ID: 77f67fe7-4dfd-475d-8ecf-75c657aea476) from Async(loco) in 0.85ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"6a1d184f-1c2f-4a4c-a3d8-160a84c27172"}} (via streamed from loco:notification_center:6a1d184f-1c2f-4a4c-a3d8-160a84c27172)
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [23eb39ab-99f5-4348-945b-d666e0640305] Performing Loco::UuidJob (Job ID: 23eb39ab-99f5-4348-945b-d666e0640305) from Async(loco) with arguments: #<GlobalID:0x00007f951ccbe4f0 @uri=#<URI::GID gid://dummy/User/872278135>>, "6a1d184f-1c2f-4a4c-a3d8-160a84c27172", "add"
+[ActiveJob] [Loco::UuidJob] [23eb39ab-99f5-4348-945b-d666e0640305] Performed Loco::UuidJob (Job ID: 23eb39ab-99f5-4348-945b-d666e0640305) from Async(loco) in 0.67ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.8ms)
+ Rendered user/sessions/new.html.erb within layouts/application (2.2ms)
+ Rendered layouts/_head.html.erb (1.4ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 10ms (Views: 4.4ms | ActiveRecord: 2.1ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: b639cd12-2175-45fb-a1aa-41bac7249c9d) to Async(loco) with arguments: #<GlobalID:0x00007f951cccdf90 @uri=#<URI::GID gid://dummy/User/872278135>>, "6a1d184f-1c2f-4a4c-a3d8-160a84c27172", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:6a1d184f-1c2f-4a4c-a3d8-160a84c27172
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [b639cd12-2175-45fb-a1aa-41bac7249c9d] Performing Loco::UuidJob (Job ID: b639cd12-2175-45fb-a1aa-41bac7249c9d) from Async(loco) with arguments: #<GlobalID:0x00007f9521410a88 @uri=#<URI::GID gid://dummy/User/872278135>>, "6a1d184f-1c2f-4a4c-a3d8-160a84c27172", "del"
+[ActiveJob] [Loco::UuidJob] [b639cd12-2175-45fb-a1aa-41bac7249c9d] Performed Loco::UuidJob (Job ID: b639cd12-2175-45fb-a1aa-41bac7249c9d) from Async(loco) in 0.3ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (2.8ms)
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.1ms)
+ Rendered user/articles/index.json.jbuilder (8.9ms)
+Completed 200 OK in 20ms (Views: 5.3ms | ActiveRecord: 8.2ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["3ae38e3d-3acb-4db1-b14b-624be78f608e", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$zaSAv2n7YTN0WSJ7wq1AtecQPdb7jvPzKkDczFoFcPk...", created_at: "2018-01-04 15:12:42", updated_at: "2018-01-04 15:12:42", confirmed_at: "2017-12-28 15:12:42">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 392bfe28-1d81-4f1c-8ad3-b2cca5794b85) to Async(loco) with arguments: "3ae38e3d-3acb-4db1-b14b-624be78f608e", {:loco=>{:uuid=>"3ae38e3d-3acb-4db1-b14b-624be78f608e"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ad80bea3-b7d9-4e2c-9b66-328d891b9eb2) to Async(loco) with arguments: #<GlobalID:0x00007f951cc4a528 @uri=#<URI::GID gid://dummy/User/872278135>>, "3ae38e3d-3acb-4db1-b14b-624be78f608e", "add"
+[ActiveJob] [Loco::SenderJob] [392bfe28-1d81-4f1c-8ad3-b2cca5794b85] Performing Loco::SenderJob (Job ID: 392bfe28-1d81-4f1c-8ad3-b2cca5794b85) from Async(loco) with arguments: "3ae38e3d-3acb-4db1-b14b-624be78f608e", {:loco=>{:uuid=>"3ae38e3d-3acb-4db1-b14b-624be78f608e"}}
+[ActiveJob] [Loco::SenderJob] [392bfe28-1d81-4f1c-8ad3-b2cca5794b85] [ActionCable] Broadcasting to loco:notification_center:3ae38e3d-3acb-4db1-b14b-624be78f608e: {:loco=>{:uuid=>"3ae38e3d-3acb-4db1-b14b-624be78f608e"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:3ae38e3d-3acb-4db1-b14b-624be78f608e
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [392bfe28-1d81-4f1c-8ad3-b2cca5794b85] Performed Loco::SenderJob (Job ID: 392bfe28-1d81-4f1c-8ad3-b2cca5794b85) from Async(loco) in 1.2ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"3ae38e3d-3acb-4db1-b14b-624be78f608e"}} (via streamed from loco:notification_center:3ae38e3d-3acb-4db1-b14b-624be78f608e)
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ad80bea3-b7d9-4e2c-9b66-328d891b9eb2] Performing Loco::UuidJob (Job ID: ad80bea3-b7d9-4e2c-9b66-328d891b9eb2) from Async(loco) with arguments: #<GlobalID:0x00007f9521399050 @uri=#<URI::GID gid://dummy/User/872278135>>, "3ae38e3d-3acb-4db1-b14b-624be78f608e", "add"
+[ActiveJob] [Loco::UuidJob] [ad80bea3-b7d9-4e2c-9b66-328d891b9eb2] Performed Loco::UuidJob (Job ID: ad80bea3-b7d9-4e2c-9b66-328d891b9eb2) from Async(loco) in 0.56ms
+ [1m[36mArticle Load (1.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+Started GET "/user/articles/298486374/edit" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by User::ArticlesController#edit as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (5.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (2.9ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updating', '{\"mark\":\"1515078762.871159\",\"id\":298486374}', 'User', 872278135, '2018-01-04 15:12:42.874089', '2018-01-04 15:12:42.874089')[0m
+ [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 298486374, '2018-01-04 15:12:42.877204', '2018-01-04 15:12:42.877204', 0, 0, 3)[0m
+ [1m[35m (13.4ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 6d9163fc-ae0e-4d0e-bfdd-282d0371cac8) to Async(loco) with arguments: #<GlobalID:0x00007f95212e0870 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078762.871159", "id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 69f4e432-8173-4aeb-a5fd-ed23854124e9) to Async(loco) with arguments: #<GlobalID:0x00007f951d42ac48 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:42.874089Z"}}
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/edit.html.erb within layouts/user
+ [1m[35m (23.3ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [6d9163fc-ae0e-4d0e-bfdd-282d0371cac8] Performing Loco::SenderJob (Job ID: 6d9163fc-ae0e-4d0e-bfdd-282d0371cac8) from Async(loco) with arguments: #<GlobalID:0x00007f951d41a7a8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078762.871159", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [69f4e432-8173-4aeb-a5fd-ed23854124e9] Performing Loco::SenderJob (Job ID: 69f4e432-8173-4aeb-a5fd-ed23854124e9) from Async(loco) with arguments: #<GlobalID:0x00007f95212d2e00 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:42.874089Z"}}
+ Rendered user/articles/_form.html.erb (1.9ms)
+ [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
+[ActiveJob] [Loco::SenderJob] [6d9163fc-ae0e-4d0e-bfdd-282d0371cac8] [ActionCable] Broadcasting to loco:notification_center:3ae38e3d-3acb-4db1-b14b-624be78f608e: {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078762.871159", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [69f4e432-8173-4aeb-a5fd-ed23854124e9] [ActionCable] Broadcasting to loco:notification_center:3ae38e3d-3acb-4db1-b14b-624be78f608e: {:loco=>{:sync_time=>"2018-01-04T15:12:42.874089Z"}}
+ Rendered user/articles/edit.html.erb within layouts/user (7.7ms)
+[ActiveJob] [Loco::SenderJob] [6d9163fc-ae0e-4d0e-bfdd-282d0371cac8] Performed Loco::SenderJob (Job ID: 6d9163fc-ae0e-4d0e-bfdd-282d0371cac8) from Async(loco) in 2.44ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updating", {"mark"=>"1515078762.871159", "id"=>298486374}]}} (via streamed from loco:notification_center:3ae38e3d-3acb-4db1-b14b-624be78f608e)
+[ActiveJob] [Loco::SenderJob] [69f4e432-8173-4aeb-a5fd-ed23854124e9] Performed Loco::SenderJob (Job ID: 69f4e432-8173-4aeb-a5fd-ed23854124e9) from Async(loco) in 2.68ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:12:42.874089Z"}} (via streamed from loco:notification_center:3ae38e3d-3acb-4db1-b14b-624be78f608e)
+ Rendered layouts/_head.html.erb (1.0ms)
+ [1m[35mSQL (2.8ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":298486374,\"id\":1}', '2018-01-04 15:12:42.918470', '2018-01-04 15:12:42.918470')[0m
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 67ms (Views: 23.0ms | ActiveRecord: 23.7ms)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[35m (13.5ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: db8cea6d-4fe0-4c5b-a0a7-443c117b3102) to Async(loco) with arguments: "3ae38e3d-3acb-4db1-b14b-624be78f608e", {:loco=>{:xhr_notifications=>true}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+[ActiveJob] [Loco::SenderJob] [db8cea6d-4fe0-4c5b-a0a7-443c117b3102] Performing Loco::SenderJob (Job ID: db8cea6d-4fe0-4c5b-a0a7-443c117b3102) from Async(loco) with arguments: "3ae38e3d-3acb-4db1-b14b-624be78f608e", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [db8cea6d-4fe0-4c5b-a0a7-443c117b3102] [ActionCable] Broadcasting to loco:notification_center:3ae38e3d-3acb-4db1-b14b-624be78f608e: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [db8cea6d-4fe0-4c5b-a0a7-443c117b3102] Performed Loco::SenderJob (Job ID: db8cea6d-4fe0-4c5b-a0a7-443c117b3102) from Async(loco) in 1.09ms
+ [1m[36mUser Load (3.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:42 +0100
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:3ae38e3d-3acb-4db1-b14b-624be78f608e)
+ [1m[36mArticle Load (3.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (4.1ms)
+ Rendered user/articles/show.json.jbuilder (4.7ms)
+Completed 200 OK in 22ms (Views: 3.7ms | ActiveRecord: 9.0ms)
+ [1m[36mArticle Load (2.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[36mComment Load (2.1ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/_comment.json.jbuilder (0.8ms)
+ Rendered user/comments/index.json.jbuilder (6.2ms)
+Completed 200 OK in 20ms (Views: 4.8ms | ActiveRecord: 8.3ms)
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.0ms)[0m [1m[31mDELETE FROM `comments` WHERE `comments`.`id` = 1[0m
+ [1m[35m (7.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'destroyed', '{\"article_id\":298486374,\"id\":1}', '2018-01-04 15:12:43.033045', '2018-01-04 15:12:43.033045')[0m
+ [1m[35m (9.8ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [2ff02839-ee50-4cba-ab28-05009d490339] Performing Loco::SenderJob (Job ID: 2ff02839-ee50-4cba-ab28-05009d490339) from Async(loco) with arguments: "3ae38e3d-3acb-4db1-b14b-624be78f608e", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 2ff02839-ee50-4cba-ab28-05009d490339) to Async(loco) with arguments: "3ae38e3d-3acb-4db1-b14b-624be78f608e", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [2ff02839-ee50-4cba-ab28-05009d490339] [ActionCable] Broadcasting to loco:notification_center:3ae38e3d-3acb-4db1-b14b-624be78f608e: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [2ff02839-ee50-4cba-ab28-05009d490339] Performed Loco::SenderJob (Job ID: 2ff02839-ee50-4cba-ab28-05009d490339) from Async(loco) in 0.4ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:3ae38e3d-3acb-4db1-b14b-624be78f608e)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A42.941286Z&uuid=3ae38e3d-3acb-4db1-b14b-624be78f608e" for 127.0.0.1 at 2018-01-04 16:12:43 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:42.941286Z", "uuid"=>"3ae38e3d-3acb-4db1-b14b-624be78f608e"}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:42.941286') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:42.941286') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 3.6ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A43.058879Z&uuid=3ae38e3d-3acb-4db1-b14b-624be78f608e" for 127.0.0.1 at 2018-01-04 16:12:43 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:43.058879Z", "uuid"=>"3ae38e3d-3acb-4db1-b14b-624be78f608e"}
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:43.058879') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:43.058879') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 5.8ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A43.728963Z&uuid=3ae38e3d-3acb-4db1-b14b-624be78f608e" for 127.0.0.1 at 2018-01-04 16:12:44 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:43.728963Z", "uuid"=>"3ae38e3d-3acb-4db1-b14b-624be78f608e"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:43.728963') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:43.728963') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 3.7ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A44.720906Z&uuid=3ae38e3d-3acb-4db1-b14b-624be78f608e" for 127.0.0.1 at 2018-01-04 16:12:45 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:44.720906Z", "uuid"=>"3ae38e3d-3acb-4db1-b14b-624be78f608e"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:44.720906') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:44.720906') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 6.9ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A45.722078Z&uuid=3ae38e3d-3acb-4db1-b14b-624be78f608e" for 127.0.0.1 at 2018-01-04 16:12:46 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:45.722078Z", "uuid"=>"3ae38e3d-3acb-4db1-b14b-624be78f608e"}
+ [1m[36mUser Load (6.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:45.722078') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:45.722078') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 10.9ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A46.731229Z&uuid=3ae38e3d-3acb-4db1-b14b-624be78f608e" for 127.0.0.1 at 2018-01-04 16:12:47 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:46.731229Z", "uuid"=>"3ae38e3d-3acb-4db1-b14b-624be78f608e"}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:46.731229') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:46.731229') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 6.0ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A47.721467Z&uuid=3ae38e3d-3acb-4db1-b14b-624be78f608e" for 127.0.0.1 at 2018-01-04 16:12:48 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:47.721467Z", "uuid"=>"3ae38e3d-3acb-4db1-b14b-624be78f608e"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:47.721467') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:47.721467') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.1ms)
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (52.0ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (51.3ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (43.4ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (60.2ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (45.4ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (51.9ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (37.3ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (56.8ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$pyt4cJgkI5v6mFno3VvdGu7SOC8DNmMNEY7DTpZp/L6ZeeTrwk9.G', '2018-01-04 15:12:49.552119', '2018-01-04 15:12:49.552119', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$E88.bG/eIznPQp0hn6Jm0.adTQh0Lto6RfVQw.eL5fO2pCfqqjw5W', '2018-01-04 15:12:49.552119', '2018-01-04 15:12:49.552119', 298486374)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$E8YU5yKDYMTpDHnoA66IoOCD3RzSy0TtNPZCFvfFpkfnHsSZ/UYLq', '2017-12-28 15:12:49', '2018-01-04 15:12:49.557129', '2018-01-04 15:12:49.557129', 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$YzaXfVcTpN1.D/m3Qr08XOOf1PGqIwfmPSaVOiynIFKHybv53xEoO', '2018-01-04 15:12:49.557129', '2018-01-04 15:12:49.557129', 15595101)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:49', '2018-01-04 15:12:49.562034', '2018-01-04 15:12:49.562034', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:49.562034', '2018-01-04 15:12:49.562034', 298486374, 872278135)[0m
+ [1m[35m (11.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+----------------------------------------------------------------------------------------------------
+User::ArticleEditPageTest: test_should_auto_redirect_to_list_of_articles_if_article_has_been_deleted
+----------------------------------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:49 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:49 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ba2d54b4-ee31-4ae3-88eb-1f435a1ea1a9) to Async(loco) with arguments: #<GlobalID:0x00007f951cc4a528 @uri=#<URI::GID gid://dummy/User/872278135>>, "3ae38e3d-3acb-4db1-b14b-624be78f608e", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:3ae38e3d-3acb-4db1-b14b-624be78f608e
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ba2d54b4-ee31-4ae3-88eb-1f435a1ea1a9] Performing Loco::UuidJob (Job ID: ba2d54b4-ee31-4ae3-88eb-1f435a1ea1a9) from Async(loco) with arguments: #<GlobalID:0x00007f951d6e9d30 @uri=#<URI::GID gid://dummy/User/872278135>>, "3ae38e3d-3acb-4db1-b14b-624be78f608e", "del"
+[ActiveJob] [Loco::UuidJob] [ba2d54b4-ee31-4ae3-88eb-1f435a1ea1a9] Performed Loco::UuidJob (Job ID: ba2d54b4-ee31-4ae3-88eb-1f435a1ea1a9) from Async(loco) in 0.27ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:49 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:49 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:49 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:49 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:49 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (28.0ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mUser Load (5.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (5.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mAdmin Load (6.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$E8YU5yKDYMTpDHnoA66IoOCD3RzSy0TtNPZCFvfFpkf...", created_at: "2018-01-04 15:12:49", updated_at: "2018-01-04 15:12:49", confirmed_at: "2017-12-28 15:12:49">, nil])
+ [1m[36mUser Load (5.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (7.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (14.5ms)
+ Rendered main/articles/index.json.jbuilder (30.1ms)
+Completed 200 OK in 69ms (Views: 12.5ms | ActiveRecord: 46.6ms)
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 82c4a72b-a528-4324-891b-f98933709235) to Async(loco) with arguments: "42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a", {:loco=>{:uuid=>"42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a
+[ActiveJob] [Loco::SenderJob] [82c4a72b-a528-4324-891b-f98933709235] Performing Loco::SenderJob (Job ID: 82c4a72b-a528-4324-891b-f98933709235) from Async(loco) with arguments: "42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a", {:loco=>{:uuid=>"42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: d50b1d7d-93b0-405a-a9a4-99a0824b764e) to Async(loco) with arguments: #<GlobalID:0x00007f9521ce7828 @uri=#<URI::GID gid://dummy/User/872278135>>, "42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a", "add"
+[ActiveJob] [Loco::SenderJob] [82c4a72b-a528-4324-891b-f98933709235] [ActionCable] Broadcasting to loco:notification_center:42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a: {:loco=>{:uuid=>"42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a"}}
+[ActiveJob] [Loco::SenderJob] [82c4a72b-a528-4324-891b-f98933709235] Performed Loco::SenderJob (Job ID: 82c4a72b-a528-4324-891b-f98933709235) from Async(loco) in 1.82ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a"}} (via streamed from loco:notification_center:42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a)
+ [1m[36mUser Load (5.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [d50b1d7d-93b0-405a-a9a4-99a0824b764e] Performing Loco::UuidJob (Job ID: d50b1d7d-93b0-405a-a9a4-99a0824b764e) from Async(loco) with arguments: #<GlobalID:0x00007f95230c7000 @uri=#<URI::GID gid://dummy/User/872278135>>, "42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a", "add"
+[ActiveJob] [Loco::UuidJob] [d50b1d7d-93b0-405a-a9a4-99a0824b764e] Performed Loco::UuidJob (Job ID: d50b1d7d-93b0-405a-a9a4-99a0824b764e) from Async(loco) in 0.7ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:12:49 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (1.0ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.4ms)
+ Rendered layouts/_head.html.erb (1.4ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:49 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 13ms (ActiveRecord: 1.7ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (2.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 10ms (Views: 4.7ms | ActiveRecord: 1.9ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: b51b1a94-a61e-4f5b-979e-f911c0e4383b) to Async(loco) with arguments: #<GlobalID:0x00007f9521ce7828 @uri=#<URI::GID gid://dummy/User/872278135>>, "42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [b51b1a94-a61e-4f5b-979e-f911c0e4383b] Performing Loco::UuidJob (Job ID: b51b1a94-a61e-4f5b-979e-f911c0e4383b) from Async(loco) with arguments: #<GlobalID:0x00007f951d64a370 @uri=#<URI::GID gid://dummy/User/872278135>>, "42ffcf69-5d6c-4cc0-ba38-a92d0b9c868a", "del"
+[ActiveJob] [Loco::UuidJob] [b51b1a94-a61e-4f5b-979e-f911c0e4383b] Performed Loco::UuidJob (Job ID: b51b1a94-a61e-4f5b-979e-f911c0e4383b) from Async(loco) in 0.28ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.7ms)
+ [1m[35m (3.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (6.3ms)
+ Rendered user/articles/index.json.jbuilder (15.7ms)
+Completed 200 OK in 29ms (Views: 10.5ms | ActiveRecord: 11.2ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["05ef1b5b-e3d1-406a-943d-65a39d1f9dc3", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$E8YU5yKDYMTpDHnoA66IoOCD3RzSy0TtNPZCFvfFpkf...", created_at: "2018-01-04 15:12:49", updated_at: "2018-01-04 15:12:49", confirmed_at: "2017-12-28 15:12:49">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: bc18b755-e80f-4356-84e4-f9dea559dbc6) to Async(loco) with arguments: "05ef1b5b-e3d1-406a-943d-65a39d1f9dc3", {:loco=>{:uuid=>"05ef1b5b-e3d1-406a-943d-65a39d1f9dc3"}}
+[ActiveJob] [Loco::SenderJob] [bc18b755-e80f-4356-84e4-f9dea559dbc6] Performing Loco::SenderJob (Job ID: bc18b755-e80f-4356-84e4-f9dea559dbc6) from Async(loco) with arguments: "05ef1b5b-e3d1-406a-943d-65a39d1f9dc3", {:loco=>{:uuid=>"05ef1b5b-e3d1-406a-943d-65a39d1f9dc3"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: f30c07ff-f08f-4f26-b0f0-20e22c191e16) to Async(loco) with arguments: #<GlobalID:0x00007f9521b7c718 @uri=#<URI::GID gid://dummy/User/872278135>>, "05ef1b5b-e3d1-406a-943d-65a39d1f9dc3", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:05ef1b5b-e3d1-406a-943d-65a39d1f9dc3
+[ActiveJob] [Loco::SenderJob] [bc18b755-e80f-4356-84e4-f9dea559dbc6] [ActionCable] Broadcasting to loco:notification_center:05ef1b5b-e3d1-406a-943d-65a39d1f9dc3: {:loco=>{:uuid=>"05ef1b5b-e3d1-406a-943d-65a39d1f9dc3"}}
+[ActiveJob] [Loco::SenderJob] [bc18b755-e80f-4356-84e4-f9dea559dbc6] Performed Loco::SenderJob (Job ID: bc18b755-e80f-4356-84e4-f9dea559dbc6) from Async(loco) in 1.94ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"05ef1b5b-e3d1-406a-943d-65a39d1f9dc3"}} (via streamed from loco:notification_center:05ef1b5b-e3d1-406a-943d-65a39d1f9dc3)
+ [1m[36mUser Load (4.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f30c07ff-f08f-4f26-b0f0-20e22c191e16] Performing Loco::UuidJob (Job ID: f30c07ff-f08f-4f26-b0f0-20e22c191e16) from Async(loco) with arguments: #<GlobalID:0x00007f952178c158 @uri=#<URI::GID gid://dummy/User/872278135>>, "05ef1b5b-e3d1-406a-943d-65a39d1f9dc3", "add"
+[ActiveJob] [Loco::UuidJob] [f30c07ff-f08f-4f26-b0f0-20e22c191e16] Performed Loco::UuidJob (Job ID: f30c07ff-f08f-4f26-b0f0-20e22c191e16) from Async(loco) in 0.82ms
+ [1m[36mArticle Load (4.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+Started GET "/user/articles/298486374/edit" for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+Processing by User::ArticlesController#edit as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (6.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (5.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (2.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (2.6ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updating', '{\"mark\":\"1515078770.743344\",\"id\":298486374}', 'User', 872278135, '2018-01-04 15:12:50.748007', '2018-01-04 15:12:50.748007')[0m
+ [1m[35m (11.2ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: dd00201b-f80e-4c02-bccd-1f9773d593db) to Async(loco) with arguments: #<GlobalID:0x00007f951d5d0520 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078770.743344", "id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 972279f1-f08c-42aa-9dea-1e348b113989) to Async(loco) with arguments: #<GlobalID:0x00007f951cd82ff8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:50.748007Z"}}
+ Rendering user/articles/edit.html.erb within layouts/user
+ Rendered user/articles/_form.html.erb (2.4ms)
+ Rendered user/articles/edit.html.erb within layouts/user (5.0ms)
+ Rendered layouts/_head.html.erb (1.7ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ [1m[36mUser Load (3.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Completed 200 OK in 55ms (Views: 10.3ms | ActiveRecord: 29.1ms)
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [dd00201b-f80e-4c02-bccd-1f9773d593db] Performing Loco::SenderJob (Job ID: dd00201b-f80e-4c02-bccd-1f9773d593db) from Async(loco) with arguments: #<GlobalID:0x00007f951cd64f08 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078770.743344", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [dd00201b-f80e-4c02-bccd-1f9773d593db] [ActionCable] Broadcasting to loco:notification_center:05ef1b5b-e3d1-406a-943d-65a39d1f9dc3: {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078770.743344", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [dd00201b-f80e-4c02-bccd-1f9773d593db] Performed Loco::SenderJob (Job ID: dd00201b-f80e-4c02-bccd-1f9773d593db) from Async(loco) in 0.56ms
+[ActiveJob] [Loco::SenderJob] [972279f1-f08c-42aa-9dea-1e348b113989] Performing Loco::SenderJob (Job ID: 972279f1-f08c-42aa-9dea-1e348b113989) from Async(loco) with arguments: #<GlobalID:0x00007f951cd37530 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:50.748007Z"}}
+[ActiveJob] [Loco::SenderJob] [972279f1-f08c-42aa-9dea-1e348b113989] [ActionCable] Broadcasting to loco:notification_center:05ef1b5b-e3d1-406a-943d-65a39d1f9dc3: {:loco=>{:sync_time=>"2018-01-04T15:12:50.748007Z"}}
+[ActiveJob] [Loco::SenderJob] [972279f1-f08c-42aa-9dea-1e348b113989] Performed Loco::SenderJob (Job ID: 972279f1-f08c-42aa-9dea-1e348b113989) from Async(loco) in 0.55ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updating", {"mark"=>"1515078770.743344", "id"=>298486374}]}} (via streamed from loco:notification_center:05ef1b5b-e3d1-406a-943d-65a39d1f9dc3)
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:12:50.748007Z"}} (via streamed from loco:notification_center:05ef1b5b-e3d1-406a-943d-65a39d1f9dc3)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (8.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (5.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (7.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[36mArticle Load (4.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (4.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (6.5ms)
+ Rendered user/articles/show.json.jbuilder (7.3ms)
+Completed 200 OK in 34ms (Views: 4.1ms | ActiveRecord: 19.7ms)
+ [1m[35m (7.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[36mComment Load (1.8ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/index.json.jbuilder (3.1ms)
+Completed 200 OK in 37ms (Views: 2.3ms | ActiveRecord: 19.8ms)
+ [1m[35m (4.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mComment Load (4.3ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ [1m[35mSQL (4.6ms)[0m [1m[31mDELETE FROM `articles` WHERE `articles`.`id` = 298486374[0m
+ [1m[35m (13.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (2.5ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'destroyed', '{\"id\":298486374}', 'User', 872278135, '2018-01-04 15:12:50.894388', '2018-01-04 15:12:50.894388')[0m
+ [1m[35m (15.4ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: af9a01f9-3481-4abd-97b3-12ffdab888ea) to Async(loco) with arguments: #<GlobalID:0x00007f951d55b888 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "destroyed", {"id"=>298486374}]}}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 6da64485-e07c-4643-b4ed-663d58f2699d) to Async(loco) with arguments: #<GlobalID:0x00007f951cc81618 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:50.894388Z"}}
+[ActiveJob] [Loco::SenderJob] [af9a01f9-3481-4abd-97b3-12ffdab888ea] Performing Loco::SenderJob (Job ID: af9a01f9-3481-4abd-97b3-12ffdab888ea) from Async(loco) with arguments: #<GlobalID:0x00007f9521a2ad88 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "destroyed", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [af9a01f9-3481-4abd-97b3-12ffdab888ea] [ActionCable] Broadcasting to loco:notification_center:05ef1b5b-e3d1-406a-943d-65a39d1f9dc3: {:loco=>{:notification=>["Article", 298486374, "destroyed", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [af9a01f9-3481-4abd-97b3-12ffdab888ea] Performed Loco::SenderJob (Job ID: af9a01f9-3481-4abd-97b3-12ffdab888ea) from Async(loco) in 0.7ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "destroyed", {"id"=>298486374}]}} (via streamed from loco:notification_center:05ef1b5b-e3d1-406a-943d-65a39d1f9dc3)
+ [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [6da64485-e07c-4643-b4ed-663d58f2699d] Performing Loco::SenderJob (Job ID: 6da64485-e07c-4643-b4ed-663d58f2699d) from Async(loco) with arguments: #<GlobalID:0x00007f9521a21e40 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:50.894388Z"}}
+[ActiveJob] [Loco::SenderJob] [6da64485-e07c-4643-b4ed-663d58f2699d] [ActionCable] Broadcasting to loco:notification_center:05ef1b5b-e3d1-406a-943d-65a39d1f9dc3: {:loco=>{:sync_time=>"2018-01-04T15:12:50.894388Z"}}
+[ActiveJob] [Loco::SenderJob] [6da64485-e07c-4643-b4ed-663d58f2699d] Performed Loco::SenderJob (Job ID: 6da64485-e07c-4643-b4ed-663d58f2699d) from Async(loco) in 0.45ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:12:50.894388Z"}} (via streamed from loco:notification_center:05ef1b5b-e3d1-406a-943d-65a39d1f9dc3)
+Started GET "/user/articles?message=deleted" for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+Processing by User::ArticlesController#index as HTML
+ Parameters: {"message"=>"deleted"}
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 4.0ms | ActiveRecord: 1.7ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:50 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: e0264043-3054-4b05-b874-fdb46e3deffa) to Async(loco) with arguments: #<GlobalID:0x00007f9521b7c718 @uri=#<URI::GID gid://dummy/User/872278135>>, "05ef1b5b-e3d1-406a-943d-65a39d1f9dc3", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:05ef1b5b-e3d1-406a-943d-65a39d1f9dc3
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (8.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [e0264043-3054-4b05-b874-fdb46e3deffa] Performing Loco::UuidJob (Job ID: e0264043-3054-4b05-b874-fdb46e3deffa) from Async(loco) with arguments: #<GlobalID:0x00007f95215e15b0 @uri=#<URI::GID gid://dummy/User/872278135>>, "05ef1b5b-e3d1-406a-943d-65a39d1f9dc3", "del"
+[ActiveJob] [Loco::UuidJob] [e0264043-3054-4b05-b874-fdb46e3deffa] Performed Loco::UuidJob (Job ID: e0264043-3054-4b05-b874-fdb46e3deffa) from Async(loco) in 0.35ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:51 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:51 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:51 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.5ms)
+ Rendered user/articles/index.json.jbuilder (6.7ms)
+Completed 200 OK in 16ms (Views: 4.8ms | ActiveRecord: 5.5ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:51 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:51 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["c7965a34-e291-47f3-9192-49ad03902907", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$E8YU5yKDYMTpDHnoA66IoOCD3RzSy0TtNPZCFvfFpkf...", created_at: "2018-01-04 15:12:49", updated_at: "2018-01-04 15:12:49", confirmed_at: "2017-12-28 15:12:49">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 84b5a2b6-5904-452b-901e-880adb155d32) to Async(loco) with arguments: "c7965a34-e291-47f3-9192-49ad03902907", {:loco=>{:uuid=>"c7965a34-e291-47f3-9192-49ad03902907"}}
+[ActiveJob] [Loco::SenderJob] [84b5a2b6-5904-452b-901e-880adb155d32] Performing Loco::SenderJob (Job ID: 84b5a2b6-5904-452b-901e-880adb155d32) from Async(loco) with arguments: "c7965a34-e291-47f3-9192-49ad03902907", {:loco=>{:uuid=>"c7965a34-e291-47f3-9192-49ad03902907"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 0eaf1857-82f9-4371-9622-bccc59f6e8a4) to Async(loco) with arguments: #<GlobalID:0x00007f951d4a0498 @uri=#<URI::GID gid://dummy/User/872278135>>, "c7965a34-e291-47f3-9192-49ad03902907", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:c7965a34-e291-47f3-9192-49ad03902907
+[ActiveJob] [Loco::SenderJob] [84b5a2b6-5904-452b-901e-880adb155d32] [ActionCable] Broadcasting to loco:notification_center:c7965a34-e291-47f3-9192-49ad03902907: {:loco=>{:uuid=>"c7965a34-e291-47f3-9192-49ad03902907"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [84b5a2b6-5904-452b-901e-880adb155d32] Performed Loco::SenderJob (Job ID: 84b5a2b6-5904-452b-901e-880adb155d32) from Async(loco) in 1.45ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"c7965a34-e291-47f3-9192-49ad03902907"}} (via streamed from loco:notification_center:c7965a34-e291-47f3-9192-49ad03902907)
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [0eaf1857-82f9-4371-9622-bccc59f6e8a4] Performing Loco::UuidJob (Job ID: 0eaf1857-82f9-4371-9622-bccc59f6e8a4) from Async(loco) with arguments: #<GlobalID:0x00007f95215c3a60 @uri=#<URI::GID gid://dummy/User/872278135>>, "c7965a34-e291-47f3-9192-49ad03902907", "add"
+[ActiveJob] [Loco::UuidJob] [0eaf1857-82f9-4371-9622-bccc59f6e8a4] Performed Loco::UuidJob (Job ID: 0eaf1857-82f9-4371-9622-bccc59f6e8a4) from Async(loco) in 0.68ms
+ [1m[35m (2.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (54.5ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (62.2ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (51.6ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (62.7ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (48.4ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (60.5ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (48.9ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (59.9ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.5ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (2.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (5.1ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (3.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$aqoqzRIJmT8kxhse.2Mrq.2ryjbGXOwZFUjANo6wjBHI9K70GGlU.', '2018-01-04 15:12:51.712622', '2018-01-04 15:12:51.712622', 980190962)[0m
+ [1m[36mFixture Insert (6.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$anG6WOYtlAtCc4kc6qDEWO66q7lQ7ZYobVGpX2cffnc07Zd5QUjZa', '2018-01-04 15:12:51.712622', '2018-01-04 15:12:51.712622', 298486374)[0m
+ [1m[36mFixture Delete (2.4ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (4.2ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$ZrSSt.ynkLURtvuD0Dqq.Oh7rKbRxC1W8qFM1XNCxsYD5.g/TsU8q', '2017-12-28 15:12:51', '2018-01-04 15:12:51.733664', '2018-01-04 15:12:51.733664', 872278135)[0m
+ [1m[36mFixture Insert (1.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$09gwXK0MISnrQ/GiHJ42.uMB61hpKV3Tq1nJ.saVl4R4XWXLHDKVC', '2018-01-04 15:12:51.733664', '2018-01-04 15:12:51.733664', 15595101)[0m
+ [1m[36mFixture Delete (1.4ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.4ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:51', '2018-01-04 15:12:51.747372', '2018-01-04 15:12:51.747372', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:12:51.747372', '2018-01-04 15:12:51.747372', 298486374, 872278135)[0m
+ [1m[35m (12.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.3ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+------------------------------------------------------
+User::ArticleEditPageTest: test_should_approve_comment
+------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:12:51 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.3ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:51 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 11654c4f-aa01-4aa3-a9de-b3832d1237f3) to Async(loco) with arguments: #<GlobalID:0x00007f951d4a0498 @uri=#<URI::GID gid://dummy/User/872278135>>, "c7965a34-e291-47f3-9192-49ad03902907", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:c7965a34-e291-47f3-9192-49ad03902907
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [11654c4f-aa01-4aa3-a9de-b3832d1237f3] Performing Loco::UuidJob (Job ID: 11654c4f-aa01-4aa3-a9de-b3832d1237f3) from Async(loco) with arguments: #<GlobalID:0x00007f9521429240 @uri=#<URI::GID gid://dummy/User/872278135>>, "c7965a34-e291-47f3-9192-49ad03902907", "del"
+[ActiveJob] [Loco::UuidJob] [11654c4f-aa01-4aa3-a9de-b3832d1237f3] Performed Loco::UuidJob (Job ID: 11654c4f-aa01-4aa3-a9de-b3832d1237f3) from Async(loco) in 0.39ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:51 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:51 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:51 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (3.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (7.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (10.7ms)
+ Rendered main/articles/index.json.jbuilder (22.1ms)
+Completed 200 OK in 30ms (Views: 11.0ms | ActiveRecord: 15.7ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:51 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:51 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["8e363fdd-f38c-40d2-8c99-a6d8e7374390", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$ZrSSt.ynkLURtvuD0Dqq.Oh7rKbRxC1W8qFM1XNCxsY...", created_at: "2018-01-04 15:12:51", updated_at: "2018-01-04 15:12:51", confirmed_at: "2017-12-28 15:12:51">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 06217884-ae6a-417c-aa50-3a4aa22e0818) to Async(loco) with arguments: "8e363fdd-f38c-40d2-8c99-a6d8e7374390", {:loco=>{:uuid=>"8e363fdd-f38c-40d2-8c99-a6d8e7374390"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:8e363fdd-f38c-40d2-8c99-a6d8e7374390
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 30bb0b68-ceb9-40a6-83a1-b38fda1974a4) to Async(loco) with arguments: #<GlobalID:0x00007f95213e23b8 @uri=#<URI::GID gid://dummy/User/872278135>>, "8e363fdd-f38c-40d2-8c99-a6d8e7374390", "add"
+[ActiveJob] [Loco::SenderJob] [06217884-ae6a-417c-aa50-3a4aa22e0818] Performing Loco::SenderJob (Job ID: 06217884-ae6a-417c-aa50-3a4aa22e0818) from Async(loco) with arguments: "8e363fdd-f38c-40d2-8c99-a6d8e7374390", {:loco=>{:uuid=>"8e363fdd-f38c-40d2-8c99-a6d8e7374390"}}
+[ActiveJob] [Loco::SenderJob] [06217884-ae6a-417c-aa50-3a4aa22e0818] [ActionCable] Broadcasting to loco:notification_center:8e363fdd-f38c-40d2-8c99-a6d8e7374390: {:loco=>{:uuid=>"8e363fdd-f38c-40d2-8c99-a6d8e7374390"}}
+[ActiveJob] [Loco::SenderJob] [06217884-ae6a-417c-aa50-3a4aa22e0818] Performed Loco::SenderJob (Job ID: 06217884-ae6a-417c-aa50-3a4aa22e0818) from Async(loco) in 0.42ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"8e363fdd-f38c-40d2-8c99-a6d8e7374390"}} (via streamed from loco:notification_center:8e363fdd-f38c-40d2-8c99-a6d8e7374390)
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [30bb0b68-ceb9-40a6-83a1-b38fda1974a4] Performing Loco::UuidJob (Job ID: 30bb0b68-ceb9-40a6-83a1-b38fda1974a4) from Async(loco) with arguments: #<GlobalID:0x00007f95213b81d0 @uri=#<URI::GID gid://dummy/User/872278135>>, "8e363fdd-f38c-40d2-8c99-a6d8e7374390", "add"
+[ActiveJob] [Loco::UuidJob] [30bb0b68-ceb9-40a6-83a1-b38fda1974a4] Performed Loco::UuidJob (Job ID: 30bb0b68-ceb9-40a6-83a1-b38fda1974a4) from Async(loco) in 0.8ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.4ms)
+ Rendered user/sessions/new.html.erb within layouts/application (0.8ms)
+ Rendered layouts/_head.html.erb (1.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 10ms (ActiveRecord: 2.2ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.3ms)
+ Rendered layouts/_head.html.erb (1.9ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 10ms (Views: 5.0ms | ActiveRecord: 1.3ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 1b4056cd-85da-4278-9d3e-741f80583a22) to Async(loco) with arguments: #<GlobalID:0x00007f95213e23b8 @uri=#<URI::GID gid://dummy/User/872278135>>, "8e363fdd-f38c-40d2-8c99-a6d8e7374390", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:8e363fdd-f38c-40d2-8c99-a6d8e7374390
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [1b4056cd-85da-4278-9d3e-741f80583a22] Performing Loco::UuidJob (Job ID: 1b4056cd-85da-4278-9d3e-741f80583a22) from Async(loco) with arguments: #<GlobalID:0x00007f952192b298 @uri=#<URI::GID gid://dummy/User/872278135>>, "8e363fdd-f38c-40d2-8c99-a6d8e7374390", "del"
+[ActiveJob] [Loco::UuidJob] [1b4056cd-85da-4278-9d3e-741f80583a22] Performed Loco::UuidJob (Job ID: 1b4056cd-85da-4278-9d3e-741f80583a22) from Async(loco) in 0.28ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Processing by User::ArticlesController#index as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ Parameters: {"page"=>"1", "article"=>{}}
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (7.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (4.9ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+ Rendering user/articles/index.json.jbuilder
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mArticle Load (3.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[36mUser Load (4.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["31848747-3e50-4689-a2ea-19b13976dc5f", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$ZrSSt.ynkLURtvuD0Dqq.Oh7rKbRxC1W8qFM1XNCxsY...", created_at: "2018-01-04 15:12:51", updated_at: "2018-01-04 15:12:51", confirmed_at: "2017-12-28 15:12:51">, nil])
+ [1m[35m (6.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (9.2ms)
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: f77f2b19-30da-4448-baaf-822f3302df5b) to Async(loco) with arguments: "31848747-3e50-4689-a2ea-19b13976dc5f", {:loco=>{:uuid=>"31848747-3e50-4689-a2ea-19b13976dc5f"}}
+[ActiveJob] [Loco::SenderJob] [f77f2b19-30da-4448-baaf-822f3302df5b] Performing Loco::SenderJob (Job ID: f77f2b19-30da-4448-baaf-822f3302df5b) from Async(loco) with arguments: "31848747-3e50-4689-a2ea-19b13976dc5f", {:loco=>{:uuid=>"31848747-3e50-4689-a2ea-19b13976dc5f"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: a683468f-c78c-475f-a064-3900430c3d01) to Async(loco) with arguments: #<GlobalID:0x00007f95218c0308 @uri=#<URI::GID gid://dummy/User/872278135>>, "31848747-3e50-4689-a2ea-19b13976dc5f", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:31848747-3e50-4689-a2ea-19b13976dc5f
+[ActiveJob] [Loco::SenderJob] [f77f2b19-30da-4448-baaf-822f3302df5b] [ActionCable] Broadcasting to loco:notification_center:31848747-3e50-4689-a2ea-19b13976dc5f: {:loco=>{:uuid=>"31848747-3e50-4689-a2ea-19b13976dc5f"}}
+ [1m[36mArticle Load (4.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (7.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::UuidJob] [a683468f-c78c-475f-a064-3900430c3d01] Performing Loco::UuidJob (Job ID: a683468f-c78c-475f-a064-3900430c3d01) from Async(loco) with arguments: #<GlobalID:0x00007f9521151388 @uri=#<URI::GID gid://dummy/User/872278135>>, "31848747-3e50-4689-a2ea-19b13976dc5f", "add"
+[ActiveJob] [Loco::UuidJob] [a683468f-c78c-475f-a064-3900430c3d01] Performed Loco::UuidJob (Job ID: a683468f-c78c-475f-a064-3900430c3d01) from Async(loco) in 0.71ms
+[ActiveJob] [Loco::SenderJob] [f77f2b19-30da-4448-baaf-822f3302df5b] Performed Loco::SenderJob (Job ID: f77f2b19-30da-4448-baaf-822f3302df5b) from Async(loco) in 7.6ms
+ Rendered user/articles/_article_for_list.json.jbuilder (15.1ms)
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"31848747-3e50-4689-a2ea-19b13976dc5f"}} (via streamed from loco:notification_center:31848747-3e50-4689-a2ea-19b13976dc5f)
+ Rendered user/articles/index.json.jbuilder (34.8ms)
+Completed 200 OK in 60ms (Views: 19.7ms | ActiveRecord: 30.3ms)
+Started GET "/user/articles/298486374/edit" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Processing by User::ArticlesController#edit as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (3.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (4.4ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updating', '{\"mark\":\"1515078772.8459158\",\"id\":298486374}', 'User', 872278135, '2018-01-04 15:12:52.849759', '2018-01-04 15:12:52.849759')[0m
+ [1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 298486374, '2018-01-04 15:12:52.855312', '2018-01-04 15:12:52.855312', 0, 0, 3)[0m
+ [1m[35m (14.1ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 46d6c376-d5bb-44a1-9ebc-99dc013c4915) to Async(loco) with arguments: #<GlobalID:0x00007f951d3f4e40 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078772.8459158", "id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 71aae763-fea0-4704-830d-fa7be9f1467b) to Async(loco) with arguments: #<GlobalID:0x00007f951cbc5b98 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:52.849759Z"}}
+ Rendering user/articles/edit.html.erb within layouts/user
+ Rendered user/articles/_form.html.erb (3.2ms)
+ [1m[35m (29.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mUser Load (8.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendered user/articles/edit.html.erb within layouts/user (4.2ms)
+ [1m[36mUser Load (4.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [46d6c376-d5bb-44a1-9ebc-99dc013c4915] Performing Loco::SenderJob (Job ID: 46d6c376-d5bb-44a1-9ebc-99dc013c4915) from Async(loco) with arguments: #<GlobalID:0x00007f95210b2378 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078772.8459158", "id"=>298486374}]}}
+ Rendered layouts/_head.html.erb (1.7ms)
+[ActiveJob] [Loco::SenderJob] [71aae763-fea0-4704-830d-fa7be9f1467b] Performing Loco::SenderJob (Job ID: 71aae763-fea0-4704-830d-fa7be9f1467b) from Async(loco) with arguments: #<GlobalID:0x00007f9521881e00 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:52.849759Z"}}
+ [1m[35m (4.2ms)[0m [1m[35mBEGIN[0m
+[ActiveJob] [Loco::SenderJob] [46d6c376-d5bb-44a1-9ebc-99dc013c4915] [ActionCable] Broadcasting to loco:notification_center:31848747-3e50-4689-a2ea-19b13976dc5f: {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078772.8459158", "id"=>298486374}]}}
+ Rendered layouts/_flash.html.erb (0.1ms)
+[ActiveJob] [Loco::SenderJob] [71aae763-fea0-4704-830d-fa7be9f1467b] [ActionCable] Broadcasting to loco:notification_center:31848747-3e50-4689-a2ea-19b13976dc5f: {:loco=>{:sync_time=>"2018-01-04T15:12:52.849759Z"}}
+[ActiveJob] [Loco::SenderJob] [46d6c376-d5bb-44a1-9ebc-99dc013c4915] Performed Loco::SenderJob (Job ID: 46d6c376-d5bb-44a1-9ebc-99dc013c4915) from Async(loco) in 3.39ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updating", {"mark"=>"1515078772.8459158", "id"=>298486374}]}} (via streamed from loco:notification_center:31848747-3e50-4689-a2ea-19b13976dc5f)
+Completed 200 OK in 66ms (Views: 18.3ms | ActiveRecord: 24.3ms)
+[ActiveJob] [Loco::SenderJob] [71aae763-fea0-4704-830d-fa7be9f1467b] Performed Loco::SenderJob (Job ID: 71aae763-fea0-4704-830d-fa7be9f1467b) from Async(loco) in 7.01ms
+ [1m[35mSQL (5.4ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":298486374,\"id\":1}', '2018-01-04 15:12:52.895013', '2018-01-04 15:12:52.895013')[0m
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:12:52.849759Z"}} (via streamed from loco:notification_center:31848747-3e50-4689-a2ea-19b13976dc5f)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+ [1m[35m (19.6ms)[0m [1m[35mCOMMIT[0m
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 2c41e5e9-a2c6-44e9-a938-6130c8d32761) to Async(loco) with arguments: "31848747-3e50-4689-a2ea-19b13976dc5f", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [2c41e5e9-a2c6-44e9-a938-6130c8d32761] Performing Loco::SenderJob (Job ID: 2c41e5e9-a2c6-44e9-a938-6130c8d32761) from Async(loco) with arguments: "31848747-3e50-4689-a2ea-19b13976dc5f", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [2c41e5e9-a2c6-44e9-a938-6130c8d32761] [ActionCable] Broadcasting to loco:notification_center:31848747-3e50-4689-a2ea-19b13976dc5f: {:loco=>{:xhr_notifications=>true}}
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Processing by User::ArticlesController#show as JSON
+[ActiveJob] [Loco::SenderJob] [2c41e5e9-a2c6-44e9-a938-6130c8d32761] Performed Loco::SenderJob (Job ID: 2c41e5e9-a2c6-44e9-a938-6130c8d32761) from Async(loco) in 0.48ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:31848747-3e50-4689-a2ea-19b13976dc5f)
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Started GET "/admin/sessions/new" for 127.0.0.1 at 2018-01-04 16:12:52 +0100
+Processing by Admin::SessionsController#new as HTML
+ [1m[36mArticle Load (13.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (14.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/sessions/new.html.erb within layouts/application
+ [1m[35m (7.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/articles/show.json.jbuilder
+ Rendered shared/_sign_in_form.html.erb (1.6ms)
+ Rendering user/comments/index.json.jbuilder
+ Rendered admin/sessions/new.html.erb within layouts/application (7.8ms)
+ Rendered layouts/_head.html.erb (1.7ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ [1m[36mComment Load (2.7ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+Completed 200 OK in 29ms (Views: 28.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (4.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/comments/_comment.json.jbuilder (0.3ms)
+ Rendered user/articles/_article.json.jbuilder (7.9ms)
+ Rendered user/comments/index.json.jbuilder (7.0ms)
+ Rendered user/articles/show.json.jbuilder (9.7ms)
+Completed 200 OK in 73ms (Views: 7.9ms | ActiveRecord: 25.6ms)
+Completed 200 OK in 56ms (Views: 13.8ms | ActiveRecord: 20.2ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ef01d9bf-0c6a-4fa6-afd9-dd5782d054bc) to Async(loco) with arguments: #<GlobalID:0x00007f95218c0308 @uri=#<URI::GID gid://dummy/User/872278135>>, "31848747-3e50-4689-a2ea-19b13976dc5f", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:31848747-3e50-4689-a2ea-19b13976dc5f
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (3.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ef01d9bf-0c6a-4fa6-afd9-dd5782d054bc] Performing Loco::UuidJob (Job ID: ef01d9bf-0c6a-4fa6-afd9-dd5782d054bc) from Async(loco) with arguments: #<GlobalID:0x00007f951ca8fe40 @uri=#<URI::GID gid://dummy/User/872278135>>, "31848747-3e50-4689-a2ea-19b13976dc5f", "del"
+[ActiveJob] [Loco::UuidJob] [ef01d9bf-0c6a-4fa6-afd9-dd5782d054bc] Performed Loco::UuidJob (Job ID: ef01d9bf-0c6a-4fa6-afd9-dd5782d054bc) from Async(loco) in 0.3ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["6a863895-3765-4c65-97f6-71135f9425aa", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$ZrSSt.ynkLURtvuD0Dqq.Oh7rKbRxC1W8qFM1XNCxsY...", created_at: "2018-01-04 15:12:51", updated_at: "2018-01-04 15:12:51", confirmed_at: "2017-12-28 15:12:51">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 6bd7d966-3347-42fd-b044-fb6492c44a33) to Async(loco) with arguments: "6a863895-3765-4c65-97f6-71135f9425aa", {:loco=>{:uuid=>"6a863895-3765-4c65-97f6-71135f9425aa"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 8d8b41eb-266a-499e-b7ec-9fc25690b05a) to Async(loco) with arguments: #<GlobalID:0x00007f951f764998 @uri=#<URI::GID gid://dummy/User/872278135>>, "6a863895-3765-4c65-97f6-71135f9425aa", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:6a863895-3765-4c65-97f6-71135f9425aa
+[ActiveJob] [Loco::SenderJob] [6bd7d966-3347-42fd-b044-fb6492c44a33] Performing Loco::SenderJob (Job ID: 6bd7d966-3347-42fd-b044-fb6492c44a33) from Async(loco) with arguments: "6a863895-3765-4c65-97f6-71135f9425aa", {:loco=>{:uuid=>"6a863895-3765-4c65-97f6-71135f9425aa"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::SenderJob] [6bd7d966-3347-42fd-b044-fb6492c44a33] [ActionCable] Broadcasting to loco:notification_center:6a863895-3765-4c65-97f6-71135f9425aa: {:loco=>{:uuid=>"6a863895-3765-4c65-97f6-71135f9425aa"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [6bd7d966-3347-42fd-b044-fb6492c44a33] Performed Loco::SenderJob (Job ID: 6bd7d966-3347-42fd-b044-fb6492c44a33) from Async(loco) in 1.08ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"6a863895-3765-4c65-97f6-71135f9425aa"}} (via streamed from loco:notification_center:6a863895-3765-4c65-97f6-71135f9425aa)
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [8d8b41eb-266a-499e-b7ec-9fc25690b05a] Performing Loco::UuidJob (Job ID: 8d8b41eb-266a-499e-b7ec-9fc25690b05a) from Async(loco) with arguments: #<GlobalID:0x00007f951c99fa30 @uri=#<URI::GID gid://dummy/User/872278135>>, "6a863895-3765-4c65-97f6-71135f9425aa", "add"
+[ActiveJob] [Loco::UuidJob] [8d8b41eb-266a-499e-b7ec-9fc25690b05a] Performed Loco::UuidJob (Job ID: 8d8b41eb-266a-499e-b7ec-9fc25690b05a) from Async(loco) in 0.76ms
+Started POST "/admin/sessions.json" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Processing by Admin::SessionsController#create as JSON
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@motteq.com", "password"=>"[FILTERED]"}
+ [1m[36mAdmin Load (1.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`email` = 'zbigniew.humeniuk@motteq.com' LIMIT 1[0m
+Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 1.1ms)
+Started GET "/admin" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Processing by Admin::UsersController#index as HTML
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/users/index.html.erb within layouts/admin
+ Rendered admin/users/index.html.erb within layouts/admin (0.5ms)
+ Rendered layouts/_head.html.erb (1.2ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 24ms (Views: 11.9ms | ActiveRecord: 1.3ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: aa464059-39d6-4fdf-ae14-6e7b9b2bf5c2) to Async(loco) with arguments: #<GlobalID:0x00007f951f764998 @uri=#<URI::GID gid://dummy/User/872278135>>, "6a863895-3765-4c65-97f6-71135f9425aa", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:6a863895-3765-4c65-97f6-71135f9425aa
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [aa464059-39d6-4fdf-ae14-6e7b9b2bf5c2] Performing Loco::UuidJob (Job ID: aa464059-39d6-4fdf-ae14-6e7b9b2bf5c2) from Async(loco) with arguments: #<GlobalID:0x00007f952486e3e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "6a863895-3765-4c65-97f6-71135f9425aa", "del"
+[ActiveJob] [Loco::UuidJob] [aa464059-39d6-4fdf-ae14-6e7b9b2bf5c2] Performed Loco::UuidJob (Job ID: aa464059-39d6-4fdf-ae14-6e7b9b2bf5c2) from Async(loco) in 11.08ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/admin/users?page=1" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Processing by Admin::UsersController#index as JSON
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+ Parameters: {"page"=>"1", "user"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mAdmin Load (2.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `users`[0m
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+ Rendering admin/users/index.json.jbuilder
+Processing by User::ArticlesController#index as HTML
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (3.7ms)[0m [1m[34mSELECT `users`.* FROM `users` ORDER BY created_at DESC LIMIT 10 OFFSET 0[0m
+ [1m[36mUser Load (3.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered admin/users/_user.json.jbuilder (0.7ms)
+ [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendered layouts/_head.html.erb (1.5ms)
+ Rendered admin/users/_user.json.jbuilder (0.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered admin/users/index.json.jbuilder (14.4ms)
+Completed 200 OK in 87ms (Views: 68.6ms | ActiveRecord: 8.0ms)
+Completed 200 OK in 15ms (Views: 6.9ms | ActiveRecord: 3.6ms)
+ [1m[36mAdmin Load (2.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["a7b26dff-b650-47f8-b873-7d204e62347b", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$ZrSSt.ynkLURtvuD0Dqq.Oh7rKbRxC1W8qFM1XNCxsY...", created_at: "2018-01-04 15:12:51", updated_at: "2018-01-04 15:12:51", confirmed_at: "2017-12-28 15:12:51">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$anG6WOYtlAtCc4kc6qDEWO66q7lQ7ZYobVGpX2cffnc...", created_at: "2018-01-04 15:12:51", updated_at: "2018-01-04 15:12:51">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 6e9a1d5d-f2f5-4576-87af-62eb415596cc) to Async(loco) with arguments: "a7b26dff-b650-47f8-b873-7d204e62347b", {:loco=>{:uuid=>"a7b26dff-b650-47f8-b873-7d204e62347b"}}
+[ActiveJob] [Loco::SenderJob] [6e9a1d5d-f2f5-4576-87af-62eb415596cc] Performing Loco::SenderJob (Job ID: 6e9a1d5d-f2f5-4576-87af-62eb415596cc) from Async(loco) with arguments: "a7b26dff-b650-47f8-b873-7d204e62347b", {:loco=>{:uuid=>"a7b26dff-b650-47f8-b873-7d204e62347b"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 5b0cfa4e-ec0f-43e4-8ae9-36aeb58164d8) to Async(loco) with arguments: #<GlobalID:0x00007f9521fedb08 @uri=#<URI::GID gid://dummy/User/872278135>>, "a7b26dff-b650-47f8-b873-7d204e62347b", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:a7b26dff-b650-47f8-b873-7d204e62347b
+[ActiveJob] [Loco::SenderJob] [6e9a1d5d-f2f5-4576-87af-62eb415596cc] [ActionCable] Broadcasting to loco:notification_center:a7b26dff-b650-47f8-b873-7d204e62347b: {:loco=>{:uuid=>"a7b26dff-b650-47f8-b873-7d204e62347b"}}
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 32e0015f-b544-463b-9110-9f7dad2df0c7) to Async(loco) with arguments: #<GlobalID:0x00007f95233df3a0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "a7b26dff-b650-47f8-b873-7d204e62347b", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 12587e55-b782-4b38-8017-db54ba5def6b) to Async(loco) with arguments: #<GlobalID:0x00007f9521fedb08 @uri=#<URI::GID gid://dummy/User/872278135>>, "a7b26dff-b650-47f8-b873-7d204e62347b", "del"
+ [1m[36mUser Load (4.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [6e9a1d5d-f2f5-4576-87af-62eb415596cc] Performed Loco::SenderJob (Job ID: 6e9a1d5d-f2f5-4576-87af-62eb415596cc) from Async(loco) in 6.96ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+ [1m[36mAdmin Load (2.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 66effc4e-e883-481d-9ab9-e4c9cc40270c) to Async(loco) with arguments: #<GlobalID:0x00007f95233df3a0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "a7b26dff-b650-47f8-b873-7d204e62347b", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"a7b26dff-b650-47f8-b873-7d204e62347b"}} (via streamed from loco:notification_center:a7b26dff-b650-47f8-b873-7d204e62347b)
+[ActiveJob] [Loco::UuidJob] [5b0cfa4e-ec0f-43e4-8ae9-36aeb58164d8] Performing Loco::UuidJob (Job ID: 5b0cfa4e-ec0f-43e4-8ae9-36aeb58164d8) from Async(loco) with arguments: #<GlobalID:0x00007f95233c6aa8 @uri=#<URI::GID gid://dummy/User/872278135>>, "a7b26dff-b650-47f8-b873-7d204e62347b", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::UuidJob] [32e0015f-b544-463b-9110-9f7dad2df0c7] Performing Loco::UuidJob (Job ID: 32e0015f-b544-463b-9110-9f7dad2df0c7) from Async(loco) with arguments: #<GlobalID:0x00007f9521fbbdd8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "a7b26dff-b650-47f8-b873-7d204e62347b", "add"
+[ActiveJob] [Loco::UuidJob] [5b0cfa4e-ec0f-43e4-8ae9-36aeb58164d8] Performed Loco::UuidJob (Job ID: 5b0cfa4e-ec0f-43e4-8ae9-36aeb58164d8) from Async(loco) in 0.74ms
+[ActiveJob] [Loco::UuidJob] [32e0015f-b544-463b-9110-9f7dad2df0c7] Performed Loco::UuidJob (Job ID: 32e0015f-b544-463b-9110-9f7dad2df0c7) from Async(loco) in 0.64ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:a7b26dff-b650-47f8-b873-7d204e62347b
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (4.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [12587e55-b782-4b38-8017-db54ba5def6b] Performing Loco::UuidJob (Job ID: 12587e55-b782-4b38-8017-db54ba5def6b) from Async(loco) with arguments: #<GlobalID:0x00007f9521fa8d78 @uri=#<URI::GID gid://dummy/User/872278135>>, "a7b26dff-b650-47f8-b873-7d204e62347b", "del"
+[ActiveJob] [Loco::UuidJob] [12587e55-b782-4b38-8017-db54ba5def6b] Performed Loco::UuidJob (Job ID: 12587e55-b782-4b38-8017-db54ba5def6b) from Async(loco) in 0.44ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:12:53 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (3.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["7bf2580d-bd97-439c-8aff-1bb4b887abb0", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$ZrSSt.ynkLURtvuD0Dqq.Oh7rKbRxC1W8qFM1XNCxsY...", created_at: "2018-01-04 15:12:51", updated_at: "2018-01-04 15:12:51", confirmed_at: "2017-12-28 15:12:51">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$anG6WOYtlAtCc4kc6qDEWO66q7lQ7ZYobVGpX2cffnc...", created_at: "2018-01-04 15:12:51", updated_at: "2018-01-04 15:12:51">])
+ [1m[35m (3.5ms)[0m [1m[35mSET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:12:54 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 4f30b0ee-5746-42e1-a112-ea50b1638eea) to Async(loco) with arguments: "7bf2580d-bd97-439c-8aff-1bb4b887abb0", {:loco=>{:uuid=>"7bf2580d-bd97-439c-8aff-1bb4b887abb0"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:7bf2580d-bd97-439c-8aff-1bb4b887abb0
+[ActiveJob] [Loco::SenderJob] [4f30b0ee-5746-42e1-a112-ea50b1638eea] Performing Loco::SenderJob (Job ID: 4f30b0ee-5746-42e1-a112-ea50b1638eea) from Async(loco) with arguments: "7bf2580d-bd97-439c-8aff-1bb4b887abb0", {:loco=>{:uuid=>"7bf2580d-bd97-439c-8aff-1bb4b887abb0"}}
+[ActiveJob] [Loco::SenderJob] [4f30b0ee-5746-42e1-a112-ea50b1638eea] [ActionCable] Broadcasting to loco:notification_center:7bf2580d-bd97-439c-8aff-1bb4b887abb0: {:loco=>{:uuid=>"7bf2580d-bd97-439c-8aff-1bb4b887abb0"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 3604e0c1-cc2c-40dc-9074-75b8dd444080) to Async(loco) with arguments: #<GlobalID:0x00007f952384fa48 @uri=#<URI::GID gid://dummy/User/872278135>>, "7bf2580d-bd97-439c-8aff-1bb4b887abb0", "add"
+[ActiveJob] [Loco::SenderJob] [4f30b0ee-5746-42e1-a112-ea50b1638eea] Performed Loco::SenderJob (Job ID: 4f30b0ee-5746-42e1-a112-ea50b1638eea) from Async(loco) in 0.44ms
+Processing by User::ArticlesController#index as JSON
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"7bf2580d-bd97-439c-8aff-1bb4b887abb0"}} (via streamed from loco:notification_center:7bf2580d-bd97-439c-8aff-1bb4b887abb0)
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 785b8005-da8d-43cc-84e2-4c232a02e788) to Async(loco) with arguments: #<GlobalID:0x00007f952335fbc8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "7bf2580d-bd97-439c-8aff-1bb4b887abb0", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ Parameters: {"page"=>"1", "article"=>{}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [3604e0c1-cc2c-40dc-9074-75b8dd444080] Performing Loco::UuidJob (Job ID: 3604e0c1-cc2c-40dc-9074-75b8dd444080) from Async(loco) with arguments: #<GlobalID:0x00007f95233326c8 @uri=#<URI::GID gid://dummy/User/872278135>>, "7bf2580d-bd97-439c-8aff-1bb4b887abb0", "add"
+[ActiveJob] [Loco::UuidJob] [3604e0c1-cc2c-40dc-9074-75b8dd444080] Performed Loco::UuidJob (Job ID: 3604e0c1-cc2c-40dc-9074-75b8dd444080) from Async(loco) in 0.82ms
+ [1m[36mUser Load (9.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (10.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [785b8005-da8d-43cc-84e2-4c232a02e788] Performing Loco::UuidJob (Job ID: 785b8005-da8d-43cc-84e2-4c232a02e788) from Async(loco) with arguments: #<GlobalID:0x00007f9523323718 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "7bf2580d-bd97-439c-8aff-1bb4b887abb0", "add"
+[ActiveJob] [Loco::UuidJob] [785b8005-da8d-43cc-84e2-4c232a02e788] Performed Loco::UuidJob (Job ID: 785b8005-da8d-43cc-84e2-4c232a02e788) from Async(loco) in 0.78ms
+ [1m[36mAdmin Load (15.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [66effc4e-e883-481d-9ab9-e4c9cc40270c] Performing Loco::UuidJob (Job ID: 66effc4e-e883-481d-9ab9-e4c9cc40270c) from Async(loco) with arguments: #<GlobalID:0x00007f951cfd1368 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "a7b26dff-b650-47f8-b873-7d204e62347b", "del"
+[ActiveJob] [Loco::UuidJob] [66effc4e-e883-481d-9ab9-e4c9cc40270c] Performed Loco::UuidJob (Job ID: 66effc4e-e883-481d-9ab9-e4c9cc40270c) from Async(loco) in 2.33ms
+ [1m[35m (8.0ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (2.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (4.7ms)
+ [1m[35m (3.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (5.4ms)
+ Rendered user/articles/index.json.jbuilder (19.1ms)
+Completed 200 OK in 65ms (Views: 20.9ms | ActiveRecord: 23.8ms)
+Started GET "/user/articles/298486374/edit" for 127.0.0.1 at 2018-01-04 16:12:54 +0100
+Processing by User::ArticlesController#edit as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (6.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updating', '{\"mark\":\"1515078774.274892\",\"id\":298486374}', 'User', 872278135, '2018-01-04 15:12:54.277085', '2018-01-04 15:12:54.277085')[0m
+ [1m[35m (11.5ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: f7013ef2-5be5-4262-bdd1-f765f42445c4) to Async(loco) with arguments: #<GlobalID:0x00007f951cfa96d8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078774.274892", "id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: ab14bfa3-0354-407d-a2b8-5b28090c3ccc) to Async(loco) with arguments: #<GlobalID:0x00007f951d7cc568 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:54.277085Z"}}
+ Rendering user/articles/edit.html.erb within layouts/user
+ Rendered user/articles/_form.html.erb (1.5ms)
+ Rendered user/articles/edit.html.erb within layouts/user (1.9ms)
+ Rendered layouts/_head.html.erb (1.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 48ms (Views: 5.0ms | ActiveRecord: 22.7ms)
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (4.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [f7013ef2-5be5-4262-bdd1-f765f42445c4] Performing Loco::SenderJob (Job ID: f7013ef2-5be5-4262-bdd1-f765f42445c4) from Async(loco) with arguments: #<GlobalID:0x00007f951d7b0840 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078774.274892", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [ab14bfa3-0354-407d-a2b8-5b28090c3ccc] Performing Loco::SenderJob (Job ID: ab14bfa3-0354-407d-a2b8-5b28090c3ccc) from Async(loco) with arguments: #<GlobalID:0x00007f951d7a9798 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:12:54.277085Z"}}
+[ActiveJob] [Loco::SenderJob] [f7013ef2-5be5-4262-bdd1-f765f42445c4] [ActionCable] Broadcasting to loco:notification_center:7bf2580d-bd97-439c-8aff-1bb4b887abb0: {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078774.274892", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [ab14bfa3-0354-407d-a2b8-5b28090c3ccc] [ActionCable] Broadcasting to loco:notification_center:7bf2580d-bd97-439c-8aff-1bb4b887abb0: {:loco=>{:sync_time=>"2018-01-04T15:12:54.277085Z"}}
+[ActiveJob] [Loco::SenderJob] [f7013ef2-5be5-4262-bdd1-f765f42445c4] Performed Loco::SenderJob (Job ID: f7013ef2-5be5-4262-bdd1-f765f42445c4) from Async(loco) in 0.75ms
+[ActiveJob] [Loco::SenderJob] [ab14bfa3-0354-407d-a2b8-5b28090c3ccc] Performed Loco::SenderJob (Job ID: ab14bfa3-0354-407d-a2b8-5b28090c3ccc) from Async(loco) in 0.74ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updating", {"mark"=>"1515078774.274892", "id"=>298486374}]}} (via streamed from loco:notification_center:7bf2580d-bd97-439c-8aff-1bb4b887abb0)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:12:54.277085Z"}} (via streamed from loco:notification_center:7bf2580d-bd97-439c-8aff-1bb4b887abb0)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:12:54 +0100
+Processing by User::ArticlesController#show as JSON
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:12:54 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:12:54 +0100
+ Parameters: {"id"=>"298486374", "article"=>{}}
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (3.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (1.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (4.6ms)
+ Rendered user/articles/show.json.jbuilder (5.5ms)
+Completed 200 OK in 19ms (Views: 4.8ms | ActiveRecord: 7.5ms)
+ [1m[36mComment Load (2.8ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/_comment.json.jbuilder (0.2ms)
+ Rendered user/comments/index.json.jbuilder (4.6ms)
+Completed 200 OK in 20ms (Views: 2.8ms | ActiveRecord: 9.3ms)
+Started PUT "/user/articles/298486374/comments/1" for 127.0.0.1 at 2018-01-04 16:12:54 +0100
+Processing by User::CommentsController#update as JSON
+ Parameters: {"comment"=>{"approved"=>true}, "article_id"=>"298486374", "id"=>"1"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mComment Load (1.4ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 AND `comments`.`id` = 1 LIMIT 1[0m
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[33mUPDATE `comments` SET `approved` = 1, `updated_at` = '2018-01-04 15:12:54.455802' WHERE `comments`.`id` = 1[0m
+ [1m[35m (13.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'updated', '{\"article_id\":298486374,\"id\":1}', '2018-01-04 15:12:54.474491', '2018-01-04 15:12:54.474491')[0m
+ [1m[35m (8.5ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: fce20e4a-5ce9-4eb6-874f-1036bd52cbc3) to Async(loco) with arguments: "7bf2580d-bd97-439c-8aff-1bb4b887abb0", {:loco=>{:xhr_notifications=>true}}
+Completed 200 OK in 44ms (Views: 0.1ms | ActiveRecord: 30.8ms)
+[ActiveJob] [Loco::SenderJob] [fce20e4a-5ce9-4eb6-874f-1036bd52cbc3] Performing Loco::SenderJob (Job ID: fce20e4a-5ce9-4eb6-874f-1036bd52cbc3) from Async(loco) with arguments: "7bf2580d-bd97-439c-8aff-1bb4b887abb0", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [fce20e4a-5ce9-4eb6-874f-1036bd52cbc3] [ActionCable] Broadcasting to loco:notification_center:7bf2580d-bd97-439c-8aff-1bb4b887abb0: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [fce20e4a-5ce9-4eb6-874f-1036bd52cbc3] Performed Loco::SenderJob (Job ID: fce20e4a-5ce9-4eb6-874f-1036bd52cbc3) from Async(loco) in 0.31ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:7bf2580d-bd97-439c-8aff-1bb4b887abb0)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A54.321806Z&uuid=7bf2580d-bd97-439c-8aff-1bb4b887abb0" for 127.0.0.1 at 2018-01-04 16:12:54 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:54.321806Z", "uuid"=>"7bf2580d-bd97-439c-8aff-1bb4b887abb0"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:54.321806') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:54.321806') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:54.321806') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 6.6ms)
+Started GET "/user/articles/298486374/comments/1" for 127.0.0.1 at 2018-01-04 16:12:54 +0100
+Processing by User::CommentsController#show as JSON
+ Parameters: {"article_id"=>"298486374", "id"=>"1", "comment"=>{}}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mComment Load (1.4ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering user/comments/show.json.jbuilder
+ Rendered user/comments/_comment.json.jbuilder (0.4ms)
+ Rendered user/comments/show.json.jbuilder (2.2ms)
+Completed 200 OK in 16ms (Views: 6.7ms | ActiveRecord: 3.9ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A54.507174Z&uuid=7bf2580d-bd97-439c-8aff-1bb4b887abb0" for 127.0.0.1 at 2018-01-04 16:12:54 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:54.507174Z", "uuid"=>"7bf2580d-bd97-439c-8aff-1bb4b887abb0"}
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:54.507174') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:54.507174') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:54.507174') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 9.6ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A54.995621Z&uuid=7bf2580d-bd97-439c-8aff-1bb4b887abb0" for 127.0.0.1 at 2018-01-04 16:12:55 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:54.995621Z", "uuid"=>"7bf2580d-bd97-439c-8aff-1bb4b887abb0"}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:54.995621') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:54.995621') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:54.995621') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 7.7ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A55.995613Z&uuid=7bf2580d-bd97-439c-8aff-1bb4b887abb0" for 127.0.0.1 at 2018-01-04 16:12:56 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:55.995613Z", "uuid"=>"7bf2580d-bd97-439c-8aff-1bb4b887abb0"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:55.995613') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:55.995613') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:55.995613') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 8.5ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A56.995255Z&uuid=7bf2580d-bd97-439c-8aff-1bb4b887abb0" for 127.0.0.1 at 2018-01-04 16:12:57 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:56.995255Z", "uuid"=>"7bf2580d-bd97-439c-8aff-1bb4b887abb0"}
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:56.995255') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:56.995255') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:56.995255') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 8.3ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A57.995762Z&uuid=7bf2580d-bd97-439c-8aff-1bb4b887abb0" for 127.0.0.1 at 2018-01-04 16:12:58 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:57.995762Z", "uuid"=>"7bf2580d-bd97-439c-8aff-1bb4b887abb0"}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:57.995762') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:57.995762') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:57.995762') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 8.2ms)
+ [1m[35m (1.2ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (45.6ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (50.3ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (38.4ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (44.4ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (44.9ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (39.9ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (53.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A12%3A58.991899Z&uuid=7bf2580d-bd97-439c-8aff-1bb4b887abb0" for 127.0.0.1 at 2018-01-04 16:12:59 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:12:58.991899Z", "uuid"=>"7bf2580d-bd97-439c-8aff-1bb4b887abb0"}
+ [1m[35m (75.2ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m [["id", 872278135], ["LIMIT", 1]]
+ [1m[35m (1.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[36mCACHE Admin Load (0.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m [["id", 298486374], ["LIMIT", 1]]
+ [1m[36mLoco::Notification Load (10.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:12:58.991899') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 20ms (Views: 0.5ms | ActiveRecord: 13.1ms)
+ [1m[35m (2.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$03IyHcGgxIxqfC.9LDlSHuJbfvImj0mGD8GZXj8/DqMoewmv7GSjy', '2018-01-04 15:12:59.999799', '2018-01-04 15:12:59.999799', 980190962)[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$EHHhe0b9uKX180V3LMRK0u1UJXs7gs1pwh4An5urhjW2ndcC5q67G', '2018-01-04 15:12:59.999799', '2018-01-04 15:12:59.999799', 298486374)[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (3.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$tHlhqR9oIDBwyQpO6e3U0e2MPvKz2oC6vuOAhP3fe4V2gevWSUPA.', '2017-12-28 15:12:59', '2018-01-04 15:13:00.011648', '2018-01-04 15:13:00.011648', 872278135)[0m
+ [1m[36mFixture Insert (1.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$Cd4mkDG0HmLVGMSUwZgdrOUqOqID4JLyJNxiPv6Det2dvZpJTxrQ6', '2018-01-04 15:13:00.011648', '2018-01-04 15:13:00.011648', 15595101)[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:12:59', '2018-01-04 15:13:00.024499', '2018-01-04 15:13:00.024499', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (2.0ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:00.024499', '2018-01-04 15:13:00.024499', 298486374, 872278135)[0m
+ [1m[35m (12.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+---------------------------------------------------------------------------------------------
+User::ArticleEditPageTest: test_should_allow_to_update_fields_in_order_to_have_updated_values
+---------------------------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 80cfcd30-4b31-4b2c-b855-fbddfb4feb08) to Async(loco) with arguments: #<GlobalID:0x00007f952384fa48 @uri=#<URI::GID gid://dummy/User/872278135>>, "7bf2580d-bd97-439c-8aff-1bb4b887abb0", "del"
+ [1m[36mUser Load (10.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [80cfcd30-4b31-4b2c-b855-fbddfb4feb08] Performing Loco::UuidJob (Job ID: 80cfcd30-4b31-4b2c-b855-fbddfb4feb08) from Async(loco) with arguments: #<GlobalID:0x00007f951d40ee30 @uri=#<URI::GID gid://dummy/User/872278135>>, "7bf2580d-bd97-439c-8aff-1bb4b887abb0", "del"
+[ActiveJob] [Loco::UuidJob] [80cfcd30-4b31-4b2c-b855-fbddfb4feb08] Performed Loco::UuidJob (Job ID: 80cfcd30-4b31-4b2c-b855-fbddfb4feb08) from Async(loco) in 0.34ms
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: f0b5e379-5326-47e7-953b-aedb35fc7fe6) to Async(loco) with arguments: #<GlobalID:0x00007f952335fbc8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "7bf2580d-bd97-439c-8aff-1bb4b887abb0", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:7bf2580d-bd97-439c-8aff-1bb4b887abb0
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (3.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f0b5e379-5326-47e7-953b-aedb35fc7fe6] Performing Loco::UuidJob (Job ID: f0b5e379-5326-47e7-953b-aedb35fc7fe6) from Async(loco) with arguments: #<GlobalID:0x00007f9521908770 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "7bf2580d-bd97-439c-8aff-1bb4b887abb0", "del"
+[ActiveJob] [Loco::UuidJob] [f0b5e379-5326-47e7-953b-aedb35fc7fe6] Performed Loco::UuidJob (Job ID: f0b5e379-5326-47e7-953b-aedb35fc7fe6) from Async(loco) in 0.34ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (3.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (4.1ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (16.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mAdmin Load (25.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["233a34df-9050-4efa-a48a-c47b0263d366", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$tHlhqR9oIDBwyQpO6e3U0e2MPvKz2oC6vuOAhP3fe4V...", created_at: "2018-01-04 15:13:00", updated_at: "2018-01-04 15:13:00", confirmed_at: "2017-12-28 15:12:59">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$EHHhe0b9uKX180V3LMRK0u1UJXs7gs1pwh4An5urhjW...", created_at: "2018-01-04 15:12:59", updated_at: "2018-01-04 15:12:59">])
+ [1m[36mUser Load (7.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (4.0ms)
+ Rendered main/articles/index.json.jbuilder (31.4ms)
+Completed 200 OK in 65ms (Views: 6.8ms | ActiveRecord: 29.6ms)
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: ec7d2554-efa0-41d8-8c6b-cc8dd96b018b) to Async(loco) with arguments: "233a34df-9050-4efa-a48a-c47b0263d366", {:loco=>{:uuid=>"233a34df-9050-4efa-a48a-c47b0263d366"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 39f2c29e-a764-4b11-9efa-4e3e7a03e502) to Async(loco) with arguments: #<GlobalID:0x00007f9521139210 @uri=#<URI::GID gid://dummy/User/872278135>>, "233a34df-9050-4efa-a48a-c47b0263d366", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 51b91578-1b1d-4a6b-96de-68ec169ec2c2) to Async(loco) with arguments: #<GlobalID:0x00007f9521130020 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "233a34df-9050-4efa-a48a-c47b0263d366", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:233a34df-9050-4efa-a48a-c47b0263d366
+[ActiveJob] [Loco::SenderJob] [ec7d2554-efa0-41d8-8c6b-cc8dd96b018b] Performing Loco::SenderJob (Job ID: ec7d2554-efa0-41d8-8c6b-cc8dd96b018b) from Async(loco) with arguments: "233a34df-9050-4efa-a48a-c47b0263d366", {:loco=>{:uuid=>"233a34df-9050-4efa-a48a-c47b0263d366"}}
+[ActiveJob] [Loco::SenderJob] [ec7d2554-efa0-41d8-8c6b-cc8dd96b018b] [ActionCable] Broadcasting to loco:notification_center:233a34df-9050-4efa-a48a-c47b0263d366: {:loco=>{:uuid=>"233a34df-9050-4efa-a48a-c47b0263d366"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::SenderJob] [ec7d2554-efa0-41d8-8c6b-cc8dd96b018b] Performed Loco::SenderJob (Job ID: ec7d2554-efa0-41d8-8c6b-cc8dd96b018b) from Async(loco) in 0.95ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"233a34df-9050-4efa-a48a-c47b0263d366"}} (via streamed from loco:notification_center:233a34df-9050-4efa-a48a-c47b0263d366)
+ [1m[36mAdmin Load (1.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [51b91578-1b1d-4a6b-96de-68ec169ec2c2] Performing Loco::UuidJob (Job ID: 51b91578-1b1d-4a6b-96de-68ec169ec2c2) from Async(loco) with arguments: #<GlobalID:0x00007f9521112908 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "233a34df-9050-4efa-a48a-c47b0263d366", "add"
+[ActiveJob] [Loco::UuidJob] [51b91578-1b1d-4a6b-96de-68ec169ec2c2] Performed Loco::UuidJob (Job ID: 51b91578-1b1d-4a6b-96de-68ec169ec2c2) from Async(loco) in 0.59ms
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [39f2c29e-a764-4b11-9efa-4e3e7a03e502] Performing Loco::UuidJob (Job ID: 39f2c29e-a764-4b11-9efa-4e3e7a03e502) from Async(loco) with arguments: #<GlobalID:0x00007f9521108840 @uri=#<URI::GID gid://dummy/User/872278135>>, "233a34df-9050-4efa-a48a-c47b0263d366", "add"
+[ActiveJob] [Loco::UuidJob] [39f2c29e-a764-4b11-9efa-4e3e7a03e502] Performed Loco::UuidJob (Job ID: 39f2c29e-a764-4b11-9efa-4e3e7a03e502) from Async(loco) in 0.68ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.7ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.3ms)
+ Rendered layouts/_head.html.erb (1.4ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 9ms (ActiveRecord: 1.4ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.3ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 16ms (Views: 10.0ms | ActiveRecord: 1.1ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 597cffa7-ca68-4131-8401-f40d158b9e9f) to Async(loco) with arguments: #<GlobalID:0x00007f9521139210 @uri=#<URI::GID gid://dummy/User/872278135>>, "233a34df-9050-4efa-a48a-c47b0263d366", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 893d7d5c-0e67-4515-8326-bd7ef03ea0aa) to Async(loco) with arguments: #<GlobalID:0x00007f9521130020 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "233a34df-9050-4efa-a48a-c47b0263d366", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:233a34df-9050-4efa-a48a-c47b0263d366
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [597cffa7-ca68-4131-8401-f40d158b9e9f] Performing Loco::UuidJob (Job ID: 597cffa7-ca68-4131-8401-f40d158b9e9f) from Async(loco) with arguments: #<GlobalID:0x00007f951d2c7888 @uri=#<URI::GID gid://dummy/User/872278135>>, "233a34df-9050-4efa-a48a-c47b0263d366", "del"
+[ActiveJob] [Loco::UuidJob] [597cffa7-ca68-4131-8401-f40d158b9e9f] Performed Loco::UuidJob (Job ID: 597cffa7-ca68-4131-8401-f40d158b9e9f) from Async(loco) in 0.28ms
+ [1m[36mAdmin Load (2.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [893d7d5c-0e67-4515-8326-bd7ef03ea0aa] Performing Loco::UuidJob (Job ID: 893d7d5c-0e67-4515-8326-bd7ef03ea0aa) from Async(loco) with arguments: #<GlobalID:0x00007f951cab7940 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "233a34df-9050-4efa-a48a-c47b0263d366", "del"
+[ActiveJob] [Loco::UuidJob] [893d7d5c-0e67-4515-8326-bd7ef03ea0aa] Performed Loco::UuidJob (Job ID: 893d7d5c-0e67-4515-8326-bd7ef03ea0aa) from Async(loco) in 0.23ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:00 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:01 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:01 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (4.6ms)
+ [1m[35m (4.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (5.8ms)
+ Rendered user/articles/index.json.jbuilder (14.5ms)
+Completed 200 OK in 26ms (Views: 8.4ms | ActiveRecord: 11.8ms)
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["9f356fa1-2957-4e60-ad73-58f546f8a4e0", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$tHlhqR9oIDBwyQpO6e3U0e2MPvKz2oC6vuOAhP3fe4V...", created_at: "2018-01-04 15:13:00", updated_at: "2018-01-04 15:13:00", confirmed_at: "2017-12-28 15:12:59">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$EHHhe0b9uKX180V3LMRK0u1UJXs7gs1pwh4An5urhjW...", created_at: "2018-01-04 15:12:59", updated_at: "2018-01-04 15:12:59">])
+ [1m[36mArticle Load (1.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 111601d0-fb0a-4d43-9ec5-d0fe3e25952c) to Async(loco) with arguments: "9f356fa1-2957-4e60-ad73-58f546f8a4e0", {:loco=>{:uuid=>"9f356fa1-2957-4e60-ad73-58f546f8a4e0"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:9f356fa1-2957-4e60-ad73-58f546f8a4e0
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: cfafff47-1170-4bb6-b272-a063c4c60169) to Async(loco) with arguments: #<GlobalID:0x00007f951f727e58 @uri=#<URI::GID gid://dummy/User/872278135>>, "9f356fa1-2957-4e60-ad73-58f546f8a4e0", "add"
+[ActiveJob] [Loco::SenderJob] [111601d0-fb0a-4d43-9ec5-d0fe3e25952c] Performing Loco::SenderJob (Job ID: 111601d0-fb0a-4d43-9ec5-d0fe3e25952c) from Async(loco) with arguments: "9f356fa1-2957-4e60-ad73-58f546f8a4e0", {:loco=>{:uuid=>"9f356fa1-2957-4e60-ad73-58f546f8a4e0"}}
+[ActiveJob] [Loco::SenderJob] [111601d0-fb0a-4d43-9ec5-d0fe3e25952c] [ActionCable] Broadcasting to loco:notification_center:9f356fa1-2957-4e60-ad73-58f546f8a4e0: {:loco=>{:uuid=>"9f356fa1-2957-4e60-ad73-58f546f8a4e0"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 2f7e89e1-c4c4-4921-b511-ac53bf72a4fa) to Async(loco) with arguments: #<GlobalID:0x00007f951d2016b0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "9f356fa1-2957-4e60-ad73-58f546f8a4e0", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [111601d0-fb0a-4d43-9ec5-d0fe3e25952c] Performed Loco::SenderJob (Job ID: 111601d0-fb0a-4d43-9ec5-d0fe3e25952c) from Async(loco) in 1.3ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"9f356fa1-2957-4e60-ad73-58f546f8a4e0"}} (via streamed from loco:notification_center:9f356fa1-2957-4e60-ad73-58f546f8a4e0)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [cfafff47-1170-4bb6-b272-a063c4c60169] Performing Loco::UuidJob (Job ID: cfafff47-1170-4bb6-b272-a063c4c60169) from Async(loco) with arguments: #<GlobalID:0x00007f951f656088 @uri=#<URI::GID gid://dummy/User/872278135>>, "9f356fa1-2957-4e60-ad73-58f546f8a4e0", "add"
+[ActiveJob] [Loco::UuidJob] [2f7e89e1-c4c4-4921-b511-ac53bf72a4fa] Performing Loco::UuidJob (Job ID: 2f7e89e1-c4c4-4921-b511-ac53bf72a4fa) from Async(loco) with arguments: #<GlobalID:0x00007f951d1d6aa0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "9f356fa1-2957-4e60-ad73-58f546f8a4e0", "add"
+[ActiveJob] [Loco::UuidJob] [cfafff47-1170-4bb6-b272-a063c4c60169] Performed Loco::UuidJob (Job ID: cfafff47-1170-4bb6-b272-a063c4c60169) from Async(loco) in 0.63ms
+[ActiveJob] [Loco::UuidJob] [2f7e89e1-c4c4-4921-b511-ac53bf72a4fa] Performed Loco::UuidJob (Job ID: 2f7e89e1-c4c4-4921-b511-ac53bf72a4fa) from Async(loco) in 0.78ms
+Started GET "/user/articles/298486374/edit" for 127.0.0.1 at 2018-01-04 16:13:01 +0100
+Processing by User::ArticlesController#edit as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (5.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (3.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updating', '{\"mark\":\"1515078781.1808991\",\"id\":298486374}', 'User', 872278135, '2018-01-04 15:13:01.185441', '2018-01-04 15:13:01.185441')[0m
+ [1m[35m (11.7ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 4e283f6e-1eb4-4b8d-b1c2-5c12e03c8a89) to Async(loco) with arguments: #<GlobalID:0x00007f951f2d9158 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078781.1808991", "id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: afd94b4e-976e-446f-a592-88bda1fd5bcd) to Async(loco) with arguments: #<GlobalID:0x00007f951f26c4e0 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:01.185441Z"}}
+ Rendering user/articles/edit.html.erb within layouts/user
+ Rendered user/articles/_form.html.erb (1.9ms)
+ Rendered user/articles/edit.html.erb within layouts/user (3.1ms)
+ Rendered layouts/_head.html.erb (9.4ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ [1m[36mUser Load (10.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Completed 200 OK in 56ms (Views: 15.8ms | ActiveRecord: 24.3ms)
+ [1m[36mUser Load (13.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [afd94b4e-976e-446f-a592-88bda1fd5bcd] Performing Loco::SenderJob (Job ID: afd94b4e-976e-446f-a592-88bda1fd5bcd) from Async(loco) with arguments: #<GlobalID:0x00007f952394a358 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:01.185441Z"}}
+[ActiveJob] [Loco::SenderJob] [4e283f6e-1eb4-4b8d-b1c2-5c12e03c8a89] Performing Loco::SenderJob (Job ID: 4e283f6e-1eb4-4b8d-b1c2-5c12e03c8a89) from Async(loco) with arguments: #<GlobalID:0x00007f9521ceabb8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078781.1808991", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [4e283f6e-1eb4-4b8d-b1c2-5c12e03c8a89] [ActionCable] Broadcasting to loco:notification_center:9f356fa1-2957-4e60-ad73-58f546f8a4e0: {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078781.1808991", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [afd94b4e-976e-446f-a592-88bda1fd5bcd] [ActionCable] Broadcasting to loco:notification_center:9f356fa1-2957-4e60-ad73-58f546f8a4e0: {:loco=>{:sync_time=>"2018-01-04T15:13:01.185441Z"}}
+[ActiveJob] [Loco::SenderJob] [4e283f6e-1eb4-4b8d-b1c2-5c12e03c8a89] Performed Loco::SenderJob (Job ID: 4e283f6e-1eb4-4b8d-b1c2-5c12e03c8a89) from Async(loco) in 0.47ms
+[ActiveJob] [Loco::SenderJob] [afd94b4e-976e-446f-a592-88bda1fd5bcd] Performed Loco::SenderJob (Job ID: afd94b4e-976e-446f-a592-88bda1fd5bcd) from Async(loco) in 1.07ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updating", {"mark"=>"1515078781.1808991", "id"=>298486374}]}} (via streamed from loco:notification_center:9f356fa1-2957-4e60-ad73-58f546f8a4e0)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:13:01.185441Z"}} (via streamed from loco:notification_center:9f356fa1-2957-4e60-ad73-58f546f8a4e0)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:13:01 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:01 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:13:01 +0100
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (3.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[36mUser Load (6.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (2.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (4.6ms)
+ Rendered user/articles/show.json.jbuilder (5.1ms)
+Completed 200 OK in 20ms (Views: 3.4ms | ActiveRecord: 8.6ms)
+ [1m[36mArticle Load (2.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[36mComment Load (1.4ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/index.json.jbuilder (2.4ms)
+Completed 200 OK in 22ms (Views: 1.8ms | ActiveRecord: 11.7ms)
+ [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35mSQL (1.2ms)[0m [1m[33mUPDATE `articles` SET `title` = 'WiAR', `text` = 'Lorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum II', `updated_at` = '2018-01-04 15:13:01.298232' WHERE `articles`.`id` = 298486374[0m
+ [1m[35m (11.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updated', '{\"id\":298486374}', 'User', 872278135, '2018-01-04 15:13:01.317309', '2018-01-04 15:13:01.317309')[0m
+ [1m[35m (10.5ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: d5449f05-3599-4ee8-a953-8865b2ecedf9) to Async(loco) with arguments: #<GlobalID:0x00007f9524098b50 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 331469f9-11ae-42cd-aa9c-11de3818b838) to Async(loco) with arguments: #<GlobalID:0x00007f952408fa28 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:01.317309Z"}}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [d5449f05-3599-4ee8-a953-8865b2ecedf9] Performing Loco::SenderJob (Job ID: d5449f05-3599-4ee8-a953-8865b2ecedf9) from Async(loco) with arguments: #<GlobalID:0x00007f95238ba528 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [d5449f05-3599-4ee8-a953-8865b2ecedf9] [ActionCable] Broadcasting to loco:notification_center:9f356fa1-2957-4e60-ad73-58f546f8a4e0: {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [d5449f05-3599-4ee8-a953-8865b2ecedf9] Performed Loco::SenderJob (Job ID: d5449f05-3599-4ee8-a953-8865b2ecedf9) from Async(loco) in 0.43ms
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [331469f9-11ae-42cd-aa9c-11de3818b838] Performing Loco::SenderJob (Job ID: 331469f9-11ae-42cd-aa9c-11de3818b838) from Async(loco) with arguments: #<GlobalID:0x00007f95234043d0 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:01.317309Z"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updated", {"id"=>298486374}]}} (via streamed from loco:notification_center:9f356fa1-2957-4e60-ad73-58f546f8a4e0)
+[ActiveJob] [Loco::SenderJob] [331469f9-11ae-42cd-aa9c-11de3818b838] [ActionCable] Broadcasting to loco:notification_center:9f356fa1-2957-4e60-ad73-58f546f8a4e0: {:loco=>{:sync_time=>"2018-01-04T15:13:01.317309Z"}}
+[ActiveJob] [Loco::SenderJob] [331469f9-11ae-42cd-aa9c-11de3818b838] Performed Loco::SenderJob (Job ID: 331469f9-11ae-42cd-aa9c-11de3818b838) from Async(loco) in 0.79ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:13:01.317309Z"}} (via streamed from loco:notification_center:9f356fa1-2957-4e60-ad73-58f546f8a4e0)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:13:01 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (3.4ms)
+ Rendered user/articles/show.json.jbuilder (4.2ms)
+Completed 200 OK in 12ms (Views: 3.7ms | ActiveRecord: 3.5ms)
+ [1m[35m (1.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.6ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'loco_test'[0m
+ [1m[35m (53.8ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (66.4ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (52.8ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (79.9ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A01.317309Z&uuid=9f356fa1-2957-4e60-ad73-58f546f8a4e0" for 127.0.0.1 at 2018-01-04 16:13:01 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:01.317309Z", "uuid"=>"9f356fa1-2957-4e60-ad73-58f546f8a4e0"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (10.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (57.4ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[36mCACHE Admin Load (0.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m [["id", 298486374], ["LIMIT", 1]]
+ [1m[35m (53.0ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[36mLoco::Notification Load (52.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:01.317309') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:01.317309') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 74ms (Views: 0.3ms | ActiveRecord: 65.5ms)
+ [1m[35m (45.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (49.3ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$deDD8/RFnIYdFLabFqMdtul8dNxxEF7SulHkyWYgjf3zwSifsMXDG', '2018-01-04 15:13:02.176303', '2018-01-04 15:13:02.176303', 980190962)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$x3N9oLIasuEsaQtuaBAKhOhJ52.c514BCiIBfAw5X4EPRADb9PhtK', '2018-01-04 15:13:02.176303', '2018-01-04 15:13:02.176303', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$WvfHmN40G./gwwfGZSWMZu5ojG1cLH1RQHco7IFL1cAS.zohhrlKG', '2017-12-28 15:13:02', '2018-01-04 15:13:02.181275', '2018-01-04 15:13:02.181275', 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$MdIELWDR4fUQCN6DMNzOkuqazw4vhOUpOLyZX9faG/lOvG9sdQWLm', '2018-01-04 15:13:02.181275', '2018-01-04 15:13:02.181275', 15595101)[0m
+ [1m[36mFixture Delete (1.2ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:02', '2018-01-04 15:13:02.187081', '2018-01-04 15:13:02.187081', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:02.187081', '2018-01-04 15:13:02.187081', 298486374, 872278135)[0m
+ [1m[35m (9.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+----------------------------------------------------------
+User::ArticleEditPageTest: test_should_auto_update_comment
+----------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:13:02 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.4ms)
+ Rendered layouts/_head.html.erb (1.3ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:02 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ab81ddf3-ed03-4992-a7e2-92ea340fa81e) to Async(loco) with arguments: #<GlobalID:0x00007f951f727e58 @uri=#<URI::GID gid://dummy/User/872278135>>, "9f356fa1-2957-4e60-ad73-58f546f8a4e0", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 426028e4-fe6f-4610-83b1-d23c52658447) to Async(loco) with arguments: #<GlobalID:0x00007f951d2016b0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "9f356fa1-2957-4e60-ad73-58f546f8a4e0", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:9f356fa1-2957-4e60-ad73-58f546f8a4e0
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (7.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ab81ddf3-ed03-4992-a7e2-92ea340fa81e] Performing Loco::UuidJob (Job ID: ab81ddf3-ed03-4992-a7e2-92ea340fa81e) from Async(loco) with arguments: #<GlobalID:0x00007f951cf0bde8 @uri=#<URI::GID gid://dummy/User/872278135>>, "9f356fa1-2957-4e60-ad73-58f546f8a4e0", "del"
+[ActiveJob] [Loco::UuidJob] [ab81ddf3-ed03-4992-a7e2-92ea340fa81e] Performed Loco::UuidJob (Job ID: ab81ddf3-ed03-4992-a7e2-92ea340fa81e) from Async(loco) in 0.34ms
+ [1m[36mAdmin Load (11.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [426028e4-fe6f-4610-83b1-d23c52658447] Performing Loco::UuidJob (Job ID: 426028e4-fe6f-4610-83b1-d23c52658447) from Async(loco) with arguments: #<GlobalID:0x00007f9521e9ac88 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "9f356fa1-2957-4e60-ad73-58f546f8a4e0", "del"
+[ActiveJob] [Loco::UuidJob] [426028e4-fe6f-4610-83b1-d23c52658447] Performed Loco::UuidJob (Job ID: 426028e4-fe6f-4610-83b1-d23c52658447) from Async(loco) in 0.3ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:02 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:02 +0100
+Processing by Main::ArticlesController#index as JSON
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:02 +0100
+ Parameters: {"page"=>"1", "article"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (2.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:02 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:02 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (5.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (5.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (8.5ms)
+ Rendered main/articles/index.json.jbuilder (22.5ms)
+Completed 200 OK in 31ms (Views: 10.4ms | ActiveRecord: 15.2ms)
+ [1m[36mUser Load (11.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (3.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["38d26729-13f0-401f-b70e-34249c59cf47", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$WvfHmN40G./gwwfGZSWMZu5ojG1cLH1RQHco7IFL1cA...", created_at: "2018-01-04 15:13:02", updated_at: "2018-01-04 15:13:02", confirmed_at: "2017-12-28 15:13:02">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$x3N9oLIasuEsaQtuaBAKhOhJ52.c514BCiIBfAw5X4E...", created_at: "2018-01-04 15:13:02", updated_at: "2018-01-04 15:13:02">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: b31b6a99-6ffb-4335-b198-6cd8b569f45b) to Async(loco) with arguments: "38d26729-13f0-401f-b70e-34249c59cf47", {:loco=>{:uuid=>"38d26729-13f0-401f-b70e-34249c59cf47"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 0463bb99-a986-42b9-a358-27b11a104504) to Async(loco) with arguments: #<GlobalID:0x00007f951d788138 @uri=#<URI::GID gid://dummy/User/872278135>>, "38d26729-13f0-401f-b70e-34249c59cf47", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: e0e67c5c-1f4c-4b6a-8e94-f112005c79cb) to Async(loco) with arguments: #<GlobalID:0x00007f9523269ef8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "38d26729-13f0-401f-b70e-34249c59cf47", "add"
+[ActiveJob] [Loco::SenderJob] [b31b6a99-6ffb-4335-b198-6cd8b569f45b] Performing Loco::SenderJob (Job ID: b31b6a99-6ffb-4335-b198-6cd8b569f45b) from Async(loco) with arguments: "38d26729-13f0-401f-b70e-34249c59cf47", {:loco=>{:uuid=>"38d26729-13f0-401f-b70e-34249c59cf47"}}
+[ActiveJob] [Loco::SenderJob] [b31b6a99-6ffb-4335-b198-6cd8b569f45b] [ActionCable] Broadcasting to loco:notification_center:38d26729-13f0-401f-b70e-34249c59cf47: {:loco=>{:uuid=>"38d26729-13f0-401f-b70e-34249c59cf47"}}
+[ActiveJob] [Loco::SenderJob] [b31b6a99-6ffb-4335-b198-6cd8b569f45b] Performed Loco::SenderJob (Job ID: b31b6a99-6ffb-4335-b198-6cd8b569f45b) from Async(loco) in 0.43ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:38d26729-13f0-401f-b70e-34249c59cf47
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (8.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [e0e67c5c-1f4c-4b6a-8e94-f112005c79cb] Performing Loco::UuidJob (Job ID: e0e67c5c-1f4c-4b6a-8e94-f112005c79cb) from Async(loco) with arguments: #<GlobalID:0x00007f952324c358 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "38d26729-13f0-401f-b70e-34249c59cf47", "add"
+[ActiveJob] [Loco::UuidJob] [e0e67c5c-1f4c-4b6a-8e94-f112005c79cb] Performed Loco::UuidJob (Job ID: e0e67c5c-1f4c-4b6a-8e94-f112005c79cb) from Async(loco) in 0.78ms
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [0463bb99-a986-42b9-a358-27b11a104504] Performing Loco::UuidJob (Job ID: 0463bb99-a986-42b9-a358-27b11a104504) from Async(loco) with arguments: #<GlobalID:0x00007f9523241b38 @uri=#<URI::GID gid://dummy/User/872278135>>, "38d26729-13f0-401f-b70e-34249c59cf47", "add"
+[ActiveJob] [Loco::UuidJob] [0463bb99-a986-42b9-a358-27b11a104504] Performed Loco::UuidJob (Job ID: 0463bb99-a986-42b9-a358-27b11a104504) from Async(loco) in 0.8ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:02 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.5ms)
+ Rendered user/sessions/new.html.erb within layouts/application (0.9ms)
+ Rendered layouts/_head.html.erb (3.4ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:02 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (0.9ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.7ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: f6f41fe8-81df-48b9-bdfa-ffde16fde270) to Async(loco) with arguments: #<GlobalID:0x00007f951d788138 @uri=#<URI::GID gid://dummy/User/872278135>>, "38d26729-13f0-401f-b70e-34249c59cf47", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 7a7b491f-179c-42e4-ae74-221fc8a2a2ae) to Async(loco) with arguments: #<GlobalID:0x00007f9523269ef8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "38d26729-13f0-401f-b70e-34249c59cf47", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:38d26729-13f0-401f-b70e-34249c59cf47
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f6f41fe8-81df-48b9-bdfa-ffde16fde270] Performing Loco::UuidJob (Job ID: f6f41fe8-81df-48b9-bdfa-ffde16fde270) from Async(loco) with arguments: #<GlobalID:0x00007f951cea9c88 @uri=#<URI::GID gid://dummy/User/872278135>>, "38d26729-13f0-401f-b70e-34249c59cf47", "del"
+ [1m[36mAdmin Load (1.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f6f41fe8-81df-48b9-bdfa-ffde16fde270] Performed Loco::UuidJob (Job ID: f6f41fe8-81df-48b9-bdfa-ffde16fde270) from Async(loco) in 0.21ms
+[ActiveJob] [Loco::UuidJob] [7a7b491f-179c-42e4-ae74-221fc8a2a2ae] Performing Loco::UuidJob (Job ID: 7a7b491f-179c-42e4-ae74-221fc8a2a2ae) from Async(loco) with arguments: #<GlobalID:0x00007f95231618d0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "38d26729-13f0-401f-b70e-34249c59cf47", "del"
+[ActiveJob] [Loco::UuidJob] [7a7b491f-179c-42e4-ae74-221fc8a2a2ae] Performed Loco::UuidJob (Job ID: 7a7b491f-179c-42e4-ae74-221fc8a2a2ae) from Async(loco) in 0.16ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (0.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (2.1ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (2.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.8ms)
+ Rendered user/articles/index.json.jbuilder (8.6ms)
+Completed 200 OK in 16ms (Views: 4.9ms | ActiveRecord: 6.0ms)
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["4b936bca-4634-407a-a1de-2565db965205", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$WvfHmN40G./gwwfGZSWMZu5ojG1cLH1RQHco7IFL1cA...", created_at: "2018-01-04 15:13:02", updated_at: "2018-01-04 15:13:02", confirmed_at: "2017-12-28 15:13:02">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$x3N9oLIasuEsaQtuaBAKhOhJ52.c514BCiIBfAw5X4E...", created_at: "2018-01-04 15:13:02", updated_at: "2018-01-04 15:13:02">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 8ab3488b-d767-4305-9c1d-2e1bddf1b6a8) to Async(loco) with arguments: "4b936bca-4634-407a-a1de-2565db965205", {:loco=>{:uuid=>"4b936bca-4634-407a-a1de-2565db965205"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 17c0a5b5-d612-44b8-b11b-08474705e04f) to Async(loco) with arguments: #<GlobalID:0x00007f9521d2abc8 @uri=#<URI::GID gid://dummy/User/872278135>>, "4b936bca-4634-407a-a1de-2565db965205", "add"
+[ActiveJob] [Loco::SenderJob] [8ab3488b-d767-4305-9c1d-2e1bddf1b6a8] Performing Loco::SenderJob (Job ID: 8ab3488b-d767-4305-9c1d-2e1bddf1b6a8) from Async(loco) with arguments: "4b936bca-4634-407a-a1de-2565db965205", {:loco=>{:uuid=>"4b936bca-4634-407a-a1de-2565db965205"}}
+[ActiveJob] [Loco::SenderJob] [8ab3488b-d767-4305-9c1d-2e1bddf1b6a8] [ActionCable] Broadcasting to loco:notification_center:4b936bca-4634-407a-a1de-2565db965205: {:loco=>{:uuid=>"4b936bca-4634-407a-a1de-2565db965205"}}
+[ActiveJob] [Loco::SenderJob] [8ab3488b-d767-4305-9c1d-2e1bddf1b6a8] Performed Loco::SenderJob (Job ID: 8ab3488b-d767-4305-9c1d-2e1bddf1b6a8) from Async(loco) in 0.2ms
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 61911d53-3a9e-4ae4-abb8-5cdec74ba509) to Async(loco) with arguments: #<GlobalID:0x00007f9521d28b70 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "4b936bca-4634-407a-a1de-2565db965205", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:4b936bca-4634-407a-a1de-2565db965205
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [17c0a5b5-d612-44b8-b11b-08474705e04f] Performing Loco::UuidJob (Job ID: 17c0a5b5-d612-44b8-b11b-08474705e04f) from Async(loco) with arguments: #<GlobalID:0x00007f951ce434b0 @uri=#<URI::GID gid://dummy/User/872278135>>, "4b936bca-4634-407a-a1de-2565db965205", "add"
+[ActiveJob] [Loco::UuidJob] [17c0a5b5-d612-44b8-b11b-08474705e04f] Performed Loco::UuidJob (Job ID: 17c0a5b5-d612-44b8-b11b-08474705e04f) from Async(loco) in 0.53ms
+ [1m[36mAdmin Load (4.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [61911d53-3a9e-4ae4-abb8-5cdec74ba509] Performing Loco::UuidJob (Job ID: 61911d53-3a9e-4ae4-abb8-5cdec74ba509) from Async(loco) with arguments: #<GlobalID:0x00007f951d6ddd00 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "4b936bca-4634-407a-a1de-2565db965205", "add"
+[ActiveJob] [Loco::UuidJob] [61911d53-3a9e-4ae4-abb8-5cdec74ba509] Performed Loco::UuidJob (Job ID: 61911d53-3a9e-4ae4-abb8-5cdec74ba509) from Async(loco) in 0.47ms
+ [1m[36mArticle Load (4.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+Started GET "/user/articles/298486374/edit" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Processing by User::ArticlesController#edit as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (3.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (2.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (5.5ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updating', '{\"mark\":\"1515078783.220704\",\"id\":298486374}', 'User', 872278135, '2018-01-04 15:13:03.222753', '2018-01-04 15:13:03.222753')[0m
+ [1m[35mSQL (3.0ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 298486374, '2018-01-04 15:13:03.226359', '2018-01-04 15:13:03.226359', 0, 0, 3)[0m
+ [1m[35m (17.0ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 0bcd0c27-ce93-4ccf-84c4-cfd17be56002) to Async(loco) with arguments: #<GlobalID:0x00007f9521d01098 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078783.220704", "id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: cc6713bc-87ac-4e36-9189-afac2730cd4e) to Async(loco) with arguments: #<GlobalID:0x00007f9521cf3c18 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:03.222753Z"}}
+ Rendering user/articles/edit.html.erb within layouts/user
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendered user/articles/_form.html.erb (1.6ms)
+[ActiveJob] [Loco::SenderJob] [0bcd0c27-ce93-4ccf-84c4-cfd17be56002] Performing Loco::SenderJob (Job ID: 0bcd0c27-ce93-4ccf-84c4-cfd17be56002) from Async(loco) with arguments: #<GlobalID:0x00007f95230c79d8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078783.220704", "id"=>298486374}]}}
+ [1m[36mUser Load (4.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (29.8ms)[0m [1m[35mCOMMIT[0m
+ Rendered user/articles/edit.html.erb within layouts/user (3.6ms)
+[ActiveJob] [Loco::SenderJob] [0bcd0c27-ce93-4ccf-84c4-cfd17be56002] [ActionCable] Broadcasting to loco:notification_center:4b936bca-4634-407a-a1de-2565db965205: {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078783.220704", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [cc6713bc-87ac-4e36-9189-afac2730cd4e] Performing Loco::SenderJob (Job ID: cc6713bc-87ac-4e36-9189-afac2730cd4e) from Async(loco) with arguments: #<GlobalID:0x00007f951ce0e968 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:03.222753Z"}}
+ Rendered layouts/_head.html.erb (1.2ms)
+ [1m[35m (1.6ms)[0m [1m[35mBEGIN[0m
+[ActiveJob] [Loco::SenderJob] [0bcd0c27-ce93-4ccf-84c4-cfd17be56002] Performed Loco::SenderJob (Job ID: 0bcd0c27-ce93-4ccf-84c4-cfd17be56002) from Async(loco) in 2.92ms
+[ActiveJob] [Loco::SenderJob] [cc6713bc-87ac-4e36-9189-afac2730cd4e] [ActionCable] Broadcasting to loco:notification_center:4b936bca-4634-407a-a1de-2565db965205: {:loco=>{:sync_time=>"2018-01-04T15:13:03.222753Z"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updating", {"mark"=>"1515078783.220704", "id"=>298486374}]}} (via streamed from loco:notification_center:4b936bca-4634-407a-a1de-2565db965205)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:13:03.222753Z"}} (via streamed from loco:notification_center:4b936bca-4634-407a-a1de-2565db965205)
+ Rendered layouts/_flash.html.erb (0.1ms)
+[ActiveJob] [Loco::SenderJob] [cc6713bc-87ac-4e36-9189-afac2730cd4e] Performed Loco::SenderJob (Job ID: cc6713bc-87ac-4e36-9189-afac2730cd4e) from Async(loco) in 3.26ms
+Completed 200 OK in 64ms (Views: 16.5ms | ActiveRecord: 28.8ms)
+ [1m[35mSQL (3.5ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":298486374,\"id\":1}', '2018-01-04 15:13:03.265896', '2018-01-04 15:13:03.265896')[0m
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Processing by User::ArticlesController#show as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ [1m[35m (14.6ms)[0m [1m[35mCOMMIT[0m
+Processing by User::CommentsController#index as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 5bc94f43-fa90-49e7-95d5-191be4bc067e) to Async(loco) with arguments: "4b936bca-4634-407a-a1de-2565db965205", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [5bc94f43-fa90-49e7-95d5-191be4bc067e] Performing Loco::SenderJob (Job ID: 5bc94f43-fa90-49e7-95d5-191be4bc067e) from Async(loco) with arguments: "4b936bca-4634-407a-a1de-2565db965205", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [5bc94f43-fa90-49e7-95d5-191be4bc067e] [ActionCable] Broadcasting to loco:notification_center:4b936bca-4634-407a-a1de-2565db965205: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [5bc94f43-fa90-49e7-95d5-191be4bc067e] Performed Loco::SenderJob (Job ID: 5bc94f43-fa90-49e7-95d5-191be4bc067e) from Async(loco) in 0.33ms
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:4b936bca-4634-407a-a1de-2565db965205)
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (2.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (3.6ms)
+ Rendered user/articles/show.json.jbuilder (4.2ms)
+Completed 200 OK in 24ms (Views: 3.5ms | ActiveRecord: 6.3ms)
+ [1m[36mComment Load (2.2ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/_comment.json.jbuilder (0.2ms)
+ Rendered user/comments/index.json.jbuilder (4.2ms)
+Completed 200 OK in 22ms (Views: 2.9ms | ActiveRecord: 7.7ms)
+Started GET "/user/articles/298486374/edit" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Processing by User::ArticlesController#edit as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updating', '{\"mark\":\"1515078783.345221\",\"id\":298486374}', 'User', 872278135, '2018-01-04 15:13:03.346843', '2018-01-04 15:13:03.346843')[0m
+ [1m[35m (11.9ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 4d9b5577-e7e3-4ad0-b00d-366e56d72760) to Async(loco) with arguments: #<GlobalID:0x00007f9523038300 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078783.345221", "id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 7b83cb68-5593-41c7-9870-e296f99463a4) to Async(loco) with arguments: #<GlobalID:0x00007f9523022be0 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:03.346843Z"}}
+ Rendering user/articles/edit.html.erb within layouts/user
+ Rendered user/articles/_form.html.erb (2.2ms)
+ Rendered user/articles/edit.html.erb within layouts/user (2.8ms)
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendered layouts/_head.html.erb (1.5ms)
+ [1m[36mUser Load (5.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [4d9b5577-e7e3-4ad0-b00d-366e56d72760] Performing Loco::SenderJob (Job ID: 4d9b5577-e7e3-4ad0-b00d-366e56d72760) from Async(loco) with arguments: #<GlobalID:0x00007f951cdde470 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078783.345221", "id"=>298486374}]}}
+ Rendered layouts/_flash.html.erb (0.1ms)
+[ActiveJob] [Loco::SenderJob] [7b83cb68-5593-41c7-9870-e296f99463a4] Performing Loco::SenderJob (Job ID: 7b83cb68-5593-41c7-9870-e296f99463a4) from Async(loco) with arguments: #<GlobalID:0x00007f951cdd4e70 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:03.346843Z"}}
+[ActiveJob] [Loco::SenderJob] [4d9b5577-e7e3-4ad0-b00d-366e56d72760] [ActionCable] Broadcasting to loco:notification_center:4b936bca-4634-407a-a1de-2565db965205: {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078783.345221", "id"=>298486374}]}}
+Completed 200 OK in 37ms (Views: 9.6ms | ActiveRecord: 16.6ms)
+[ActiveJob] [Loco::SenderJob] [7b83cb68-5593-41c7-9870-e296f99463a4] [ActionCable] Broadcasting to loco:notification_center:4b936bca-4634-407a-a1de-2565db965205: {:loco=>{:sync_time=>"2018-01-04T15:13:03.346843Z"}}
+[ActiveJob] [Loco::SenderJob] [7b83cb68-5593-41c7-9870-e296f99463a4] Performed Loco::SenderJob (Job ID: 7b83cb68-5593-41c7-9870-e296f99463a4) from Async(loco) in 1.76ms
+[ActiveJob] [Loco::SenderJob] [4d9b5577-e7e3-4ad0-b00d-366e56d72760] Performed Loco::SenderJob (Job ID: 4d9b5577-e7e3-4ad0-b00d-366e56d72760) from Async(loco) in 1.96ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updating", {"mark"=>"1515078783.345221", "id"=>298486374}]}} (via streamed from loco:notification_center:4b936bca-4634-407a-a1de-2565db965205)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:13:03.346843Z"}} (via streamed from loco:notification_center:4b936bca-4634-407a-a1de-2565db965205)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 6fe77926-9c0b-4bf7-9b75-2ace5c962690) to Async(loco) with arguments: #<GlobalID:0x00007f9521d2abc8 @uri=#<URI::GID gid://dummy/User/872278135>>, "4b936bca-4634-407a-a1de-2565db965205", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 0f3dbad8-f048-417a-9971-c5e64a20a3f6) to Async(loco) with arguments: #<GlobalID:0x00007f9521d28b70 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "4b936bca-4634-407a-a1de-2565db965205", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:4b936bca-4634-407a-a1de-2565db965205
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (3.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [0f3dbad8-f048-417a-9971-c5e64a20a3f6] Performing Loco::UuidJob (Job ID: 0f3dbad8-f048-417a-9971-c5e64a20a3f6) from Async(loco) with arguments: #<GlobalID:0x00007f951d63ddc8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "4b936bca-4634-407a-a1de-2565db965205", "del"
+[ActiveJob] [Loco::UuidJob] [0f3dbad8-f048-417a-9971-c5e64a20a3f6] Performed Loco::UuidJob (Job ID: 0f3dbad8-f048-417a-9971-c5e64a20a3f6) from Async(loco) in 0.64ms
+ [1m[36mUser Load (7.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [6fe77926-9c0b-4bf7-9b75-2ace5c962690] Performing Loco::UuidJob (Job ID: 6fe77926-9c0b-4bf7-9b75-2ace5c962690) from Async(loco) with arguments: #<GlobalID:0x00007f9521bcb728 @uri=#<URI::GID gid://dummy/User/872278135>>, "4b936bca-4634-407a-a1de-2565db965205", "del"
+[ActiveJob] [Loco::UuidJob] [6fe77926-9c0b-4bf7-9b75-2ace5c962690] Performed Loco::UuidJob (Job ID: 6fe77926-9c0b-4bf7-9b75-2ace5c962690) from Async(loco) in 0.23ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Processing by User::ArticlesController#show as JSON
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:03 +0100
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ Parameters: {"id"=>"298486374", "article"=>{}}
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mArticle Load (4.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (2.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[36mComment Load (2.9ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/_comment.json.jbuilder (0.4ms)
+ Rendered user/comments/index.json.jbuilder (4.9ms)
+Completed 200 OK in 29ms (Views: 3.1ms | ActiveRecord: 12.5ms)
+ [1m[36mUser Load (6.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (13.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (7.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$WvfHmN40G./gwwfGZSWMZu5ojG1cLH1RQHco7IFL1cA...", created_at: "2018-01-04 15:13:02", updated_at: "2018-01-04 15:13:02", confirmed_at: "2017-12-28 15:13:02">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$x3N9oLIasuEsaQtuaBAKhOhJ52.c514BCiIBfAw5X4E...", created_at: "2018-01-04 15:13:02", updated_at: "2018-01-04 15:13:02">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: abca92bc-cbf2-43fc-8560-26dd2bd4d135) to Async(loco) with arguments: "d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", {:loco=>{:uuid=>"d1bbf5c1-cf1a-4b35-8b22-18db6caaead2"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 05845e8f-0605-4a92-b5c8-ba02cba6789e) to Async(loco) with arguments: #<GlobalID:0x00007f9521b66ad0 @uri=#<URI::GID gid://dummy/User/872278135>>, "d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 0acf1d54-ab7b-46a0-a826-5b0a5024c35d) to Async(loco) with arguments: #<GlobalID:0x00007f9521b64a28 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:d1bbf5c1-cf1a-4b35-8b22-18db6caaead2
+[ActiveJob] [Loco::SenderJob] [abca92bc-cbf2-43fc-8560-26dd2bd4d135] Performing Loco::SenderJob (Job ID: abca92bc-cbf2-43fc-8560-26dd2bd4d135) from Async(loco) with arguments: "d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", {:loco=>{:uuid=>"d1bbf5c1-cf1a-4b35-8b22-18db6caaead2"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [abca92bc-cbf2-43fc-8560-26dd2bd4d135] [ActionCable] Broadcasting to loco:notification_center:d1bbf5c1-cf1a-4b35-8b22-18db6caaead2: {:loco=>{:uuid=>"d1bbf5c1-cf1a-4b35-8b22-18db6caaead2"}}
+ [1m[36mArticle Load (14.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::SenderJob] [abca92bc-cbf2-43fc-8560-26dd2bd4d135] Performed Loco::SenderJob (Job ID: abca92bc-cbf2-43fc-8560-26dd2bd4d135) from Async(loco) in 2.26ms
+ Rendering user/articles/show.json.jbuilder
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"d1bbf5c1-cf1a-4b35-8b22-18db6caaead2"}} (via streamed from loco:notification_center:d1bbf5c1-cf1a-4b35-8b22-18db6caaead2)
+ [1m[36mAdmin Load (6.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [0acf1d54-ab7b-46a0-a826-5b0a5024c35d] Performing Loco::UuidJob (Job ID: 0acf1d54-ab7b-46a0-a826-5b0a5024c35d) from Async(loco) with arguments: #<GlobalID:0x00007f951d5ef790 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", "add"
+[ActiveJob] [Loco::UuidJob] [0acf1d54-ab7b-46a0-a826-5b0a5024c35d] Performed Loco::UuidJob (Job ID: 0acf1d54-ab7b-46a0-a826-5b0a5024c35d) from Async(loco) in 0.73ms
+ [1m[36mUser Load (6.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [05845e8f-0605-4a92-b5c8-ba02cba6789e] Performing Loco::UuidJob (Job ID: 05845e8f-0605-4a92-b5c8-ba02cba6789e) from Async(loco) with arguments: #<GlobalID:0x00007f951d5e5ee8 @uri=#<URI::GID gid://dummy/User/872278135>>, "d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", "add"
+[ActiveJob] [Loco::UuidJob] [05845e8f-0605-4a92-b5c8-ba02cba6789e] Performed Loco::UuidJob (Job ID: 05845e8f-0605-4a92-b5c8-ba02cba6789e) from Async(loco) in 0.68ms
+ [1m[35m (5.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (7.8ms)
+ Rendered user/articles/show.json.jbuilder (8.4ms)
+Completed 200 OK in 48ms (Views: 4.9ms | ActiveRecord: 32.8ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A03.475823Z&uuid=d1bbf5c1-cf1a-4b35-8b22-18db6caaead2" for 127.0.0.1 at 2018-01-04 16:13:04 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:03.475823Z", "uuid"=>"d1bbf5c1-cf1a-4b35-8b22-18db6caaead2"}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (0.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:03.475823') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (0.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:03.475823') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (0.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:03.475823') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.9ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A04.479385Z&uuid=d1bbf5c1-cf1a-4b35-8b22-18db6caaead2" for 127.0.0.1 at 2018-01-04 16:13:05 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:04.479385Z", "uuid"=>"d1bbf5c1-cf1a-4b35-8b22-18db6caaead2"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:04.479385') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:04.479385') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:04.479385') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 7.2ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A05.486472Z&uuid=d1bbf5c1-cf1a-4b35-8b22-18db6caaead2" for 127.0.0.1 at 2018-01-04 16:13:06 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:05.486472Z", "uuid"=>"d1bbf5c1-cf1a-4b35-8b22-18db6caaead2"}
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:05.486472') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:05.486472') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:05.486472') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 8.0ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A06.487151Z&uuid=d1bbf5c1-cf1a-4b35-8b22-18db6caaead2" for 127.0.0.1 at 2018-01-04 16:13:07 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:06.487151Z", "uuid"=>"d1bbf5c1-cf1a-4b35-8b22-18db6caaead2"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:06.487151') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:06.487151') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:06.487151') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 5.5ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A07.480404Z&uuid=d1bbf5c1-cf1a-4b35-8b22-18db6caaead2" for 127.0.0.1 at 2018-01-04 16:13:08 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:07.480404Z", "uuid"=>"d1bbf5c1-cf1a-4b35-8b22-18db6caaead2"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:07.480404') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:07.480404') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:07.480404') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 7.6ms)
+ [1m[35m (2.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (2.5ms)[0m [1m[33mUPDATE `comments` SET `text` = 'Some nice thoughts dude (edited)', `updated_at` = '2018-01-04 15:13:08.667724' WHERE `comments`.`id` = 1[0m
+ [1m[35m (14.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'updated', '{\"article_id\":298486374,\"id\":1}', '2018-01-04 15:13:08.689485', '2018-01-04 15:13:08.689485')[0m
+ [1m[35m (11.7ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: d0cfe326-5c69-4d13-82da-8369360d0610) to Async(loco) with arguments: "d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [d0cfe326-5c69-4d13-82da-8369360d0610] Performing Loco::SenderJob (Job ID: d0cfe326-5c69-4d13-82da-8369360d0610) from Async(loco) with arguments: "d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [d0cfe326-5c69-4d13-82da-8369360d0610] [ActionCable] Broadcasting to loco:notification_center:d1bbf5c1-cf1a-4b35-8b22-18db6caaead2: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [d0cfe326-5c69-4d13-82da-8369360d0610] Performed Loco::SenderJob (Job ID: d0cfe326-5c69-4d13-82da-8369360d0610) from Async(loco) in 0.27ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:d1bbf5c1-cf1a-4b35-8b22-18db6caaead2)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A08.483648Z&uuid=d1bbf5c1-cf1a-4b35-8b22-18db6caaead2" for 127.0.0.1 at 2018-01-04 16:13:08 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:08.483648Z", "uuid"=>"d1bbf5c1-cf1a-4b35-8b22-18db6caaead2"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:08.483648') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:08.483648') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:08.483648') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 8.8ms)
+Started GET "/user/articles/298486374/comments/1" for 127.0.0.1 at 2018-01-04 16:13:08 +0100
+Processing by User::CommentsController#show as JSON
+ Parameters: {"article_id"=>"298486374", "id"=>"1", "comment"=>{}}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mComment Load (1.3ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering user/comments/show.json.jbuilder
+ Rendered user/comments/_comment.json.jbuilder (0.2ms)
+ Rendered user/comments/show.json.jbuilder (0.6ms)
+Completed 200 OK in 14ms (Views: 1.5ms | ActiveRecord: 4.4ms)
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (48.1ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (57.8ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (44.5ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (54.5ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (46.2ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (49.8ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (41.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (56.0ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (2.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$ytPLbt7XGBmVqcxg2kcKbeIF0awKKNuBIkNv5NI/Gs1dB/lGkZ46i', '2018-01-04 15:13:09.260825', '2018-01-04 15:13:09.260825', 980190962)[0m
+ [1m[36mFixture Insert (1.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$MIfzOG3zjkNdB01SbKaa7uLwDg9Hh.ESp/gBiXv0SIlt5vy7oNh0C', '2018-01-04 15:13:09.260825', '2018-01-04 15:13:09.260825', 298486374)[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$tN0QmqZQ4Bbnu1MiSqFCMuIzsMv1v5QOv6o2wZ0g78EgzLDY0EhYa', '2017-12-28 15:13:09', '2018-01-04 15:13:09.268262', '2018-01-04 15:13:09.268262', 872278135)[0m
+ [1m[36mFixture Insert (1.5ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$lS4TWiXACs.hg7Q6sXCOHe2Iea0Ppbo51MSauRuXVpy1sakfwqh0e', '2018-01-04 15:13:09.268262', '2018-01-04 15:13:09.268262', 15595101)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:09', '2018-01-04 15:13:09.275209', '2018-01-04 15:13:09.275209', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:09.275209', '2018-01-04 15:13:09.275209', 298486374, 872278135)[0m
+ [1m[35m (12.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+--------------------------------------------------------------
+User::ArticleEditPageTest: test_should_show_info_about_editing
+--------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:13:09 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.4ms)
+ Rendered layouts/_head.html.erb (1.2ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:09 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 85f2cfa8-5d17-48e6-8bb8-228444bf6287) to Async(loco) with arguments: #<GlobalID:0x00007f9521b66ad0 @uri=#<URI::GID gid://dummy/User/872278135>>, "d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: d2d1ead3-ba41-4be2-8fde-692d9b14e4d2) to Async(loco) with arguments: #<GlobalID:0x00007f9521b64a28 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:d1bbf5c1-cf1a-4b35-8b22-18db6caaead2
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [85f2cfa8-5d17-48e6-8bb8-228444bf6287] Performing Loco::UuidJob (Job ID: 85f2cfa8-5d17-48e6-8bb8-228444bf6287) from Async(loco) with arguments: #<GlobalID:0x00007f952406bf60 @uri=#<URI::GID gid://dummy/User/872278135>>, "d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", "del"
+[ActiveJob] [Loco::UuidJob] [85f2cfa8-5d17-48e6-8bb8-228444bf6287] Performed Loco::UuidJob (Job ID: 85f2cfa8-5d17-48e6-8bb8-228444bf6287) from Async(loco) in 0.32ms
+ [1m[36mAdmin Load (4.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [d2d1ead3-ba41-4be2-8fde-692d9b14e4d2] Performing Loco::UuidJob (Job ID: d2d1ead3-ba41-4be2-8fde-692d9b14e4d2) from Async(loco) with arguments: #<GlobalID:0x00007f9521fef840 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d1bbf5c1-cf1a-4b35-8b22-18db6caaead2", "del"
+[ActiveJob] [Loco::UuidJob] [d2d1ead3-ba41-4be2-8fde-692d9b14e4d2] Performed Loco::UuidJob (Job ID: d2d1ead3-ba41-4be2-8fde-692d9b14e4d2) from Async(loco) in 0.22ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:09 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:09 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:09 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:09 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:09 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mUser Load (5.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["c65a52ca-6d30-45be-95dd-f5c490fd0acc", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$tN0QmqZQ4Bbnu1MiSqFCMuIzsMv1v5QOv6o2wZ0g78E...", created_at: "2018-01-04 15:13:09", updated_at: "2018-01-04 15:13:09", confirmed_at: "2017-12-28 15:13:09">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$MIfzOG3zjkNdB01SbKaa7uLwDg9Hh.ESp/gBiXv0SIl...", created_at: "2018-01-04 15:13:09", updated_at: "2018-01-04 15:13:09">])
+ [1m[35m (2.5ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 9ddf116a-a06f-4676-b1a0-ec66233e90c0) to Async(loco) with arguments: "c65a52ca-6d30-45be-95dd-f5c490fd0acc", {:loco=>{:uuid=>"c65a52ca-6d30-45be-95dd-f5c490fd0acc"}}
+[ActiveJob] [Loco::SenderJob] [9ddf116a-a06f-4676-b1a0-ec66233e90c0] Performing Loco::SenderJob (Job ID: 9ddf116a-a06f-4676-b1a0-ec66233e90c0) from Async(loco) with arguments: "c65a52ca-6d30-45be-95dd-f5c490fd0acc", {:loco=>{:uuid=>"c65a52ca-6d30-45be-95dd-f5c490fd0acc"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 912a5d41-397d-4859-95bf-5d50a43e8361) to Async(loco) with arguments: #<GlobalID:0x00007f952386b180 @uri=#<URI::GID gid://dummy/User/872278135>>, "c65a52ca-6d30-45be-95dd-f5c490fd0acc", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:c65a52ca-6d30-45be-95dd-f5c490fd0acc
+[ActiveJob] [Loco::SenderJob] [9ddf116a-a06f-4676-b1a0-ec66233e90c0] [ActionCable] Broadcasting to loco:notification_center:c65a52ca-6d30-45be-95dd-f5c490fd0acc: {:loco=>{:uuid=>"c65a52ca-6d30-45be-95dd-f5c490fd0acc"}}
+ [1m[36mArticle Load (2.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 09b646b3-9269-44f4-8c39-a93237320eb1) to Async(loco) with arguments: #<GlobalID:0x00007f95233a13e8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "c65a52ca-6d30-45be-95dd-f5c490fd0acc", "add"
+[ActiveJob] [Loco::SenderJob] [9ddf116a-a06f-4676-b1a0-ec66233e90c0] Performed Loco::SenderJob (Job ID: 9ddf116a-a06f-4676-b1a0-ec66233e90c0) from Async(loco) in 2.97ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"c65a52ca-6d30-45be-95dd-f5c490fd0acc"}} (via streamed from loco:notification_center:c65a52ca-6d30-45be-95dd-f5c490fd0acc)
+ [1m[36mUser Load (3.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::UuidJob] [912a5d41-397d-4859-95bf-5d50a43e8361] Performing Loco::UuidJob (Job ID: 912a5d41-397d-4859-95bf-5d50a43e8361) from Async(loco) with arguments: #<GlobalID:0x00007f95238540e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "c65a52ca-6d30-45be-95dd-f5c490fd0acc", "add"
+ [1m[36mUser Load (3.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (7.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [09b646b3-9269-44f4-8c39-a93237320eb1] Performing Loco::UuidJob (Job ID: 09b646b3-9269-44f4-8c39-a93237320eb1) from Async(loco) with arguments: #<GlobalID:0x00007f952384c910 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "c65a52ca-6d30-45be-95dd-f5c490fd0acc", "add"
+[ActiveJob] [Loco::UuidJob] [09b646b3-9269-44f4-8c39-a93237320eb1] Performed Loco::UuidJob (Job ID: 09b646b3-9269-44f4-8c39-a93237320eb1) from Async(loco) in 0.7ms
+[ActiveJob] [Loco::UuidJob] [912a5d41-397d-4859-95bf-5d50a43e8361] Performed Loco::UuidJob (Job ID: 912a5d41-397d-4859-95bf-5d50a43e8361) from Async(loco) in 0.63ms
+ [1m[35m (5.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (7.9ms)
+ Rendered main/articles/index.json.jbuilder (23.0ms)
+Completed 200 OK in 33ms (Views: 12.0ms | ActiveRecord: 14.7ms)
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:09 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.5ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.2ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:09 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:13:09 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 8ms (ActiveRecord: 1.3ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:13:09 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 9ms (Views: 4.9ms | ActiveRecord: 1.2ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:09 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: aadcc4b3-34ef-4b31-af24-2a3fb1c0244e) to Async(loco) with arguments: #<GlobalID:0x00007f952386b180 @uri=#<URI::GID gid://dummy/User/872278135>>, "c65a52ca-6d30-45be-95dd-f5c490fd0acc", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 60bde9cf-9046-4d72-b186-b6f06278e175) to Async(loco) with arguments: #<GlobalID:0x00007f95233a13e8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "c65a52ca-6d30-45be-95dd-f5c490fd0acc", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:c65a52ca-6d30-45be-95dd-f5c490fd0acc
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (4.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [aadcc4b3-34ef-4b31-af24-2a3fb1c0244e] Performing Loco::UuidJob (Job ID: aadcc4b3-34ef-4b31-af24-2a3fb1c0244e) from Async(loco) with arguments: #<GlobalID:0x00007f9521dce200 @uri=#<URI::GID gid://dummy/User/872278135>>, "c65a52ca-6d30-45be-95dd-f5c490fd0acc", "del"
+[ActiveJob] [Loco::UuidJob] [aadcc4b3-34ef-4b31-af24-2a3fb1c0244e] Performed Loco::UuidJob (Job ID: aadcc4b3-34ef-4b31-af24-2a3fb1c0244e) from Async(loco) in 0.24ms
+ [1m[36mAdmin Load (6.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [60bde9cf-9046-4d72-b186-b6f06278e175] Performing Loco::UuidJob (Job ID: 60bde9cf-9046-4d72-b186-b6f06278e175) from Async(loco) with arguments: #<GlobalID:0x00007f9521dbd310 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "c65a52ca-6d30-45be-95dd-f5c490fd0acc", "del"
+[ActiveJob] [Loco::UuidJob] [60bde9cf-9046-4d72-b186-b6f06278e175] Performed Loco::UuidJob (Job ID: 60bde9cf-9046-4d72-b186-b6f06278e175) from Async(loco) in 0.3ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:10 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:10 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:10 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (3.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:10 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:10 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (5.6ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (3.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (2.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (4.9ms)
+ [1m[36mUser Load (4.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (4.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.9ms)
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendered user/articles/index.json.jbuilder (15.1ms)
+[AC] [-] [872278135] [298486374] Registered connection (["b8bf7149-c86b-49f9-93ff-91e48eb12cd7", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$tN0QmqZQ4Bbnu1MiSqFCMuIzsMv1v5QOv6o2wZ0g78E...", created_at: "2018-01-04 15:13:09", updated_at: "2018-01-04 15:13:09", confirmed_at: "2017-12-28 15:13:09">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$MIfzOG3zjkNdB01SbKaa7uLwDg9Hh.ESp/gBiXv0SIl...", created_at: "2018-01-04 15:13:09", updated_at: "2018-01-04 15:13:09">])
+Completed 200 OK in 34ms (Views: 10.1ms | ActiveRecord: 16.2ms)
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 9b8f6c74-8660-4bd1-bc23-6a523f73e107) to Async(loco) with arguments: "b8bf7149-c86b-49f9-93ff-91e48eb12cd7", {:loco=>{:uuid=>"b8bf7149-c86b-49f9-93ff-91e48eb12cd7"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 5acdcf65-9114-4c3e-b843-f53d43751de0) to Async(loco) with arguments: #<GlobalID:0x00007f951cef9288 @uri=#<URI::GID gid://dummy/User/872278135>>, "b8bf7149-c86b-49f9-93ff-91e48eb12cd7", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 57995385-514d-43d9-913c-872f9ccca4ef) to Async(loco) with arguments: #<GlobalID:0x00007f9521d831b0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "b8bf7149-c86b-49f9-93ff-91e48eb12cd7", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:b8bf7149-c86b-49f9-93ff-91e48eb12cd7
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [9b8f6c74-8660-4bd1-bc23-6a523f73e107] Performing Loco::SenderJob (Job ID: 9b8f6c74-8660-4bd1-bc23-6a523f73e107) from Async(loco) with arguments: "b8bf7149-c86b-49f9-93ff-91e48eb12cd7", {:loco=>{:uuid=>"b8bf7149-c86b-49f9-93ff-91e48eb12cd7"}}
+[ActiveJob] [Loco::SenderJob] [9b8f6c74-8660-4bd1-bc23-6a523f73e107] [ActionCable] Broadcasting to loco:notification_center:b8bf7149-c86b-49f9-93ff-91e48eb12cd7: {:loco=>{:uuid=>"b8bf7149-c86b-49f9-93ff-91e48eb12cd7"}}
+[ActiveJob] [Loco::SenderJob] [9b8f6c74-8660-4bd1-bc23-6a523f73e107] Performed Loco::SenderJob (Job ID: 9b8f6c74-8660-4bd1-bc23-6a523f73e107) from Async(loco) in 0.34ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"b8bf7149-c86b-49f9-93ff-91e48eb12cd7"}} (via streamed from loco:notification_center:b8bf7149-c86b-49f9-93ff-91e48eb12cd7)
+ [1m[36mUser Load (7.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [5acdcf65-9114-4c3e-b843-f53d43751de0] Performing Loco::UuidJob (Job ID: 5acdcf65-9114-4c3e-b843-f53d43751de0) from Async(loco) with arguments: #<GlobalID:0x00007f9521d78030 @uri=#<URI::GID gid://dummy/User/872278135>>, "b8bf7149-c86b-49f9-93ff-91e48eb12cd7", "add"
+ [1m[36mAdmin Load (3.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [57995385-514d-43d9-913c-872f9ccca4ef] Performing Loco::UuidJob (Job ID: 57995385-514d-43d9-913c-872f9ccca4ef) from Async(loco) with arguments: #<GlobalID:0x00007f9521d70588 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "b8bf7149-c86b-49f9-93ff-91e48eb12cd7", "add"
+[ActiveJob] [Loco::UuidJob] [5acdcf65-9114-4c3e-b843-f53d43751de0] Performed Loco::UuidJob (Job ID: 5acdcf65-9114-4c3e-b843-f53d43751de0) from Async(loco) in 1.65ms
+[ActiveJob] [Loco::UuidJob] [57995385-514d-43d9-913c-872f9ccca4ef] Performed Loco::UuidJob (Job ID: 57995385-514d-43d9-913c-872f9ccca4ef) from Async(loco) in 0.59ms
+Started GET "/user/articles/298486374/edit" for 127.0.0.1 at 2018-01-04 16:13:10 +0100
+Processing by User::ArticlesController#edit as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updating', '{\"mark\":\"1515078790.170963\",\"id\":298486374}', 'User', 872278135, '2018-01-04 15:13:10.173113', '2018-01-04 15:13:10.173113')[0m
+ [1m[35m (11.3ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 1ff6350e-509a-4c52-b1eb-9fff1ff3d38f) to Async(loco) with arguments: #<GlobalID:0x00007f9521d69e18 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078790.170963", "id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: aa930963-67fb-4a6b-afc6-38d7720ef586) to Async(loco) with arguments: #<GlobalID:0x00007f9521d60688 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:10.173113Z"}}
+ Rendering user/articles/edit.html.erb within layouts/user
+ Rendered user/articles/_form.html.erb (2.7ms)
+ [1m[36mUser Load (4.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (3.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [aa930963-67fb-4a6b-afc6-38d7720ef586] Performing Loco::SenderJob (Job ID: aa930963-67fb-4a6b-afc6-38d7720ef586) from Async(loco) with arguments: #<GlobalID:0x00007f9523153c30 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:10.173113Z"}}
+[ActiveJob] [Loco::SenderJob] [1ff6350e-509a-4c52-b1eb-9fff1ff3d38f] Performing Loco::SenderJob (Job ID: 1ff6350e-509a-4c52-b1eb-9fff1ff3d38f) from Async(loco) with arguments: #<GlobalID:0x00007f952315acb0 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078790.170963", "id"=>298486374}]}}
+ Rendered user/articles/edit.html.erb within layouts/user (3.5ms)
+[ActiveJob] [Loco::SenderJob] [aa930963-67fb-4a6b-afc6-38d7720ef586] [ActionCable] Broadcasting to loco:notification_center:b8bf7149-c86b-49f9-93ff-91e48eb12cd7: {:loco=>{:sync_time=>"2018-01-04T15:13:10.173113Z"}}
+[ActiveJob] [Loco::SenderJob] [1ff6350e-509a-4c52-b1eb-9fff1ff3d38f] [ActionCable] Broadcasting to loco:notification_center:b8bf7149-c86b-49f9-93ff-91e48eb12cd7: {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078790.170963", "id"=>298486374}]}}
+ Rendered layouts/_head.html.erb (2.6ms)
+[ActiveJob] [Loco::SenderJob] [aa930963-67fb-4a6b-afc6-38d7720ef586] Performed Loco::SenderJob (Job ID: aa930963-67fb-4a6b-afc6-38d7720ef586) from Async(loco) in 3.51ms
+[ActiveJob] [Loco::SenderJob] [1ff6350e-509a-4c52-b1eb-9fff1ff3d38f] Performed Loco::SenderJob (Job ID: 1ff6350e-509a-4c52-b1eb-9fff1ff3d38f) from Async(loco) in 3.51ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updating", {"mark"=>"1515078790.170963", "id"=>298486374}]}} (via streamed from loco:notification_center:b8bf7149-c86b-49f9-93ff-91e48eb12cd7)
+ Rendered layouts/_flash.html.erb (0.1ms)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:13:10.173113Z"}} (via streamed from loco:notification_center:b8bf7149-c86b-49f9-93ff-91e48eb12cd7)
+Completed 200 OK in 52ms (Views: 13.0ms | ActiveRecord: 17.4ms)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:13:10 +0100
+Processing by User::ArticlesController#show as JSON
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:13:10 +0100
+ Parameters: {"id"=>"298486374", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:10 +0100
+Processing by User::CommentsController#index as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (6.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (3.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (2.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[36mArticle Load (2.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[36mComment Load (4.1ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/index.json.jbuilder (5.1ms)
+Completed 200 OK in 19ms (Views: 1.9ms | ActiveRecord: 11.3ms)
+ [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (3.5ms)
+ Rendered user/articles/show.json.jbuilder (4.4ms)
+Completed 200 OK in 25ms (Views: 3.3ms | ActiveRecord: 10.8ms)
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updating', '{\"mark\":\"1515078790.264003\",\"id\":298486374}', 'User', 872278135, '2018-01-04 15:13:10.269348', '2018-01-04 15:13:10.269348')[0m
+ [1m[35m (8.0ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 8405eede-5085-4738-803a-f26a3d782131) to Async(loco) with arguments: #<GlobalID:0x00007f951d6d6b90 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078790.264003", "id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 088dcae7-e210-4451-bfa3-2052320be836) to Async(loco) with arguments: #<GlobalID:0x00007f952310b250 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:10.269348Z"}}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [088dcae7-e210-4451-bfa3-2052320be836] Performing Loco::SenderJob (Job ID: 088dcae7-e210-4451-bfa3-2052320be836) from Async(loco) with arguments: #<GlobalID:0x00007f951ce30b80 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:10.269348Z"}}
+[ActiveJob] [Loco::SenderJob] [8405eede-5085-4738-803a-f26a3d782131] Performing Loco::SenderJob (Job ID: 8405eede-5085-4738-803a-f26a3d782131) from Async(loco) with arguments: #<GlobalID:0x00007f951d6ccbb8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078790.264003", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [088dcae7-e210-4451-bfa3-2052320be836] [ActionCable] Broadcasting to loco:notification_center:b8bf7149-c86b-49f9-93ff-91e48eb12cd7: {:loco=>{:sync_time=>"2018-01-04T15:13:10.269348Z"}}
+[ActiveJob] [Loco::SenderJob] [8405eede-5085-4738-803a-f26a3d782131] [ActionCable] Broadcasting to loco:notification_center:b8bf7149-c86b-49f9-93ff-91e48eb12cd7: {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078790.264003", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [088dcae7-e210-4451-bfa3-2052320be836] Performed Loco::SenderJob (Job ID: 088dcae7-e210-4451-bfa3-2052320be836) from Async(loco) in 0.62ms
+[ActiveJob] [Loco::SenderJob] [8405eede-5085-4738-803a-f26a3d782131] Performed Loco::SenderJob (Job ID: 8405eede-5085-4738-803a-f26a3d782131) from Async(loco) in 0.6ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:13:10.269348Z"}} (via streamed from loco:notification_center:b8bf7149-c86b-49f9-93ff-91e48eb12cd7)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updating", {"mark"=>"1515078790.264003", "id"=>298486374}]}} (via streamed from loco:notification_center:b8bf7149-c86b-49f9-93ff-91e48eb12cd7)
+ [1m[35m (5.2ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (57.8ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (39.6ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (53.1ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (41.6ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (51.9ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (42.6ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (45.6ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (56.1ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$dW591KqTkZn9EewDdWM4I.26ScI5TdGpf68RZAV3bXeXbq8aNyOiu', '2018-01-04 15:13:10.941389', '2018-01-04 15:13:10.941389', 980190962)[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$Bu2s09x49wb8YeUyhfucMejoj7S9HF3orSSLErLCymvawiWvJL3uG', '2018-01-04 15:13:10.941389', '2018-01-04 15:13:10.941389', 298486374)[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$yxAfVTsD5A1o.KUz5kHh/uHO1NJECd5Ut5p.USyYPxQX3BbbiV/Xy', '2017-12-28 15:13:10', '2018-01-04 15:13:10.945104', '2018-01-04 15:13:10.945104', 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$J51fqGROHDX.NrFiTBVbDept9d3.JMbk0vIWlW1ApLJ.MbzOFxF6a', '2018-01-04 15:13:10.945104', '2018-01-04 15:13:10.945104', 15595101)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:10', '2018-01-04 15:13:10.949025', '2018-01-04 15:13:10.949025', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:10.949025', '2018-01-04 15:13:10.949025', 298486374, 872278135)[0m
+ [1m[35m (11.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------------------
+User::ArticleEditPageTest: test_should_auto_load_new_comments
+-------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:13:10 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.2ms)
+ Rendered layouts/_head.html.erb (1.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:10 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 8cad88d4-8d6f-41fa-a3a2-3aad53b449fb) to Async(loco) with arguments: #<GlobalID:0x00007f951cef9288 @uri=#<URI::GID gid://dummy/User/872278135>>, "b8bf7149-c86b-49f9-93ff-91e48eb12cd7", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 041fc3c5-ac7e-454d-98c5-5701d1cb8696) to Async(loco) with arguments: #<GlobalID:0x00007f9521d831b0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "b8bf7149-c86b-49f9-93ff-91e48eb12cd7", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:b8bf7149-c86b-49f9-93ff-91e48eb12cd7
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [8cad88d4-8d6f-41fa-a3a2-3aad53b449fb] Performing Loco::UuidJob (Job ID: 8cad88d4-8d6f-41fa-a3a2-3aad53b449fb) from Async(loco) with arguments: #<GlobalID:0x00007f9521c936b0 @uri=#<URI::GID gid://dummy/User/872278135>>, "b8bf7149-c86b-49f9-93ff-91e48eb12cd7", "del"
+[ActiveJob] [Loco::UuidJob] [8cad88d4-8d6f-41fa-a3a2-3aad53b449fb] Performed Loco::UuidJob (Job ID: 8cad88d4-8d6f-41fa-a3a2-3aad53b449fb) from Async(loco) in 0.26ms
+ [1m[36mAdmin Load (2.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [041fc3c5-ac7e-454d-98c5-5701d1cb8696] Performing Loco::UuidJob (Job ID: 041fc3c5-ac7e-454d-98c5-5701d1cb8696) from Async(loco) with arguments: #<GlobalID:0x00007f9521c86e38 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "b8bf7149-c86b-49f9-93ff-91e48eb12cd7", "del"
+[ActiveJob] [Loco::UuidJob] [041fc3c5-ac7e-454d-98c5-5701d1cb8696] Performed Loco::UuidJob (Job ID: 041fc3c5-ac7e-454d-98c5-5701d1cb8696) from Async(loco) in 0.22ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["01b78b31-f6ee-4d62-b660-0490f3f1c8e5", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$yxAfVTsD5A1o.KUz5kHh/uHO1NJECd5Ut5p.USyYPxQ...", created_at: "2018-01-04 15:13:10", updated_at: "2018-01-04 15:13:10", confirmed_at: "2017-12-28 15:13:10">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$Bu2s09x49wb8YeUyhfucMejoj7S9HF3orSSLErLCymv...", created_at: "2018-01-04 15:13:10", updated_at: "2018-01-04 15:13:10">])
+ [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: f4a9cd39-bd4f-4709-81d2-107cec8bf701) to Async(loco) with arguments: "01b78b31-f6ee-4d62-b660-0490f3f1c8e5", {:loco=>{:uuid=>"01b78b31-f6ee-4d62-b660-0490f3f1c8e5"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 47b87f52-8b8d-46d5-a47b-7b97a3768a3b) to Async(loco) with arguments: #<GlobalID:0x00007f95230511c0 @uri=#<URI::GID gid://dummy/User/872278135>>, "01b78b31-f6ee-4d62-b660-0490f3f1c8e5", "add"
+[ActiveJob] [Loco::SenderJob] [f4a9cd39-bd4f-4709-81d2-107cec8bf701] Performing Loco::SenderJob (Job ID: f4a9cd39-bd4f-4709-81d2-107cec8bf701) from Async(loco) with arguments: "01b78b31-f6ee-4d62-b660-0490f3f1c8e5", {:loco=>{:uuid=>"01b78b31-f6ee-4d62-b660-0490f3f1c8e5"}}
+[ActiveJob] [Loco::SenderJob] [f4a9cd39-bd4f-4709-81d2-107cec8bf701] [ActionCable] Broadcasting to loco:notification_center:01b78b31-f6ee-4d62-b660-0490f3f1c8e5: {:loco=>{:uuid=>"01b78b31-f6ee-4d62-b660-0490f3f1c8e5"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:01b78b31-f6ee-4d62-b660-0490f3f1c8e5
+ [1m[36mArticle Load (3.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 2719f3c7-0603-4599-bbae-65ba02da28b0) to Async(loco) with arguments: #<GlobalID:0x00007f9521c494e8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "01b78b31-f6ee-4d62-b660-0490f3f1c8e5", "add"
+[ActiveJob] [Loco::SenderJob] [f4a9cd39-bd4f-4709-81d2-107cec8bf701] Performed Loco::SenderJob (Job ID: f4a9cd39-bd4f-4709-81d2-107cec8bf701) from Async(loco) in 3.95ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"01b78b31-f6ee-4d62-b660-0490f3f1c8e5"}} (via streamed from loco:notification_center:01b78b31-f6ee-4d62-b660-0490f3f1c8e5)
+ [1m[36mUser Load (4.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [47b87f52-8b8d-46d5-a47b-7b97a3768a3b] Performing Loco::UuidJob (Job ID: 47b87f52-8b8d-46d5-a47b-7b97a3768a3b) from Async(loco) with arguments: #<GlobalID:0x00007f95230280b8 @uri=#<URI::GID gid://dummy/User/872278135>>, "01b78b31-f6ee-4d62-b660-0490f3f1c8e5", "add"
+[ActiveJob] [Loco::UuidJob] [47b87f52-8b8d-46d5-a47b-7b97a3768a3b] Performed Loco::UuidJob (Job ID: 47b87f52-8b8d-46d5-a47b-7b97a3768a3b) from Async(loco) in 0.59ms
+ [1m[36mUser Load (4.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[36mAdmin Load (4.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [2719f3c7-0603-4599-bbae-65ba02da28b0] Performing Loco::UuidJob (Job ID: 2719f3c7-0603-4599-bbae-65ba02da28b0) from Async(loco) with arguments: #<GlobalID:0x00007f9523012ad8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "01b78b31-f6ee-4d62-b660-0490f3f1c8e5", "add"
+[ActiveJob] [Loco::UuidJob] [2719f3c7-0603-4599-bbae-65ba02da28b0] Performed Loco::UuidJob (Job ID: 2719f3c7-0603-4599-bbae-65ba02da28b0) from Async(loco) in 0.49ms
+ [1m[35m (5.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (7.0ms)
+ Rendered main/articles/index.json.jbuilder (20.6ms)
+Completed 200 OK in 27ms (Views: 8.3ms | ActiveRecord: 15.7ms)
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (2.4ms)
+ Rendered user/sessions/new.html.erb within layouts/application (2.8ms)
+ Rendered layouts/_head.html.erb (1.4ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 7ms (ActiveRecord: 1.9ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (1.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.9ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ea3c7f15-82c6-49bc-9a1e-751a0ffb105b) to Async(loco) with arguments: #<GlobalID:0x00007f95230511c0 @uri=#<URI::GID gid://dummy/User/872278135>>, "01b78b31-f6ee-4d62-b660-0490f3f1c8e5", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 6dcc947b-f24f-4ecd-bba3-3f7b2f372241) to Async(loco) with arguments: #<GlobalID:0x00007f9521c494e8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "01b78b31-f6ee-4d62-b660-0490f3f1c8e5", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:01b78b31-f6ee-4d62-b660-0490f3f1c8e5
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ea3c7f15-82c6-49bc-9a1e-751a0ffb105b] Performing Loco::UuidJob (Job ID: ea3c7f15-82c6-49bc-9a1e-751a0ffb105b) from Async(loco) with arguments: #<GlobalID:0x00007f9521731e38 @uri=#<URI::GID gid://dummy/User/872278135>>, "01b78b31-f6ee-4d62-b660-0490f3f1c8e5", "del"
+[ActiveJob] [Loco::UuidJob] [ea3c7f15-82c6-49bc-9a1e-751a0ffb105b] Performed Loco::UuidJob (Job ID: ea3c7f15-82c6-49bc-9a1e-751a0ffb105b) from Async(loco) in 0.75ms
+ [1m[36mAdmin Load (4.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [6dcc947b-f24f-4ecd-bba3-3f7b2f372241] Performing Loco::UuidJob (Job ID: 6dcc947b-f24f-4ecd-bba3-3f7b2f372241) from Async(loco) with arguments: #<GlobalID:0x00007f951cd65390 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "01b78b31-f6ee-4d62-b660-0490f3f1c8e5", "del"
+[ActiveJob] [Loco::UuidJob] [6dcc947b-f24f-4ecd-bba3-3f7b2f372241] Performed Loco::UuidJob (Job ID: 6dcc947b-f24f-4ecd-bba3-3f7b2f372241) from Async(loco) in 0.22ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (3.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (9.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (10.9ms)
+ [1m[36mUser Load (3.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (4.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (7.4ms)
+ Rendered user/articles/index.json.jbuilder (22.2ms)
+Completed 200 OK in 33ms (Views: 7.5ms | ActiveRecord: 20.5ms)
+ [1m[36mAdmin Load (5.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$yxAfVTsD5A1o.KUz5kHh/uHO1NJECd5Ut5p.USyYPxQ...", created_at: "2018-01-04 15:13:10", updated_at: "2018-01-04 15:13:10", confirmed_at: "2017-12-28 15:13:10">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$Bu2s09x49wb8YeUyhfucMejoj7S9HF3orSSLErLCymv...", created_at: "2018-01-04 15:13:10", updated_at: "2018-01-04 15:13:10">])
+ [1m[36mArticle Load (4.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: a3a3f8f9-5f3f-4628-8fdb-291b061e4b1a) to Async(loco) with arguments: "291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", {:loco=>{:uuid=>"291f2790-02b2-4b1b-b1d1-1fb5d4da9af1"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 8d17d01f-94ca-480a-bc9d-5998d719572e) to Async(loco) with arguments: #<GlobalID:0x00007f9521680fe8 @uri=#<URI::GID gid://dummy/User/872278135>>, "291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: a00da171-904c-4b86-ab11-91a346b65413) to Async(loco) with arguments: #<GlobalID:0x00007f951d56ef78 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", "add"
+[ActiveJob] [Loco::SenderJob] [a3a3f8f9-5f3f-4628-8fdb-291b061e4b1a] Performing Loco::SenderJob (Job ID: a3a3f8f9-5f3f-4628-8fdb-291b061e4b1a) from Async(loco) with arguments: "291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", {:loco=>{:uuid=>"291f2790-02b2-4b1b-b1d1-1fb5d4da9af1"}}
+[ActiveJob] [Loco::SenderJob] [a3a3f8f9-5f3f-4628-8fdb-291b061e4b1a] [ActionCable] Broadcasting to loco:notification_center:291f2790-02b2-4b1b-b1d1-1fb5d4da9af1: {:loco=>{:uuid=>"291f2790-02b2-4b1b-b1d1-1fb5d4da9af1"}}
+[ActiveJob] [Loco::SenderJob] [a3a3f8f9-5f3f-4628-8fdb-291b061e4b1a] Performed Loco::SenderJob (Job ID: a3a3f8f9-5f3f-4628-8fdb-291b061e4b1a) from Async(loco) in 0.27ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:291f2790-02b2-4b1b-b1d1-1fb5d4da9af1
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (5.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [8d17d01f-94ca-480a-bc9d-5998d719572e] Performing Loco::UuidJob (Job ID: 8d17d01f-94ca-480a-bc9d-5998d719572e) from Async(loco) with arguments: #<GlobalID:0x00007f951cc824f0 @uri=#<URI::GID gid://dummy/User/872278135>>, "291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", "add"
+[ActiveJob] [Loco::UuidJob] [8d17d01f-94ca-480a-bc9d-5998d719572e] Performed Loco::UuidJob (Job ID: 8d17d01f-94ca-480a-bc9d-5998d719572e) from Async(loco) in 0.62ms
+ [1m[36mAdmin Load (7.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [a00da171-904c-4b86-ab11-91a346b65413] Performing Loco::UuidJob (Job ID: a00da171-904c-4b86-ab11-91a346b65413) from Async(loco) with arguments: #<GlobalID:0x00007f95219c8d68 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", "add"
+[ActiveJob] [Loco::UuidJob] [a00da171-904c-4b86-ab11-91a346b65413] Performed Loco::UuidJob (Job ID: a00da171-904c-4b86-ab11-91a346b65413) from Async(loco) in 0.55ms
+Started GET "/user/articles/298486374/edit" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by User::ArticlesController#edit as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updating', '{\"mark\":\"1515078791.7655349\",\"id\":298486374}', 'User', 872278135, '2018-01-04 15:13:11.768810', '2018-01-04 15:13:11.768810')[0m
+ [1m[35m (13.9ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 355e217d-4106-4666-8630-322dabf7b283) to Async(loco) with arguments: #<GlobalID:0x00007f95215e2cd0 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078791.7655349", "id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 90b5fb3a-7079-470b-ae0f-6a9d71e2d961) to Async(loco) with arguments: #<GlobalID:0x00007f95215dbf48 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:11.768810Z"}}
+ Rendering user/articles/edit.html.erb within layouts/user
+ Rendered user/articles/_form.html.erb (1.2ms)
+ Rendered user/articles/edit.html.erb within layouts/user (1.5ms)
+ Rendered layouts/_head.html.erb (1.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 36ms (Views: 3.8ms | ActiveRecord: 19.8ms)
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [355e217d-4106-4666-8630-322dabf7b283] Performing Loco::SenderJob (Job ID: 355e217d-4106-4666-8630-322dabf7b283) from Async(loco) with arguments: #<GlobalID:0x00007f9521aa67a8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078791.7655349", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [355e217d-4106-4666-8630-322dabf7b283] [ActionCable] Broadcasting to loco:notification_center:291f2790-02b2-4b1b-b1d1-1fb5d4da9af1: {:loco=>{:notification=>["Article", 298486374, "updating", {"mark"=>"1515078791.7655349", "id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [355e217d-4106-4666-8630-322dabf7b283] Performed Loco::SenderJob (Job ID: 355e217d-4106-4666-8630-322dabf7b283) from Async(loco) in 0.42ms
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [90b5fb3a-7079-470b-ae0f-6a9d71e2d961] Performing Loco::SenderJob (Job ID: 90b5fb3a-7079-470b-ae0f-6a9d71e2d961) from Async(loco) with arguments: #<GlobalID:0x00007f9521aa0cb8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:11.768810Z"}}
+[ActiveJob] [Loco::SenderJob] [90b5fb3a-7079-470b-ae0f-6a9d71e2d961] [ActionCable] Broadcasting to loco:notification_center:291f2790-02b2-4b1b-b1d1-1fb5d4da9af1: {:loco=>{:sync_time=>"2018-01-04T15:13:11.768810Z"}}
+[ActiveJob] [Loco::SenderJob] [90b5fb3a-7079-470b-ae0f-6a9d71e2d961] Performed Loco::SenderJob (Job ID: 90b5fb3a-7079-470b-ae0f-6a9d71e2d961) from Async(loco) in 0.51ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updating", {"mark"=>"1515078791.7655349", "id"=>298486374}]}} (via streamed from loco:notification_center:291f2790-02b2-4b1b-b1d1-1fb5d4da9af1)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:13:11.768810Z"}} (via streamed from loco:notification_center:291f2790-02b2-4b1b-b1d1-1fb5d4da9af1)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:11 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (3.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (4.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[36mArticle Load (3.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (3.6ms)
+ Rendered user/articles/show.json.jbuilder (4.1ms)
+Completed 200 OK in 20ms (Views: 3.0ms | ActiveRecord: 10.0ms)
+ [1m[35m (3.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[36mComment Load (1.1ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/index.json.jbuilder (1.9ms)
+Completed 200 OK in 23ms (Views: 1.7ms | ActiveRecord: 10.2ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A11.811479Z" for 127.0.0.1 at 2018-01-04 16:13:12 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:11.811479Z"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:11.811479') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:11.811479') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:11.811479') AND ((recipient_class = 'Admin' AND recipient_id = 298486374) OR (recipient_class = 'Admin' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 6.8ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A12.613063Z" for 127.0.0.1 at 2018-01-04 16:13:13 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:12.613063Z"}
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:12.613063') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:12.613063') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:12.613063') AND ((recipient_class = 'Admin' AND recipient_id = 298486374) OR (recipient_class = 'Admin' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 8.6ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A13.615027Z" for 127.0.0.1 at 2018-01-04 16:13:14 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:13.615027Z"}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:13.615027') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:13.615027') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:13.615027') AND ((recipient_class = 'Admin' AND recipient_id = 298486374) OR (recipient_class = 'Admin' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 6.0ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A14.604203Z" for 127.0.0.1 at 2018-01-04 16:13:15 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:14.604203Z"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:14.604203') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:14.604203') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:14.604203') AND ((recipient_class = 'Admin' AND recipient_id = 298486374) OR (recipient_class = 'Admin' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 6.5ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A15.613514Z" for 127.0.0.1 at 2018-01-04 16:13:16 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:15.613514Z"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:15.613514') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:15.613514') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:15.613514') AND ((recipient_class = 'Admin' AND recipient_id = 298486374) OR (recipient_class = 'Admin' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 7.4ms)
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 298486374, '2018-01-04 15:13:16.892472', '2018-01-04 15:13:16.892472', 0, 0, 3)[0m
+ [1m[35m (10.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":298486374,\"id\":1}', '2018-01-04 15:13:16.909297', '2018-01-04 15:13:16.909297')[0m
+ [1m[35m (11.8ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 56537ceb-1d7c-4054-8721-10f40115faaa) to Async(loco) with arguments: "291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [56537ceb-1d7c-4054-8721-10f40115faaa] Performing Loco::SenderJob (Job ID: 56537ceb-1d7c-4054-8721-10f40115faaa) from Async(loco) with arguments: "291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [56537ceb-1d7c-4054-8721-10f40115faaa] [ActionCable] Broadcasting to loco:notification_center:291f2790-02b2-4b1b-b1d1-1fb5d4da9af1: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [56537ceb-1d7c-4054-8721-10f40115faaa] Performed Loco::SenderJob (Job ID: 56537ceb-1d7c-4054-8721-10f40115faaa) from Async(loco) in 0.19ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:291f2790-02b2-4b1b-b1d1-1fb5d4da9af1)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A16.607051Z" for 127.0.0.1 at 2018-01-04 16:13:16 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:16.607051Z"}
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:16.607051') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:16.607051') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:16.607051') AND ((recipient_class = 'Admin' AND recipient_id = 298486374) OR (recipient_class = 'Admin' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 19ms (Views: 0.7ms | ActiveRecord: 9.1ms)
+Started GET "/user/articles/298486374/comments/1" for 127.0.0.1 at 2018-01-04 16:13:16 +0100
+Processing by User::CommentsController#show as JSON
+ Parameters: {"article_id"=>"298486374", "id"=>"1", "comment"=>{}}
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mComment Load (2.0ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering user/comments/show.json.jbuilder
+ Rendered user/comments/_comment.json.jbuilder (0.2ms)
+ Rendered user/comments/show.json.jbuilder (0.7ms)
+Completed 200 OK in 14ms (Views: 1.5ms | ActiveRecord: 5.4ms)
+ [1m[35m (1.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (62.5ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (43.9ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (52.3ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (41.7ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (59.6ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (34.9ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (50.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (40.9ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.3ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$Lij2mYkf4nGztrknCzH.vu5xlOKCNecR36wqFm/vwrfJyNE2aMZoq', '2018-01-04 15:13:17.456376', '2018-01-04 15:13:17.456376', 980190962)[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$/X1aVq1sd6nDb9QnA9DgiOOAexERFB5dVuaPIbplP6H3oc.l/Rxm2', '2018-01-04 15:13:17.456376', '2018-01-04 15:13:17.456376', 298486374)[0m
+ [1m[36mFixture Delete (1.9ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$kHcJIG.p0IDSfgY8ecrKG.axIesY3DobUbABoFUsL3YOWhySdmYSS', '2017-12-28 15:13:17', '2018-01-04 15:13:17.462966', '2018-01-04 15:13:17.462966', 872278135)[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$4208D6GHMGpKjDwCMH87deGO/IR6hUhWVwSYxGyYQhHigMwQS7MQu', '2018-01-04 15:13:17.462966', '2018-01-04 15:13:17.462966', 15595101)[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:17', '2018-01-04 15:13:17.470277', '2018-01-04 15:13:17.470277', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:17.470277', '2018-01-04 15:13:17.470277', 298486374, 872278135)[0m
+ [1m[35m (10.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+---------------------------------------------
+Admin::UsersSectionTest: test_confirming_user
+---------------------------------------------
+Started GET "/admin/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:17 +0100
+Processing by Admin::SessionsController#new as HTML
+ Rendering admin/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.5ms)
+ Rendered admin/sessions/new.html.erb within layouts/application (0.8ms)
+ Rendered layouts/_head.html.erb (1.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:17 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: e556a2af-039d-4fac-8aaf-6ff9354d9b34) to Async(loco) with arguments: #<GlobalID:0x00007f9521680fe8 @uri=#<URI::GID gid://dummy/User/872278135>>, "291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 525454d9-7935-4023-9d0f-c148fd1280a0) to Async(loco) with arguments: #<GlobalID:0x00007f951d56ef78 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:291f2790-02b2-4b1b-b1d1-1fb5d4da9af1
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [e556a2af-039d-4fac-8aaf-6ff9354d9b34] Performing Loco::UuidJob (Job ID: e556a2af-039d-4fac-8aaf-6ff9354d9b34) from Async(loco) with arguments: #<GlobalID:0x00007f951d735f78 @uri=#<URI::GID gid://dummy/User/872278135>>, "291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", "del"
+[ActiveJob] [Loco::UuidJob] [e556a2af-039d-4fac-8aaf-6ff9354d9b34] Performed Loco::UuidJob (Job ID: e556a2af-039d-4fac-8aaf-6ff9354d9b34) from Async(loco) in 0.33ms
+ [1m[36mAdmin Load (3.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [525454d9-7935-4023-9d0f-c148fd1280a0] Performing Loco::UuidJob (Job ID: 525454d9-7935-4023-9d0f-c148fd1280a0) from Async(loco) with arguments: #<GlobalID:0x00007f9521da96f8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "291f2790-02b2-4b1b-b1d1-1fb5d4da9af1", "del"
+[ActiveJob] [Loco::UuidJob] [525454d9-7935-4023-9d0f-c148fd1280a0] Performed Loco::UuidJob (Job ID: 525454d9-7935-4023-9d0f-c148fd1280a0) from Async(loco) in 0.27ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:17 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:17 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:17 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:17 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (8.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (4.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["e366d227-caee-4eb0-a67f-b13142244a4d", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$kHcJIG.p0IDSfgY8ecrKG.axIesY3DobUbABoFUsL3Y...", created_at: "2018-01-04 15:13:17", updated_at: "2018-01-04 15:13:17", confirmed_at: "2017-12-28 15:13:17">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$/X1aVq1sd6nDb9QnA9DgiOOAexERFB5dVuaPIbplP6H...", created_at: "2018-01-04 15:13:17", updated_at: "2018-01-04 15:13:17">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: ceab57a8-2f71-4eb9-985d-59eba61ce19d) to Async(loco) with arguments: "e366d227-caee-4eb0-a67f-b13142244a4d", {:loco=>{:uuid=>"e366d227-caee-4eb0-a67f-b13142244a4d"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: e9141162-2e82-472e-b513-7e969e653556) to Async(loco) with arguments: #<GlobalID:0x00007f95231b00e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "e366d227-caee-4eb0-a67f-b13142244a4d", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 60517475-d28f-43b5-abae-7af23658108d) to Async(loco) with arguments: #<GlobalID:0x00007f95231aa120 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "e366d227-caee-4eb0-a67f-b13142244a4d", "add"
+[ActiveJob] [Loco::SenderJob] [ceab57a8-2f71-4eb9-985d-59eba61ce19d] Performing Loco::SenderJob (Job ID: ceab57a8-2f71-4eb9-985d-59eba61ce19d) from Async(loco) with arguments: "e366d227-caee-4eb0-a67f-b13142244a4d", {:loco=>{:uuid=>"e366d227-caee-4eb0-a67f-b13142244a4d"}}
+[ActiveJob] [Loco::SenderJob] [ceab57a8-2f71-4eb9-985d-59eba61ce19d] [ActionCable] Broadcasting to loco:notification_center:e366d227-caee-4eb0-a67f-b13142244a4d: {:loco=>{:uuid=>"e366d227-caee-4eb0-a67f-b13142244a4d"}}
+[ActiveJob] [Loco::SenderJob] [ceab57a8-2f71-4eb9-985d-59eba61ce19d] Performed Loco::SenderJob (Job ID: ceab57a8-2f71-4eb9-985d-59eba61ce19d) from Async(loco) in 0.4ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:e366d227-caee-4eb0-a67f-b13142244a4d
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mAdmin Load (17.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [60517475-d28f-43b5-abae-7af23658108d] Performing Loco::UuidJob (Job ID: 60517475-d28f-43b5-abae-7af23658108d) from Async(loco) with arguments: #<GlobalID:0x00007f9521d7a5b0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "e366d227-caee-4eb0-a67f-b13142244a4d", "add"
+[ActiveJob] [Loco::UuidJob] [60517475-d28f-43b5-abae-7af23658108d] Performed Loco::UuidJob (Job ID: 60517475-d28f-43b5-abae-7af23658108d) from Async(loco) in 1.03ms
+ [1m[36mUser Load (21.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [e9141162-2e82-472e-b513-7e969e653556] Performing Loco::UuidJob (Job ID: e9141162-2e82-472e-b513-7e969e653556) from Async(loco) with arguments: #<GlobalID:0x00007f951ced17d8 @uri=#<URI::GID gid://dummy/User/872278135>>, "e366d227-caee-4eb0-a67f-b13142244a4d", "add"
+[ActiveJob] [Loco::UuidJob] [e9141162-2e82-472e-b513-7e969e653556] Performed Loco::UuidJob (Job ID: e9141162-2e82-472e-b513-7e969e653556) from Async(loco) in 0.83ms
+Started POST "/admin/sessions.json" for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+Processing by Admin::SessionsController#create as JSON
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@motteq.com", "password"=>"[FILTERED]"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 15595101 LIMIT 1[0m
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`email` = 'zbigniew.humeniuk@motteq.com' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 1.2ms)
+Started GET "/admin" for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+Processing by Admin::UsersController#index as HTML
+ [1m[36mAdmin Load (2.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/users/index.html.erb within layouts/admin
+ Rendered admin/users/index.html.erb within layouts/admin (0.1ms)
+ Rendered layouts/_head.html.erb (1.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 13ms (Views: 5.2ms | ActiveRecord: 2.8ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 0fe0fd16-665e-4a44-bd1d-cf5f1548c71c) to Async(loco) with arguments: #<GlobalID:0x00007f95231b00e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "e366d227-caee-4eb0-a67f-b13142244a4d", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: d6f23884-3bc8-4a68-8a52-8ccc7cdd21e2) to Async(loco) with arguments: #<GlobalID:0x00007f95231aa120 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "e366d227-caee-4eb0-a67f-b13142244a4d", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:e366d227-caee-4eb0-a67f-b13142244a4d
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (9.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [d6f23884-3bc8-4a68-8a52-8ccc7cdd21e2] Performing Loco::UuidJob (Job ID: d6f23884-3bc8-4a68-8a52-8ccc7cdd21e2) from Async(loco) with arguments: #<GlobalID:0x00007f9521d29728 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "e366d227-caee-4eb0-a67f-b13142244a4d", "del"
+[ActiveJob] [Loco::UuidJob] [d6f23884-3bc8-4a68-8a52-8ccc7cdd21e2] Performed Loco::UuidJob (Job ID: d6f23884-3bc8-4a68-8a52-8ccc7cdd21e2) from Async(loco) in 0.33ms
+ [1m[36mUser Load (9.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [0fe0fd16-665e-4a44-bd1d-cf5f1548c71c] Performing Loco::UuidJob (Job ID: 0fe0fd16-665e-4a44-bd1d-cf5f1548c71c) from Async(loco) with arguments: #<GlobalID:0x00007f9523118ea0 @uri=#<URI::GID gid://dummy/User/872278135>>, "e366d227-caee-4eb0-a67f-b13142244a4d", "del"
+[ActiveJob] [Loco::UuidJob] [0fe0fd16-665e-4a44-bd1d-cf5f1548c71c] Performed Loco::UuidJob (Job ID: 0fe0fd16-665e-4a44-bd1d-cf5f1548c71c) from Async(loco) in 0.36ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/admin/users?page=1" for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+Processing by Admin::UsersController#index as JSON
+ Parameters: {"page"=>"1", "user"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+ [1m[36mAdmin Load (3.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (3.5ms)[0m [1m[34mSELECT COUNT(*) FROM `users`[0m
+ Rendering admin/users/index.json.jbuilder
+ [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT `users`.* FROM `users` ORDER BY created_at DESC LIMIT 10 OFFSET 0[0m
+ Rendered admin/users/_user.json.jbuilder (0.4ms)
+ Rendered admin/users/_user.json.jbuilder (0.2ms)
+ Rendered admin/users/index.json.jbuilder (6.1ms)
+Completed 200 OK in 23ms (Views: 3.8ms | ActiveRecord: 10.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (3.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["8705543c-7906-4062-b0b5-205f40e1c74f", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$kHcJIG.p0IDSfgY8ecrKG.axIesY3DobUbABoFUsL3Y...", created_at: "2018-01-04 15:13:17", updated_at: "2018-01-04 15:13:17", confirmed_at: "2017-12-28 15:13:17">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$/X1aVq1sd6nDb9QnA9DgiOOAexERFB5dVuaPIbplP6H...", created_at: "2018-01-04 15:13:17", updated_at: "2018-01-04 15:13:17">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 88a5fa2d-e0e5-4f9a-bc4c-89971bb0ae88) to Async(loco) with arguments: "8705543c-7906-4062-b0b5-205f40e1c74f", {:loco=>{:uuid=>"8705543c-7906-4062-b0b5-205f40e1c74f"}}
+[ActiveJob] [Loco::SenderJob] [88a5fa2d-e0e5-4f9a-bc4c-89971bb0ae88] Performing Loco::SenderJob (Job ID: 88a5fa2d-e0e5-4f9a-bc4c-89971bb0ae88) from Async(loco) with arguments: "8705543c-7906-4062-b0b5-205f40e1c74f", {:loco=>{:uuid=>"8705543c-7906-4062-b0b5-205f40e1c74f"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 7fa537b6-0e87-4068-afa7-e41dd31a313d) to Async(loco) with arguments: #<GlobalID:0x00007f951d6b27b8 @uri=#<URI::GID gid://dummy/User/872278135>>, "8705543c-7906-4062-b0b5-205f40e1c74f", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:8705543c-7906-4062-b0b5-205f40e1c74f
+[ActiveJob] [Loco::SenderJob] [88a5fa2d-e0e5-4f9a-bc4c-89971bb0ae88] [ActionCable] Broadcasting to loco:notification_center:8705543c-7906-4062-b0b5-205f40e1c74f: {:loco=>{:uuid=>"8705543c-7906-4062-b0b5-205f40e1c74f"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 3a616818-26b2-4e59-80a9-f0775760336b) to Async(loco) with arguments: #<GlobalID:0x00007f95230d4ea8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "8705543c-7906-4062-b0b5-205f40e1c74f", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [88a5fa2d-e0e5-4f9a-bc4c-89971bb0ae88] Performed Loco::SenderJob (Job ID: 88a5fa2d-e0e5-4f9a-bc4c-89971bb0ae88) from Async(loco) in 4.82ms
+[ActiveJob] [Loco::UuidJob] [7fa537b6-0e87-4068-afa7-e41dd31a313d] Performing Loco::UuidJob (Job ID: 7fa537b6-0e87-4068-afa7-e41dd31a313d) from Async(loco) with arguments: #<GlobalID:0x00007f951d69c238 @uri=#<URI::GID gid://dummy/User/872278135>>, "8705543c-7906-4062-b0b5-205f40e1c74f", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"8705543c-7906-4062-b0b5-205f40e1c74f"}} (via streamed from loco:notification_center:8705543c-7906-4062-b0b5-205f40e1c74f)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::UuidJob] [7fa537b6-0e87-4068-afa7-e41dd31a313d] Performed Loco::UuidJob (Job ID: 7fa537b6-0e87-4068-afa7-e41dd31a313d) from Async(loco) in 0.7ms
+ [1m[36mAdmin Load (3.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::UuidJob] [3a616818-26b2-4e59-80a9-f0775760336b] Performing Loco::UuidJob (Job ID: 3a616818-26b2-4e59-80a9-f0775760336b) from Async(loco) with arguments: #<GlobalID:0x00007f95230ce7b0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "8705543c-7906-4062-b0b5-205f40e1c74f", "add"
+[ActiveJob] [Loco::UuidJob] [3a616818-26b2-4e59-80a9-f0775760336b] Performed Loco::UuidJob (Job ID: 3a616818-26b2-4e59-80a9-f0775760336b) from Async(loco) in 0.7ms
+Started GET "/admin/users/15595101/edit" for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+Processing by Admin::UsersController#edit as HTML
+ Parameters: {"id"=>"15595101"}
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 15595101 LIMIT 1[0m
+ [1m[36mConnection Load (1.2ms)[0m [1m[34mSELECT `connections`.* FROM `connections` WHERE `connections`.`obj_class` = 'User' AND `connections`.`obj_id` = 15595101 ORDER BY `connections`.`id` DESC LIMIT 1[0m
+ Rendering admin/users/edit.html.erb within layouts/admin
+ Rendered admin/users/_form.html.erb (12.5ms)
+ Rendered admin/users/edit.html.erb within layouts/admin (18.0ms)
+ Rendered layouts/_head.html.erb (1.7ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 52ms (Views: 22.0ms | ActiveRecord: 14.9ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started PUT "/admin/users/15595101" for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+Processing by Admin::UsersController#update as JSON
+ Parameters: {"user"=>{"email"=>"jane@example.com", "username"=>"jane", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirmed"=>"1", "created_at"=>nil, "updated_at"=>nil}, "id"=>"15595101"}
+ [1m[36mAdmin Load (5.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mUser Load (7.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 15595101 LIMIT 1[0m
+Unpermitted parameters: :created_at, :updated_at
+ [1m[35m (3.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Exists (4.9ms)[0m [1m[34mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'jane@example.com' AND (`users`.`id` != 15595101) LIMIT 1[0m
+ [1m[36mUser Exists (4.3ms)[0m [1m[34mSELECT 1 AS one FROM `users` WHERE `users`.`username` = BINARY 'jane' AND (`users`.`id` != 15595101) LIMIT 1[0m
+ [1m[35mSQL (3.0ms)[0m [1m[33mUPDATE `users` SET `confirmed_at` = '2018-01-04 15:13:18', `updated_at` = '2018-01-04 15:13:18.759680' WHERE `users`.`id` = 15595101[0m
+ [1m[35m (14.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mConnection Load (2.0ms)[0m [1m[34mSELECT `connections`.* FROM `connections` WHERE `connections`.`obj_class` = 'User' AND `connections`.`obj_id` = 15595101 ORDER BY `connections`.`id` DESC LIMIT 1[0m
+Completed 200 OK in 69ms (Views: 0.4ms | ActiveRecord: 44.2ms)
+Started GET "/admin/users" for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+Processing by Admin::UsersController#index as HTML
+ [1m[36mAdmin Load (4.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/users/index.html.erb within layouts/admin
+ Rendered admin/users/index.html.erb within layouts/admin (0.1ms)
+ Rendered layouts/_head.html.erb (1.7ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 14ms (Views: 4.6ms | ActiveRecord: 4.4ms)
+Started GET "/admin/users?page=1" for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+Processing by Admin::UsersController#index as JSON
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:18 +0100
+ Parameters: {"page"=>"1", "user"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mAdmin Load (5.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM `users`[0m
+ Rendering admin/users/index.json.jbuilder
+ [1m[36mUser Load (4.3ms)[0m [1m[34mSELECT `users`.* FROM `users` ORDER BY created_at DESC LIMIT 10 OFFSET 0[0m
+ Rendered admin/users/_user.json.jbuilder (0.4ms)
+ Rendered admin/users/_user.json.jbuilder (0.4ms)
+ Rendered admin/users/index.json.jbuilder (7.9ms)
+Completed 200 OK in 22ms (Views: 4.9ms | ActiveRecord: 11.3ms)
+ [1m[35m (1.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A18.966519Z&uuid=8705543c-7906-4062-b0b5-205f40e1c74f" for 127.0.0.1 at 2018-01-04 16:13:19 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:18.966519Z", "uuid"=>"8705543c-7906-4062-b0b5-205f40e1c74f"}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (59.8ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[36mAdmin Load (14.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mCACHE Admin Load (0.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m [["id", 298486374], ["LIMIT", 1]]
+ [1m[36mLoco::Notification Load (9.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:18.966519') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:18.966519') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 38ms (Views: 0.3ms | ActiveRecord: 26.6ms)
+ [1m[35m (45.9ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (48.3ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (59.8ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (52.1ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (44.0ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (49.1ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (45.4ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.3ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$unwMtbQ.EsjFk8h47ia.EeAtsG5gvYiPt70jAimTYn2ScDYc3I42O', '2018-01-04 15:13:19.561175', '2018-01-04 15:13:19.561175', 980190962)[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$.dTVgP4jl.3089T3PY4R8uoFfYtax6q0ZTB6vFI43rMRjwN1rNmcW', '2018-01-04 15:13:19.561175', '2018-01-04 15:13:19.561175', 298486374)[0m
+ [1m[36mFixture Delete (1.4ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$Z4NPDgSQR.O82i3I5TM30O.QvttOF2NpTDEzoj8jGa6zIeuI1JaWS', '2017-12-28 15:13:19', '2018-01-04 15:13:19.566295', '2018-01-04 15:13:19.566295', 872278135)[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$0eWBShyY5zr0x35XbDJBauXVCXNtiBGesiyNAEXNAoZOhgSKnm3KK', '2018-01-04 15:13:19.566295', '2018-01-04 15:13:19.566295', 15595101)[0m
+ [1m[36mFixture Delete (1.3ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:19', '2018-01-04 15:13:19.574274', '2018-01-04 15:13:19.574274', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.5ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:19.574274', '2018-01-04 15:13:19.574274', 298486374, 872278135)[0m
+ [1m[35m (8.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+------------------------------------------------------------------
+Admin::UsersSectionTest: test_should_auto_load_recently_added_user
+------------------------------------------------------------------
+Started GET "/admin/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:19 +0100
+Processing by Admin::SessionsController#new as HTML
+ Rendering admin/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.4ms)
+ Rendered admin/sessions/new.html.erb within layouts/application (0.7ms)
+ Rendered layouts/_head.html.erb (1.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:19 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: baedebf0-8f54-4e2b-8626-c68f7cbae0aa) to Async(loco) with arguments: #<GlobalID:0x00007f951d6b27b8 @uri=#<URI::GID gid://dummy/User/872278135>>, "8705543c-7906-4062-b0b5-205f40e1c74f", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 42a3fa7e-16c2-45c3-8c7e-67a08a7cc785) to Async(loco) with arguments: #<GlobalID:0x00007f95230d4ea8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "8705543c-7906-4062-b0b5-205f40e1c74f", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:8705543c-7906-4062-b0b5-205f40e1c74f
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (5.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [baedebf0-8f54-4e2b-8626-c68f7cbae0aa] Performing Loco::UuidJob (Job ID: baedebf0-8f54-4e2b-8626-c68f7cbae0aa) from Async(loco) with arguments: #<GlobalID:0x00007f951d56dc40 @uri=#<URI::GID gid://dummy/User/872278135>>, "8705543c-7906-4062-b0b5-205f40e1c74f", "del"
+[ActiveJob] [Loco::UuidJob] [baedebf0-8f54-4e2b-8626-c68f7cbae0aa] Performed Loco::UuidJob (Job ID: baedebf0-8f54-4e2b-8626-c68f7cbae0aa) from Async(loco) in 0.31ms
+ [1m[36mAdmin Load (8.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [42a3fa7e-16c2-45c3-8c7e-67a08a7cc785] Performing Loco::UuidJob (Job ID: 42a3fa7e-16c2-45c3-8c7e-67a08a7cc785) from Async(loco) with arguments: #<GlobalID:0x00007f95219cd4a8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "8705543c-7906-4062-b0b5-205f40e1c74f", "del"
+[ActiveJob] [Loco::UuidJob] [42a3fa7e-16c2-45c3-8c7e-67a08a7cc785] Performed Loco::UuidJob (Job ID: 42a3fa7e-16c2-45c3-8c7e-67a08a7cc785) from Async(loco) in 0.27ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:19 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:19 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:19 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:19 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (4.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["52691ae9-c95a-4d86-a8fb-7942344a109a", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$Z4NPDgSQR.O82i3I5TM30O.QvttOF2NpTDEzoj8jGa6...", created_at: "2018-01-04 15:13:19", updated_at: "2018-01-04 15:13:19", confirmed_at: "2017-12-28 15:13:19">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$.dTVgP4jl.3089T3PY4R8uoFfYtax6q0ZTB6vFI43rM...", created_at: "2018-01-04 15:13:19", updated_at: "2018-01-04 15:13:19">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 77cc8b88-a9b3-4787-9cf7-2fc31fe8a7a4) to Async(loco) with arguments: "52691ae9-c95a-4d86-a8fb-7942344a109a", {:loco=>{:uuid=>"52691ae9-c95a-4d86-a8fb-7942344a109a"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ecd88d5c-1fdc-4b1d-95aa-d0a3ff62335e) to Async(loco) with arguments: #<GlobalID:0x00007f95216536b0 @uri=#<URI::GID gid://dummy/User/872278135>>, "52691ae9-c95a-4d86-a8fb-7942344a109a", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 9f7e61c0-1534-4fd5-80a4-c792d06e10fe) to Async(loco) with arguments: #<GlobalID:0x00007f9521651630 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "52691ae9-c95a-4d86-a8fb-7942344a109a", "add"
+[ActiveJob] [Loco::SenderJob] [77cc8b88-a9b3-4787-9cf7-2fc31fe8a7a4] Performing Loco::SenderJob (Job ID: 77cc8b88-a9b3-4787-9cf7-2fc31fe8a7a4) from Async(loco) with arguments: "52691ae9-c95a-4d86-a8fb-7942344a109a", {:loco=>{:uuid=>"52691ae9-c95a-4d86-a8fb-7942344a109a"}}
+[ActiveJob] [Loco::SenderJob] [77cc8b88-a9b3-4787-9cf7-2fc31fe8a7a4] [ActionCable] Broadcasting to loco:notification_center:52691ae9-c95a-4d86-a8fb-7942344a109a: {:loco=>{:uuid=>"52691ae9-c95a-4d86-a8fb-7942344a109a"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:52691ae9-c95a-4d86-a8fb-7942344a109a
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::SenderJob] [77cc8b88-a9b3-4787-9cf7-2fc31fe8a7a4] Performed Loco::SenderJob (Job ID: 77cc8b88-a9b3-4787-9cf7-2fc31fe8a7a4) from Async(loco) in 0.47ms
+ [1m[36mUser Load (4.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ecd88d5c-1fdc-4b1d-95aa-d0a3ff62335e] Performing Loco::UuidJob (Job ID: ecd88d5c-1fdc-4b1d-95aa-d0a3ff62335e) from Async(loco) with arguments: #<GlobalID:0x00007f95215e5e30 @uri=#<URI::GID gid://dummy/User/872278135>>, "52691ae9-c95a-4d86-a8fb-7942344a109a", "add"
+[ActiveJob] [Loco::UuidJob] [ecd88d5c-1fdc-4b1d-95aa-d0a3ff62335e] Performed Loco::UuidJob (Job ID: ecd88d5c-1fdc-4b1d-95aa-d0a3ff62335e) from Async(loco) in 0.85ms
+ [1m[36mAdmin Load (6.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [9f7e61c0-1534-4fd5-80a4-c792d06e10fe] Performing Loco::UuidJob (Job ID: 9f7e61c0-1534-4fd5-80a4-c792d06e10fe) from Async(loco) with arguments: #<GlobalID:0x00007f95215e0458 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "52691ae9-c95a-4d86-a8fb-7942344a109a", "add"
+[ActiveJob] [Loco::UuidJob] [9f7e61c0-1534-4fd5-80a4-c792d06e10fe] Performed Loco::UuidJob (Job ID: 9f7e61c0-1534-4fd5-80a4-c792d06e10fe) from Async(loco) in 0.81ms
+Started POST "/admin/sessions.json" for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+Processing by Admin::SessionsController#create as JSON
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@motteq.com", "password"=>"[FILTERED]"}
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mAdmin Load (1.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`email` = 'zbigniew.humeniuk@motteq.com' LIMIT 1[0m
+Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.9ms)
+ [1m[36mUser Exists (4.2ms)[0m [1m[34mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'david@example.com' LIMIT 1[0m
+ [1m[36mUser Exists (4.5ms)[0m [1m[34mSELECT 1 AS one FROM `users` WHERE `users`.`username` = BINARY 'david' LIMIT 1[0m
+ [1m[35mSQL (2.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`) VALUES ('david', 'david@example.com', '$2a$04$iHEvH3GPqmK3VscbqTA2Dem.DbXh5zdFz8YbVWe..8yoaThC5/MOe', '2018-01-04 15:13:20.217811', '2018-01-04 15:13:20.217811')[0m
+Started GET "/admin" for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+Processing by Admin::UsersController#index as HTML
+ [1m[35m (16.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mAdmin Load (2.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/users/index.html.erb within layouts/admin
+ Rendered admin/users/index.html.erb within layouts/admin (0.1ms)
+ Rendered layouts/_head.html.erb (2.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ [1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
+Completed 200 OK in 13ms (Views: 6.2ms | ActiveRecord: 2.4ms)
+ [1m[35mSQL (5.2ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `created_at`, `updated_at`) VALUES ('User', 872278136, 'created', '{\"id\":872278136}', 'Admin', '2018-01-04 15:13:20.247364', '2018-01-04 15:13:20.247364')[0m
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 3eda71a1-a12d-4745-8219-ccef62ac82bb) to Async(loco) with arguments: #<GlobalID:0x00007f95216536b0 @uri=#<URI::GID gid://dummy/User/872278135>>, "52691ae9-c95a-4d86-a8fb-7942344a109a", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 06fb93dc-8cec-4dc8-899f-741d55b3a5bd) to Async(loco) with arguments: #<GlobalID:0x00007f9521651630 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "52691ae9-c95a-4d86-a8fb-7942344a109a", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:52691ae9-c95a-4d86-a8fb-7942344a109a
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[35m (27.8ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 1ab012ce-dfc7-4316-a449-9549e84d7ede) to Async(loco) with arguments: "52691ae9-c95a-4d86-a8fb-7942344a109a", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [1ab012ce-dfc7-4316-a449-9549e84d7ede] Performing Loco::SenderJob (Job ID: 1ab012ce-dfc7-4316-a449-9549e84d7ede) from Async(loco) with arguments: "52691ae9-c95a-4d86-a8fb-7942344a109a", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [1ab012ce-dfc7-4316-a449-9549e84d7ede] [ActionCable] Broadcasting to loco:notification_center:52691ae9-c95a-4d86-a8fb-7942344a109a: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [1ab012ce-dfc7-4316-a449-9549e84d7ede] Performed Loco::SenderJob (Job ID: 1ab012ce-dfc7-4316-a449-9549e84d7ede) from Async(loco) in 0.31ms
+Started GET "/admin/users?page=1" for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+Processing by Admin::UsersController#index as JSON
+ Parameters: {"page"=>"1", "user"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mAdmin Load (25.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [06fb93dc-8cec-4dc8-899f-741d55b3a5bd] Performing Loco::UuidJob (Job ID: 06fb93dc-8cec-4dc8-899f-741d55b3a5bd) from Async(loco) with arguments: #<GlobalID:0x00007f95219a1060 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "52691ae9-c95a-4d86-a8fb-7942344a109a", "del"
+[ActiveJob] [Loco::UuidJob] [06fb93dc-8cec-4dc8-899f-741d55b3a5bd] Performed Loco::UuidJob (Job ID: 06fb93dc-8cec-4dc8-899f-741d55b3a5bd) from Async(loco) in 0.4ms
+ [1m[36mUser Load (29.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [3eda71a1-a12d-4745-8219-ccef62ac82bb] Performing Loco::UuidJob (Job ID: 3eda71a1-a12d-4745-8219-ccef62ac82bb) from Async(loco) with arguments: #<GlobalID:0x00007f952196b668 @uri=#<URI::GID gid://dummy/User/872278135>>, "52691ae9-c95a-4d86-a8fb-7942344a109a", "del"
+[ActiveJob] [Loco::UuidJob] [3eda71a1-a12d-4745-8219-ccef62ac82bb] Performed Loco::UuidJob (Job ID: 3eda71a1-a12d-4745-8219-ccef62ac82bb) from Async(loco) in 0.32ms
+ [1m[36mAdmin Load (2.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM `users`[0m
+ Rendering admin/users/index.json.jbuilder
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` ORDER BY created_at DESC LIMIT 10 OFFSET 0[0m
+ Rendered admin/users/_user.json.jbuilder (0.3ms)
+ Rendered admin/users/_user.json.jbuilder (0.3ms)
+ Rendered admin/users/_user.json.jbuilder (0.2ms)
+ Rendered admin/users/index.json.jbuilder (5.9ms)
+Completed 200 OK in 32ms (Views: 5.2ms | ActiveRecord: 6.3ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (4.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["977172a7-1b1f-4bec-a47a-094fcb208946", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$Z4NPDgSQR.O82i3I5TM30O.QvttOF2NpTDEzoj8jGa6...", created_at: "2018-01-04 15:13:19", updated_at: "2018-01-04 15:13:19", confirmed_at: "2017-12-28 15:13:19">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$.dTVgP4jl.3089T3PY4R8uoFfYtax6q0ZTB6vFI43rM...", created_at: "2018-01-04 15:13:19", updated_at: "2018-01-04 15:13:19">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 7fb3ffc3-62f0-4153-8273-d0d5c9edf11f) to Async(loco) with arguments: "977172a7-1b1f-4bec-a47a-094fcb208946", {:loco=>{:uuid=>"977172a7-1b1f-4bec-a47a-094fcb208946"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 70fe10cc-ae25-4fc9-99af-b147bb76f0c9) to Async(loco) with arguments: #<GlobalID:0x00007f95213e3c90 @uri=#<URI::GID gid://dummy/User/872278135>>, "977172a7-1b1f-4bec-a47a-094fcb208946", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: c8db7bc8-b4e8-421b-bd13-f879e2de2e9c) to Async(loco) with arguments: #<GlobalID:0x00007f95213e1120 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "977172a7-1b1f-4bec-a47a-094fcb208946", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:977172a7-1b1f-4bec-a47a-094fcb208946
+[ActiveJob] [Loco::SenderJob] [7fb3ffc3-62f0-4153-8273-d0d5c9edf11f] Performing Loco::SenderJob (Job ID: 7fb3ffc3-62f0-4153-8273-d0d5c9edf11f) from Async(loco) with arguments: "977172a7-1b1f-4bec-a47a-094fcb208946", {:loco=>{:uuid=>"977172a7-1b1f-4bec-a47a-094fcb208946"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [7fb3ffc3-62f0-4153-8273-d0d5c9edf11f] [ActionCable] Broadcasting to loco:notification_center:977172a7-1b1f-4bec-a47a-094fcb208946: {:loco=>{:uuid=>"977172a7-1b1f-4bec-a47a-094fcb208946"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::SenderJob] [7fb3ffc3-62f0-4153-8273-d0d5c9edf11f] Performed Loco::SenderJob (Job ID: 7fb3ffc3-62f0-4153-8273-d0d5c9edf11f) from Async(loco) in 1.19ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"977172a7-1b1f-4bec-a47a-094fcb208946"}} (via streamed from loco:notification_center:977172a7-1b1f-4bec-a47a-094fcb208946)
+ [1m[36mAdmin Load (4.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [c8db7bc8-b4e8-421b-bd13-f879e2de2e9c] Performing Loco::UuidJob (Job ID: c8db7bc8-b4e8-421b-bd13-f879e2de2e9c) from Async(loco) with arguments: #<GlobalID:0x00007f951cc49f10 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "977172a7-1b1f-4bec-a47a-094fcb208946", "add"
+[ActiveJob] [Loco::UuidJob] [c8db7bc8-b4e8-421b-bd13-f879e2de2e9c] Performed Loco::UuidJob (Job ID: c8db7bc8-b4e8-421b-bd13-f879e2de2e9c) from Async(loco) in 0.95ms
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [70fe10cc-ae25-4fc9-99af-b147bb76f0c9] Performing Loco::UuidJob (Job ID: 70fe10cc-ae25-4fc9-99af-b147bb76f0c9) from Async(loco) with arguments: #<GlobalID:0x00007f95213ab728 @uri=#<URI::GID gid://dummy/User/872278135>>, "977172a7-1b1f-4bec-a47a-094fcb208946", "add"
+[ActiveJob] [Loco::UuidJob] [70fe10cc-ae25-4fc9-99af-b147bb76f0c9] Performed Loco::UuidJob (Job ID: 70fe10cc-ae25-4fc9-99af-b147bb76f0c9) from Async(loco) in 0.68ms
+ [1m[35m (1.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (55.7ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (56.2ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (40.8ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (48.3ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (40.8ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (46.9ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (48.7ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (48.9ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$JD8X5r6gDGaQUyGbEEFkJ.pfrstUiWI3l4IBQ1ff9vwlOKnfmDwVC', '2018-01-04 15:13:20.874764', '2018-01-04 15:13:20.874764', 980190962)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$hrdhFPz.OencQXSgpIrFuucxStLYN/pjhxReQXdIQfg3vEGlFjaMe', '2018-01-04 15:13:20.874764', '2018-01-04 15:13:20.874764', 298486374)[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$b7t6o3/RCztU.Vp7lvd8Tuzv23XgqrAOzNYKILvh6sTk1YtMoqGze', '2017-12-28 15:13:20', '2018-01-04 15:13:20.880553', '2018-01-04 15:13:20.880553', 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$DqX9vFXsjtZYCKmJnw4wL./vqlx9BWgoEr.mOzo/Ak4VPhB5whwDG', '2018-01-04 15:13:20.880553', '2018-01-04 15:13:20.880553', 15595101)[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.5ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:20', '2018-01-04 15:13:20.886947', '2018-01-04 15:13:20.886947', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:20.886947', '2018-01-04 15:13:20.886947', 298486374, 872278135)[0m
+ [1m[35m (11.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+----------------------------------------
+Admin::UsersSectionTest: test_signing_in
+----------------------------------------
+Started GET "/admin/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+Processing by Admin::SessionsController#new as HTML
+ Rendering admin/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.5ms)
+ Rendered admin/sessions/new.html.erb within layouts/application (5.6ms)
+ Rendered layouts/_head.html.erb (1.4ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 12ms (Views: 11.6ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 53f8577f-acc5-4ffe-9551-ed709b347a79) to Async(loco) with arguments: #<GlobalID:0x00007f95213e3c90 @uri=#<URI::GID gid://dummy/User/872278135>>, "977172a7-1b1f-4bec-a47a-094fcb208946", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: b6227832-1dc4-4052-86c3-6084f84f11f3) to Async(loco) with arguments: #<GlobalID:0x00007f95213e1120 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "977172a7-1b1f-4bec-a47a-094fcb208946", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:977172a7-1b1f-4bec-a47a-094fcb208946
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (3.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [53f8577f-acc5-4ffe-9551-ed709b347a79] Performing Loco::UuidJob (Job ID: 53f8577f-acc5-4ffe-9551-ed709b347a79) from Async(loco) with arguments: #<GlobalID:0x00007f95212b3320 @uri=#<URI::GID gid://dummy/User/872278135>>, "977172a7-1b1f-4bec-a47a-094fcb208946", "del"
+[ActiveJob] [Loco::UuidJob] [53f8577f-acc5-4ffe-9551-ed709b347a79] Performed Loco::UuidJob (Job ID: 53f8577f-acc5-4ffe-9551-ed709b347a79) from Async(loco) in 0.35ms
+ [1m[36mAdmin Load (4.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [b6227832-1dc4-4052-86c3-6084f84f11f3] Performing Loco::UuidJob (Job ID: b6227832-1dc4-4052-86c3-6084f84f11f3) from Async(loco) with arguments: #<GlobalID:0x00007f95212a90f0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "977172a7-1b1f-4bec-a47a-094fcb208946", "del"
+[ActiveJob] [Loco::UuidJob] [b6227832-1dc4-4052-86c3-6084f84f11f3] Performed Loco::UuidJob (Job ID: b6227832-1dc4-4052-86c3-6084f84f11f3) from Async(loco) in 2.03ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:20 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["d08de1f0-45e2-4306-adf7-04891ec41949", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$b7t6o3/RCztU.Vp7lvd8Tuzv23XgqrAOzNYKILvh6sT...", created_at: "2018-01-04 15:13:20", updated_at: "2018-01-04 15:13:20", confirmed_at: "2017-12-28 15:13:20">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$hrdhFPz.OencQXSgpIrFuucxStLYN/pjhxReQXdIQfg...", created_at: "2018-01-04 15:13:20", updated_at: "2018-01-04 15:13:20">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: b0731624-ed9b-4a0c-8fb7-d88c4655777d) to Async(loco) with arguments: "d08de1f0-45e2-4306-adf7-04891ec41949", {:loco=>{:uuid=>"d08de1f0-45e2-4306-adf7-04891ec41949"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:d08de1f0-45e2-4306-adf7-04891ec41949
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: eaf86034-097f-4828-b23c-32f9e2c2a4a2) to Async(loco) with arguments: #<GlobalID:0x00007f952122bf60 @uri=#<URI::GID gid://dummy/User/872278135>>, "d08de1f0-45e2-4306-adf7-04891ec41949", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: e3b31cf7-e826-43c9-bfe2-16d484dfe156) to Async(loco) with arguments: #<GlobalID:0x00007f95212212b8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d08de1f0-45e2-4306-adf7-04891ec41949", "add"
+[ActiveJob] [Loco::SenderJob] [b0731624-ed9b-4a0c-8fb7-d88c4655777d] Performing Loco::SenderJob (Job ID: b0731624-ed9b-4a0c-8fb7-d88c4655777d) from Async(loco) with arguments: "d08de1f0-45e2-4306-adf7-04891ec41949", {:loco=>{:uuid=>"d08de1f0-45e2-4306-adf7-04891ec41949"}}
+[ActiveJob] [Loco::SenderJob] [b0731624-ed9b-4a0c-8fb7-d88c4655777d] [ActionCable] Broadcasting to loco:notification_center:d08de1f0-45e2-4306-adf7-04891ec41949: {:loco=>{:uuid=>"d08de1f0-45e2-4306-adf7-04891ec41949"}}
+[ActiveJob] [Loco::SenderJob] [b0731624-ed9b-4a0c-8fb7-d88c4655777d] Performed Loco::SenderJob (Job ID: b0731624-ed9b-4a0c-8fb7-d88c4655777d) from Async(loco) in 0.3ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"d08de1f0-45e2-4306-adf7-04891ec41949"}} (via streamed from loco:notification_center:d08de1f0-45e2-4306-adf7-04891ec41949)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (4.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [eaf86034-097f-4828-b23c-32f9e2c2a4a2] Performing Loco::UuidJob (Job ID: eaf86034-097f-4828-b23c-32f9e2c2a4a2) from Async(loco) with arguments: #<GlobalID:0x00007f95211f0e60 @uri=#<URI::GID gid://dummy/User/872278135>>, "d08de1f0-45e2-4306-adf7-04891ec41949", "add"
+[ActiveJob] [Loco::UuidJob] [eaf86034-097f-4828-b23c-32f9e2c2a4a2] Performed Loco::UuidJob (Job ID: eaf86034-097f-4828-b23c-32f9e2c2a4a2) from Async(loco) in 0.77ms
+ [1m[36mAdmin Load (15.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [e3b31cf7-e826-43c9-bfe2-16d484dfe156] Performing Loco::UuidJob (Job ID: e3b31cf7-e826-43c9-bfe2-16d484dfe156) from Async(loco) with arguments: #<GlobalID:0x00007f95211ca760 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d08de1f0-45e2-4306-adf7-04891ec41949", "add"
+[ActiveJob] [Loco::UuidJob] [e3b31cf7-e826-43c9-bfe2-16d484dfe156] Performed Loco::UuidJob (Job ID: e3b31cf7-e826-43c9-bfe2-16d484dfe156) from Async(loco) in 0.64ms
+Started POST "/admin/sessions.json" for 127.0.0.1 at 2018-01-04 16:13:21 +0100
+Processing by Admin::SessionsController#create as JSON
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@motteq.com", "password"=>"[FILTERED]"}
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`email` = 'zbigniew.humeniuk@motteq.com' LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 1.0ms)
+Started GET "/admin" for 127.0.0.1 at 2018-01-04 16:13:21 +0100
+Processing by Admin::UsersController#index as HTML
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/users/index.html.erb within layouts/admin
+ Rendered admin/users/index.html.erb within layouts/admin (0.1ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 10ms (Views: 4.2ms | ActiveRecord: 1.4ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:21 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 8a7f85fd-551a-4679-a0d9-bc256c00d3ff) to Async(loco) with arguments: #<GlobalID:0x00007f952122bf60 @uri=#<URI::GID gid://dummy/User/872278135>>, "d08de1f0-45e2-4306-adf7-04891ec41949", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 8a49258f-0e98-4db3-9abc-85a7ca35b05e) to Async(loco) with arguments: #<GlobalID:0x00007f95212212b8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d08de1f0-45e2-4306-adf7-04891ec41949", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:d08de1f0-45e2-4306-adf7-04891ec41949
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (12.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [8a7f85fd-551a-4679-a0d9-bc256c00d3ff] Performing Loco::UuidJob (Job ID: 8a7f85fd-551a-4679-a0d9-bc256c00d3ff) from Async(loco) with arguments: #<GlobalID:0x00007f9521108390 @uri=#<URI::GID gid://dummy/User/872278135>>, "d08de1f0-45e2-4306-adf7-04891ec41949", "del"
+[ActiveJob] [Loco::UuidJob] [8a7f85fd-551a-4679-a0d9-bc256c00d3ff] Performed Loco::UuidJob (Job ID: 8a7f85fd-551a-4679-a0d9-bc256c00d3ff) from Async(loco) in 0.31ms
+ [1m[36mAdmin Load (15.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [8a49258f-0e98-4db3-9abc-85a7ca35b05e] Performing Loco::UuidJob (Job ID: 8a49258f-0e98-4db3-9abc-85a7ca35b05e) from Async(loco) with arguments: #<GlobalID:0x00007f95210fa8d0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d08de1f0-45e2-4306-adf7-04891ec41949", "del"
+[ActiveJob] [Loco::UuidJob] [8a49258f-0e98-4db3-9abc-85a7ca35b05e] Performed Loco::UuidJob (Job ID: 8a49258f-0e98-4db3-9abc-85a7ca35b05e) from Async(loco) in 0.28ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:21 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:21 +0100
+Started GET "/admin/users?page=1" for 127.0.0.1 at 2018-01-04 16:13:21 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Processing by Admin::UsersController#index as JSON
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ Parameters: {"page"=>"1", "user"=>{}}
+ [1m[36mAdmin Load (1.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM `users`[0m
+ Rendering admin/users/index.json.jbuilder
+ [1m[36mUser Load (16.0ms)[0m [1m[34mSELECT `users`.* FROM `users` ORDER BY created_at DESC LIMIT 10 OFFSET 0[0m
+ Rendered admin/users/_user.json.jbuilder (0.6ms)
+ Rendered admin/users/_user.json.jbuilder (0.3ms)
+ Rendered admin/users/index.json.jbuilder (19.9ms)
+Completed 200 OK in 30ms (Views: 5.0ms | ActiveRecord: 19.7ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:21 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:21 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (4.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (11.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["2077eed4-047b-4171-9682-482b639f8f65", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$b7t6o3/RCztU.Vp7lvd8Tuzv23XgqrAOzNYKILvh6sT...", created_at: "2018-01-04 15:13:20", updated_at: "2018-01-04 15:13:20", confirmed_at: "2017-12-28 15:13:20">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$hrdhFPz.OencQXSgpIrFuucxStLYN/pjhxReQXdIQfg...", created_at: "2018-01-04 15:13:20", updated_at: "2018-01-04 15:13:20">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 60fae47b-b679-4df2-b908-cd5414a8be35) to Async(loco) with arguments: "2077eed4-047b-4171-9682-482b639f8f65", {:loco=>{:uuid=>"2077eed4-047b-4171-9682-482b639f8f65"}}
+[ActiveJob] [Loco::SenderJob] [60fae47b-b679-4df2-b908-cd5414a8be35] Performing Loco::SenderJob (Job ID: 60fae47b-b679-4df2-b908-cd5414a8be35) from Async(loco) with arguments: "2077eed4-047b-4171-9682-482b639f8f65", {:loco=>{:uuid=>"2077eed4-047b-4171-9682-482b639f8f65"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 2d96c3e2-4c5d-4dcf-b142-75217aebc253) to Async(loco) with arguments: #<GlobalID:0x00007f951d3d5c20 @uri=#<URI::GID gid://dummy/User/872278135>>, "2077eed4-047b-4171-9682-482b639f8f65", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 6030720d-2bc2-417d-b452-084ea46cb95a) to Async(loco) with arguments: #<GlobalID:0x00007f9521091600 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "2077eed4-047b-4171-9682-482b639f8f65", "add"
+[ActiveJob] [Loco::SenderJob] [60fae47b-b679-4df2-b908-cd5414a8be35] [ActionCable] Broadcasting to loco:notification_center:2077eed4-047b-4171-9682-482b639f8f65: {:loco=>{:uuid=>"2077eed4-047b-4171-9682-482b639f8f65"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:2077eed4-047b-4171-9682-482b639f8f65
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [60fae47b-b679-4df2-b908-cd5414a8be35] Performed Loco::SenderJob (Job ID: 60fae47b-b679-4df2-b908-cd5414a8be35) from Async(loco) in 5.54ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"2077eed4-047b-4171-9682-482b639f8f65"}} (via streamed from loco:notification_center:2077eed4-047b-4171-9682-482b639f8f65)
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [2d96c3e2-4c5d-4dcf-b142-75217aebc253] Performing Loco::UuidJob (Job ID: 2d96c3e2-4c5d-4dcf-b142-75217aebc253) from Async(loco) with arguments: #<GlobalID:0x00007f952103a530 @uri=#<URI::GID gid://dummy/User/872278135>>, "2077eed4-047b-4171-9682-482b639f8f65", "add"
+[ActiveJob] [Loco::UuidJob] [2d96c3e2-4c5d-4dcf-b142-75217aebc253] Performed Loco::UuidJob (Job ID: 2d96c3e2-4c5d-4dcf-b142-75217aebc253) from Async(loco) in 0.76ms
+ [1m[36mAdmin Load (5.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [6030720d-2bc2-417d-b452-084ea46cb95a] Performing Loco::UuidJob (Job ID: 6030720d-2bc2-417d-b452-084ea46cb95a) from Async(loco) with arguments: #<GlobalID:0x00007f952184b698 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "2077eed4-047b-4171-9682-482b639f8f65", "add"
+[ActiveJob] [Loco::UuidJob] [6030720d-2bc2-417d-b452-084ea46cb95a] Performed Loco::UuidJob (Job ID: 6030720d-2bc2-417d-b452-084ea46cb95a) from Async(loco) in 0.93ms
+ [1m[35m (1.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (55.4ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (53.6ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (41.5ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (53.5ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (51.1ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (48.1ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (33.9ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (52.9ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.5ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$cGQwv88Vtu2xYrL6qEi5leLskV3ejA.cHrxeKiF5h6M0DsJ6p5x7G', '2018-01-04 15:13:22.280510', '2018-01-04 15:13:22.280510', 980190962)[0m
+ [1m[36mFixture Insert (1.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$AeF.I4spyx4Luw.NNWIrzuvUDuy5/WuT0xp/rRAilu3copZWGhJTe', '2018-01-04 15:13:22.280510', '2018-01-04 15:13:22.280510', 298486374)[0m
+ [1m[36mFixture Delete (1.7ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (2.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$aNaXk5gUv0Nol1CDcKVAheECIpm6fRtD8ud3wa8Az54.oQcScJjFe', '2017-12-28 15:13:22', '2018-01-04 15:13:22.288182', '2018-01-04 15:13:22.288182', 872278135)[0m
+ [1m[36mFixture Insert (1.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$WJ7p3oOiVxJPygdKvjw4JOvJlPT/aRqcQ5YB64WLXdySbO5OHgMk6', '2018-01-04 15:13:22.288182', '2018-01-04 15:13:22.288182', 15595101)[0m
+ [1m[36mFixture Delete (4.6ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (2.4ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:22', '2018-01-04 15:13:22.301187', '2018-01-04 15:13:22.301187', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (3.4ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:22.301187', '2018-01-04 15:13:22.301187', 298486374, 872278135)[0m
+ [1m[35m (18.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+------------------------------------------------------------
+Admin::ReviewArticleTest: test_should_auto_update_an_article
+------------------------------------------------------------
+Started GET "/admin/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:22 +0100
+Processing by Admin::SessionsController#new as HTML
+ Rendering admin/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.5ms)
+ Rendered admin/sessions/new.html.erb within layouts/application (0.8ms)
+ Rendered layouts/_head.html.erb (1.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:22 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 50fdedde-b050-41d0-a09b-56f64e868c43) to Async(loco) with arguments: #<GlobalID:0x00007f951d3d5c20 @uri=#<URI::GID gid://dummy/User/872278135>>, "2077eed4-047b-4171-9682-482b639f8f65", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: a89fc7eb-0040-4cd5-a850-02dbd62c7a4d) to Async(loco) with arguments: #<GlobalID:0x00007f9521091600 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "2077eed4-047b-4171-9682-482b639f8f65", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:2077eed4-047b-4171-9682-482b639f8f65
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [50fdedde-b050-41d0-a09b-56f64e868c43] Performing Loco::UuidJob (Job ID: 50fdedde-b050-41d0-a09b-56f64e868c43) from Async(loco) with arguments: #<GlobalID:0x00007f951d2fce48 @uri=#<URI::GID gid://dummy/User/872278135>>, "2077eed4-047b-4171-9682-482b639f8f65", "del"
+[ActiveJob] [Loco::UuidJob] [50fdedde-b050-41d0-a09b-56f64e868c43] Performed Loco::UuidJob (Job ID: 50fdedde-b050-41d0-a09b-56f64e868c43) from Async(loco) in 0.76ms
+ [1m[36mAdmin Load (5.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [a89fc7eb-0040-4cd5-a850-02dbd62c7a4d] Performing Loco::UuidJob (Job ID: a89fc7eb-0040-4cd5-a850-02dbd62c7a4d) from Async(loco) with arguments: #<GlobalID:0x00007f951d2de448 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "2077eed4-047b-4171-9682-482b639f8f65", "del"
+[ActiveJob] [Loco::UuidJob] [a89fc7eb-0040-4cd5-a850-02dbd62c7a4d] Performed Loco::UuidJob (Job ID: a89fc7eb-0040-4cd5-a850-02dbd62c7a4d) from Async(loco) in 0.31ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:22 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:22 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:22 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:22 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["b682e5de-8ef5-4b2d-ae34-ede1414cc136", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$aNaXk5gUv0Nol1CDcKVAheECIpm6fRtD8ud3wa8Az54...", created_at: "2018-01-04 15:13:22", updated_at: "2018-01-04 15:13:22", confirmed_at: "2017-12-28 15:13:22">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$AeF.I4spyx4Luw.NNWIrzuvUDuy5/WuT0xp/rRAilu3...", created_at: "2018-01-04 15:13:22", updated_at: "2018-01-04 15:13:22">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: fb40dd28-08e4-4fc6-a72c-cfd8cfb86180) to Async(loco) with arguments: "b682e5de-8ef5-4b2d-ae34-ede1414cc136", {:loco=>{:uuid=>"b682e5de-8ef5-4b2d-ae34-ede1414cc136"}}
+[ActiveJob] [Loco::SenderJob] [fb40dd28-08e4-4fc6-a72c-cfd8cfb86180] Performing Loco::SenderJob (Job ID: fb40dd28-08e4-4fc6-a72c-cfd8cfb86180) from Async(loco) with arguments: "b682e5de-8ef5-4b2d-ae34-ede1414cc136", {:loco=>{:uuid=>"b682e5de-8ef5-4b2d-ae34-ede1414cc136"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 4d68bc1f-de76-42de-9287-b8e4b85eca7e) to Async(loco) with arguments: #<GlobalID:0x00007f951d27c2e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "b682e5de-8ef5-4b2d-ae34-ede1414cc136", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:b682e5de-8ef5-4b2d-ae34-ede1414cc136
+[ActiveJob] [Loco::SenderJob] [fb40dd28-08e4-4fc6-a72c-cfd8cfb86180] [ActionCable] Broadcasting to loco:notification_center:b682e5de-8ef5-4b2d-ae34-ede1414cc136: {:loco=>{:uuid=>"b682e5de-8ef5-4b2d-ae34-ede1414cc136"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: fd1665f7-48db-4b88-a077-133b4c6c7276) to Async(loco) with arguments: #<GlobalID:0x00007f951c9fe008 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "b682e5de-8ef5-4b2d-ae34-ede1414cc136", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [fb40dd28-08e4-4fc6-a72c-cfd8cfb86180] Performed Loco::SenderJob (Job ID: fb40dd28-08e4-4fc6-a72c-cfd8cfb86180) from Async(loco) in 4.12ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"b682e5de-8ef5-4b2d-ae34-ede1414cc136"}} (via streamed from loco:notification_center:b682e5de-8ef5-4b2d-ae34-ede1414cc136)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (3.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (3.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [4d68bc1f-de76-42de-9287-b8e4b85eca7e] Performing Loco::UuidJob (Job ID: 4d68bc1f-de76-42de-9287-b8e4b85eca7e) from Async(loco) with arguments: #<GlobalID:0x00007f951c9ad6f8 @uri=#<URI::GID gid://dummy/User/872278135>>, "b682e5de-8ef5-4b2d-ae34-ede1414cc136", "add"
+[ActiveJob] [Loco::UuidJob] [fd1665f7-48db-4b88-a077-133b4c6c7276] Performing Loco::UuidJob (Job ID: fd1665f7-48db-4b88-a077-133b4c6c7276) from Async(loco) with arguments: #<GlobalID:0x00007f951d254540 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "b682e5de-8ef5-4b2d-ae34-ede1414cc136", "add"
+[ActiveJob] [Loco::UuidJob] [4d68bc1f-de76-42de-9287-b8e4b85eca7e] Performed Loco::UuidJob (Job ID: 4d68bc1f-de76-42de-9287-b8e4b85eca7e) from Async(loco) in 0.82ms
+[ActiveJob] [Loco::UuidJob] [fd1665f7-48db-4b88-a077-133b4c6c7276] Performed Loco::UuidJob (Job ID: fd1665f7-48db-4b88-a077-133b4c6c7276) from Async(loco) in 0.67ms
+Started POST "/admin/sessions.json" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Processing by Admin::SessionsController#create as JSON
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@motteq.com", "password"=>"[FILTERED]"}
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`email` = 'zbigniew.humeniuk@motteq.com' LIMIT 1[0m
+Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 1.4ms)
+Started GET "/admin" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Processing by Admin::UsersController#index as HTML
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/users/index.html.erb within layouts/admin
+ Rendered admin/users/index.html.erb within layouts/admin (0.1ms)
+ Rendered layouts/_head.html.erb (2.0ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 11ms (Views: 5.2ms | ActiveRecord: 1.5ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: c03121ab-3979-4814-9ad1-0cc04b7e277c) to Async(loco) with arguments: #<GlobalID:0x00007f951d27c2e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "b682e5de-8ef5-4b2d-ae34-ede1414cc136", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: fe811ee9-9f58-4da1-9ceb-65a8289b9ae1) to Async(loco) with arguments: #<GlobalID:0x00007f951c9fe008 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "b682e5de-8ef5-4b2d-ae34-ede1414cc136", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:b682e5de-8ef5-4b2d-ae34-ede1414cc136
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (2.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [fe811ee9-9f58-4da1-9ceb-65a8289b9ae1] Performing Loco::UuidJob (Job ID: fe811ee9-9f58-4da1-9ceb-65a8289b9ae1) from Async(loco) with arguments: #<GlobalID:0x00007f952488dfb8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "b682e5de-8ef5-4b2d-ae34-ede1414cc136", "del"
+[ActiveJob] [Loco::UuidJob] [fe811ee9-9f58-4da1-9ceb-65a8289b9ae1] Performed Loco::UuidJob (Job ID: fe811ee9-9f58-4da1-9ceb-65a8289b9ae1) from Async(loco) in 0.42ms
+ [1m[36mUser Load (3.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [c03121ab-3979-4814-9ad1-0cc04b7e277c] Performing Loco::UuidJob (Job ID: c03121ab-3979-4814-9ad1-0cc04b7e277c) from Async(loco) with arguments: #<GlobalID:0x00007f952487cfb0 @uri=#<URI::GID gid://dummy/User/872278135>>, "b682e5de-8ef5-4b2d-ae34-ede1414cc136", "del"
+[ActiveJob] [Loco::UuidJob] [c03121ab-3979-4814-9ad1-0cc04b7e277c] Performed Loco::UuidJob (Job ID: c03121ab-3979-4814-9ad1-0cc04b7e277c) from Async(loco) in 0.42ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/admin/users?page=1" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Processing by Admin::UsersController#index as JSON
+ Parameters: {"page"=>"1", "user"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM `users`[0m
+ Rendering admin/users/index.json.jbuilder
+ [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT `users`.* FROM `users` ORDER BY created_at DESC LIMIT 10 OFFSET 0[0m
+ Rendered admin/users/_user.json.jbuilder (0.3ms)
+ Rendered admin/users/_user.json.jbuilder (1.2ms)
+ Rendered admin/users/index.json.jbuilder (7.1ms)
+Completed 200 OK in 18ms (Views: 4.9ms | ActiveRecord: 6.5ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["00b86b72-c881-4e33-84ef-80100783122d", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$aNaXk5gUv0Nol1CDcKVAheECIpm6fRtD8ud3wa8Az54...", created_at: "2018-01-04 15:13:22", updated_at: "2018-01-04 15:13:22", confirmed_at: "2017-12-28 15:13:22">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$AeF.I4spyx4Luw.NNWIrzuvUDuy5/WuT0xp/rRAilu3...", created_at: "2018-01-04 15:13:22", updated_at: "2018-01-04 15:13:22">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: a205251f-2172-4e39-8d6a-14def2af76e6) to Async(loco) with arguments: "00b86b72-c881-4e33-84ef-80100783122d", {:loco=>{:uuid=>"00b86b72-c881-4e33-84ef-80100783122d"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 3dcd1a19-44d9-4702-9655-2df03eab8f7f) to Async(loco) with arguments: #<GlobalID:0x00007f952408f398 @uri=#<URI::GID gid://dummy/User/872278135>>, "00b86b72-c881-4e33-84ef-80100783122d", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:00b86b72-c881-4e33-84ef-80100783122d
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 4391e716-0681-4bdc-bdd7-49921f850f8d) to Async(loco) with arguments: #<GlobalID:0x00007f952408c350 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "00b86b72-c881-4e33-84ef-80100783122d", "add"
+[ActiveJob] [Loco::SenderJob] [a205251f-2172-4e39-8d6a-14def2af76e6] Performing Loco::SenderJob (Job ID: a205251f-2172-4e39-8d6a-14def2af76e6) from Async(loco) with arguments: "00b86b72-c881-4e33-84ef-80100783122d", {:loco=>{:uuid=>"00b86b72-c881-4e33-84ef-80100783122d"}}
+[ActiveJob] [Loco::SenderJob] [a205251f-2172-4e39-8d6a-14def2af76e6] [ActionCable] Broadcasting to loco:notification_center:00b86b72-c881-4e33-84ef-80100783122d: {:loco=>{:uuid=>"00b86b72-c881-4e33-84ef-80100783122d"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::SenderJob] [a205251f-2172-4e39-8d6a-14def2af76e6] Performed Loco::SenderJob (Job ID: a205251f-2172-4e39-8d6a-14def2af76e6) from Async(loco) in 1.11ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"00b86b72-c881-4e33-84ef-80100783122d"}} (via streamed from loco:notification_center:00b86b72-c881-4e33-84ef-80100783122d)
+ [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [3dcd1a19-44d9-4702-9655-2df03eab8f7f] Performing Loco::UuidJob (Job ID: 3dcd1a19-44d9-4702-9655-2df03eab8f7f) from Async(loco) with arguments: #<GlobalID:0x00007f9524803d68 @uri=#<URI::GID gid://dummy/User/872278135>>, "00b86b72-c881-4e33-84ef-80100783122d", "add"
+[ActiveJob] [Loco::UuidJob] [3dcd1a19-44d9-4702-9655-2df03eab8f7f] Performed Loco::UuidJob (Job ID: 3dcd1a19-44d9-4702-9655-2df03eab8f7f) from Async(loco) in 1.0ms
+ [1m[36mAdmin Load (5.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [4391e716-0681-4bdc-bdd7-49921f850f8d] Performing Loco::UuidJob (Job ID: 4391e716-0681-4bdc-bdd7-49921f850f8d) from Async(loco) with arguments: #<GlobalID:0x00007f952389a548 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "00b86b72-c881-4e33-84ef-80100783122d", "add"
+[ActiveJob] [Loco::UuidJob] [4391e716-0681-4bdc-bdd7-49921f850f8d] Performed Loco::UuidJob (Job ID: 4391e716-0681-4bdc-bdd7-49921f850f8d) from Async(loco) in 0.75ms
+Started GET "/admin/articles/published" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Processing by Admin::ArticlesController#published as HTML
+ [1m[36mAdmin Load (1.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/articles/published.html.erb within layouts/admin
+ Rendered admin/articles/published.html.erb within layouts/admin (0.6ms)
+ Rendered layouts/_head.html.erb (1.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 20ms (Views: 11.5ms | ActiveRecord: 1.7ms)
+Started GET "/admin/articles/published?page=1" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Processing by Admin::ArticlesController#published as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mAdmin Load (2.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (6.6ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering admin/articles/published.json.jbuilder
+ [1m[36mArticle Load (2.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 4 OFFSET 0[0m
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered admin/articles/_article_for_list.json.jbuilder (4.2ms)
+ Rendered admin/articles/published.json.jbuilder (15.6ms)
+Completed 200 OK in 40ms (Views: 10.9ms | ActiveRecord: 15.7ms)
+Started GET "/admin/articles/980190962/edit" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Processing by Admin::ArticlesController#edit as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/articles/edit.html.erb within layouts/admin
+ [1m[36mArticle Load (4.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Load (98.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35mSQL (2.1ms)[0m [1m[33mUPDATE `articles` SET `title` = 'AGtTRA', `text` = 'TESTING_SUPPORT...TESTING_SUPPORT...TESTING_SUPPORT...TESTING_SUPPORT...TESTING_SUPPORT...TESTING_SUPPORT...', `updated_at` = '2018-01-04 15:13:23.834287' WHERE `articles`.`id` = 980190962[0m
+ Rendered admin/articles/edit.html.erb within layouts/admin (116.7ms)
+ Rendered layouts/_head.html.erb (1.3ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 147ms (Views: 138.5ms | ActiveRecord: 1.4ms)
+ [1m[35m (11.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (2.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (2.8ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Article', 980190962, 'updated', '{\"id\":980190962}', '2018-01-04 15:13:23.853290', '2018-01-04 15:13:23.853290')[0m
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Started GET "/admin/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Started GET "/admin/articles/980190962" for 127.0.0.1 at 2018-01-04 16:13:23 +0100
+Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (15.3ms)[0m [1m[35mCOMMIT[0m
+Processing by Admin::ArticlesController#show as JSON
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 5849431e-5f4b-44f9-9419-2cb642aad4ae) to Async(loco) with arguments: "00b86b72-c881-4e33-84ef-80100783122d", {:loco=>{:xhr_notifications=>true}}
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Processing by Admin::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+[ActiveJob] [Loco::SenderJob] [5849431e-5f4b-44f9-9419-2cb642aad4ae] Performing Loco::SenderJob (Job ID: 5849431e-5f4b-44f9-9419-2cb642aad4ae) from Async(loco) with arguments: "00b86b72-c881-4e33-84ef-80100783122d", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [5849431e-5f4b-44f9-9419-2cb642aad4ae] [ActionCable] Broadcasting to loco:notification_center:00b86b72-c881-4e33-84ef-80100783122d: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [5849431e-5f4b-44f9-9419-2cb642aad4ae] Performed Loco::SenderJob (Job ID: 5849431e-5f4b-44f9-9419-2cb642aad4ae) from Async(loco) in 0.53ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:00b86b72-c881-4e33-84ef-80100783122d)
+ [1m[36mAdmin Load (21.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mAdmin Load (3.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (4.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mArticle Load (6.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendering admin/comments/index.json.jbuilder
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[36mComment Load (1.7ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered admin/comments/index.json.jbuilder (11.3ms)
+ Rendering admin/articles/show.json.jbuilder
+Completed 200 OK in 55ms (Views: 14.8ms | ActiveRecord: 11.4ms)
+ [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered admin/articles/_article.json.jbuilder (4.7ms)
+ Rendered admin/articles/show.json.jbuilder (8.5ms)
+Completed 200 OK in 82ms (Views: 7.8ms | ActiveRecord: 32.6ms)
+ [1m[35m (1.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (43.4ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (50.6ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A23.869198Z&uuid=00b86b72-c881-4e33-84ef-80100783122d" for 127.0.0.1 at 2018-01-04 16:13:24 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:23.869198Z", "uuid"=>"00b86b72-c881-4e33-84ef-80100783122d"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (10.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (51.8ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[36mCACHE Admin Load (0.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m [["id", 298486374], ["LIMIT", 1]]
+ [1m[36mLoco::Notification Load (15.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:23.869198') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:23.869198') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 38ms (Views: 0.2ms | ActiveRecord: 28.5ms)
+ [1m[35m (44.6ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (48.7ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (43.4ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (44.6ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (36.3ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.5ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.5ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$yrRNiE5XmCf8FDJz6yEglekwuq.Uc72broIm.iJpc2RjHljMidPbG', '2018-01-04 15:13:24.527985', '2018-01-04 15:13:24.527985', 980190962)[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$JzPB55cJ3drQ9J3GEVD/T.Futl4USF5al3JmnNn9eW3GMAqoLG/aa', '2018-01-04 15:13:24.527985', '2018-01-04 15:13:24.527985', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$yIRXdkm4o3HZkI7PrLhRPeZA7y88tt5h3IG0GZqs56.65eJyIrd1e', '2017-12-28 15:13:24', '2018-01-04 15:13:24.532826', '2018-01-04 15:13:24.532826', 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$dpzJY6Ok6KKfwijnAxHwQuRmbRRh4U.5LTTydH/tbVMskQSmI4Jlu', '2018-01-04 15:13:24.532826', '2018-01-04 15:13:24.532826', 15595101)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:24', '2018-01-04 15:13:24.537318', '2018-01-04 15:13:24.537318', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:24.537318', '2018-01-04 15:13:24.537318', 298486374, 872278135)[0m
+ [1m[35m (10.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------------
+Admin::ReviewArticleTest: test_should_update_an_article
+-------------------------------------------------------
+Started GET "/admin/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:24 +0100
+Processing by Admin::SessionsController#new as HTML
+ Rendering admin/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.6ms)
+ Rendered admin/sessions/new.html.erb within layouts/application (1.1ms)
+ Rendered layouts/_head.html.erb (1.7ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:24 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 2f06deaf-5400-4d48-9fed-0b24e6865847) to Async(loco) with arguments: #<GlobalID:0x00007f952408f398 @uri=#<URI::GID gid://dummy/User/872278135>>, "00b86b72-c881-4e33-84ef-80100783122d", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 06bc629a-49a1-413c-84d5-c4891f27e44c) to Async(loco) with arguments: #<GlobalID:0x00007f952408c350 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "00b86b72-c881-4e33-84ef-80100783122d", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:00b86b72-c881-4e33-84ef-80100783122d
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (3.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [06bc629a-49a1-413c-84d5-c4891f27e44c] Performing Loco::UuidJob (Job ID: 06bc629a-49a1-413c-84d5-c4891f27e44c) from Async(loco) with arguments: #<GlobalID:0x00007f9521be5858 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "00b86b72-c881-4e33-84ef-80100783122d", "del"
+[ActiveJob] [Loco::UuidJob] [06bc629a-49a1-413c-84d5-c4891f27e44c] Performed Loco::UuidJob (Job ID: 06bc629a-49a1-413c-84d5-c4891f27e44c) from Async(loco) in 0.24ms
+ [1m[36mUser Load (6.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [2f06deaf-5400-4d48-9fed-0b24e6865847] Performing Loco::UuidJob (Job ID: 2f06deaf-5400-4d48-9fed-0b24e6865847) from Async(loco) with arguments: #<GlobalID:0x00007f951d63cfe0 @uri=#<URI::GID gid://dummy/User/872278135>>, "00b86b72-c881-4e33-84ef-80100783122d", "del"
+[ActiveJob] [Loco::UuidJob] [2f06deaf-5400-4d48-9fed-0b24e6865847] Performed Loco::UuidJob (Job ID: 2f06deaf-5400-4d48-9fed-0b24e6865847) from Async(loco) in 0.28ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:24 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:24 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:24 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:24 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (4.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (3.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["4737e2a6-7cd6-421f-aedf-297a0adc802c", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$yIRXdkm4o3HZkI7PrLhRPeZA7y88tt5h3IG0GZqs56....", created_at: "2018-01-04 15:13:24", updated_at: "2018-01-04 15:13:24", confirmed_at: "2017-12-28 15:13:24">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$JzPB55cJ3drQ9J3GEVD/T.Futl4USF5al3JmnNn9eW3...", created_at: "2018-01-04 15:13:24", updated_at: "2018-01-04 15:13:24">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: e4e91a40-5f2f-4fa4-9694-55ba10236887) to Async(loco) with arguments: "4737e2a6-7cd6-421f-aedf-297a0adc802c", {:loco=>{:uuid=>"4737e2a6-7cd6-421f-aedf-297a0adc802c"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ffe09960-03d7-4c76-9709-d7a60539ec95) to Async(loco) with arguments: #<GlobalID:0x00007f951cdc6398 @uri=#<URI::GID gid://dummy/User/872278135>>, "4737e2a6-7cd6-421f-aedf-297a0adc802c", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 14eac62f-64c4-4e96-ab00-ad703fa0c8ea) to Async(loco) with arguments: #<GlobalID:0x00007f951cdc4390 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "4737e2a6-7cd6-421f-aedf-297a0adc802c", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:4737e2a6-7cd6-421f-aedf-297a0adc802c
+[ActiveJob] [Loco::SenderJob] [e4e91a40-5f2f-4fa4-9694-55ba10236887] Performing Loco::SenderJob (Job ID: e4e91a40-5f2f-4fa4-9694-55ba10236887) from Async(loco) with arguments: "4737e2a6-7cd6-421f-aedf-297a0adc802c", {:loco=>{:uuid=>"4737e2a6-7cd6-421f-aedf-297a0adc802c"}}
+[ActiveJob] [Loco::SenderJob] [e4e91a40-5f2f-4fa4-9694-55ba10236887] [ActionCable] Broadcasting to loco:notification_center:4737e2a6-7cd6-421f-aedf-297a0adc802c: {:loco=>{:uuid=>"4737e2a6-7cd6-421f-aedf-297a0adc802c"}}
+[ActiveJob] [Loco::SenderJob] [e4e91a40-5f2f-4fa4-9694-55ba10236887] Performed Loco::SenderJob (Job ID: e4e91a40-5f2f-4fa4-9694-55ba10236887) from Async(loco) in 0.33ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"4737e2a6-7cd6-421f-aedf-297a0adc802c"}} (via streamed from loco:notification_center:4737e2a6-7cd6-421f-aedf-297a0adc802c)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ffe09960-03d7-4c76-9709-d7a60539ec95] Performing Loco::UuidJob (Job ID: ffe09960-03d7-4c76-9709-d7a60539ec95) from Async(loco) with arguments: #<GlobalID:0x00007f95217a7bd8 @uri=#<URI::GID gid://dummy/User/872278135>>, "4737e2a6-7cd6-421f-aedf-297a0adc802c", "add"
+[ActiveJob] [Loco::UuidJob] [ffe09960-03d7-4c76-9709-d7a60539ec95] Performed Loco::UuidJob (Job ID: ffe09960-03d7-4c76-9709-d7a60539ec95) from Async(loco) in 0.55ms
+ [1m[36mAdmin Load (6.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [14eac62f-64c4-4e96-ab00-ad703fa0c8ea] Performing Loco::UuidJob (Job ID: 14eac62f-64c4-4e96-ab00-ad703fa0c8ea) from Async(loco) with arguments: #<GlobalID:0x00007f9521b76b38 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "4737e2a6-7cd6-421f-aedf-297a0adc802c", "add"
+[ActiveJob] [Loco::UuidJob] [14eac62f-64c4-4e96-ab00-ad703fa0c8ea] Performed Loco::UuidJob (Job ID: 14eac62f-64c4-4e96-ab00-ad703fa0c8ea) from Async(loco) in 0.66ms
+Started POST "/admin/sessions.json" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Processing by Admin::SessionsController#create as JSON
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@motteq.com", "password"=>"[FILTERED]"}
+ [1m[36mAdmin Load (2.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`email` = 'zbigniew.humeniuk@motteq.com' LIMIT 1[0m
+Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 2.0ms)
+Started GET "/admin" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Processing by Admin::UsersController#index as HTML
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/users/index.html.erb within layouts/admin
+ Rendered admin/users/index.html.erb within layouts/admin (0.1ms)
+ Rendered layouts/_head.html.erb (1.7ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 12ms (Views: 4.7ms | ActiveRecord: 1.5ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ec91cef5-5260-40d5-a402-51951b86c3d9) to Async(loco) with arguments: #<GlobalID:0x00007f951cdc6398 @uri=#<URI::GID gid://dummy/User/872278135>>, "4737e2a6-7cd6-421f-aedf-297a0adc802c", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 921dcccb-e090-41f6-abd2-15f163f446f7) to Async(loco) with arguments: #<GlobalID:0x00007f951cdc4390 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "4737e2a6-7cd6-421f-aedf-297a0adc802c", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:4737e2a6-7cd6-421f-aedf-297a0adc802c
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (4.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ec91cef5-5260-40d5-a402-51951b86c3d9] Performing Loco::UuidJob (Job ID: ec91cef5-5260-40d5-a402-51951b86c3d9) from Async(loco) with arguments: #<GlobalID:0x00007f951cd19058 @uri=#<URI::GID gid://dummy/User/872278135>>, "4737e2a6-7cd6-421f-aedf-297a0adc802c", "del"
+[ActiveJob] [Loco::UuidJob] [ec91cef5-5260-40d5-a402-51951b86c3d9] Performed Loco::UuidJob (Job ID: ec91cef5-5260-40d5-a402-51951b86c3d9) from Async(loco) in 0.5ms
+ [1m[36mAdmin Load (5.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [921dcccb-e090-41f6-abd2-15f163f446f7] Performing Loco::UuidJob (Job ID: 921dcccb-e090-41f6-abd2-15f163f446f7) from Async(loco) with arguments: #<GlobalID:0x00007f9521acc5c0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "4737e2a6-7cd6-421f-aedf-297a0adc802c", "del"
+[ActiveJob] [Loco::UuidJob] [921dcccb-e090-41f6-abd2-15f163f446f7] Performed Loco::UuidJob (Job ID: 921dcccb-e090-41f6-abd2-15f163f446f7) from Async(loco) in 0.32ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/admin/users?page=1" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Processing by Admin::UsersController#index as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ Parameters: {"page"=>"1", "user"=>{}}
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `users`[0m
+ Rendering admin/users/index.json.jbuilder
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` ORDER BY created_at DESC LIMIT 10 OFFSET 0[0m
+ Rendered admin/users/_user.json.jbuilder (0.3ms)
+ Rendered admin/users/_user.json.jbuilder (0.2ms)
+ Rendered admin/users/index.json.jbuilder (8.2ms)
+Completed 200 OK in 16ms (Views: 6.2ms | ActiveRecord: 5.8ms)
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["004981bb-bfe8-4517-80d6-468c8fc81c04", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$yIRXdkm4o3HZkI7PrLhRPeZA7y88tt5h3IG0GZqs56....", created_at: "2018-01-04 15:13:24", updated_at: "2018-01-04 15:13:24", confirmed_at: "2017-12-28 15:13:24">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$JzPB55cJ3drQ9J3GEVD/T.Futl4USF5al3JmnNn9eW3...", created_at: "2018-01-04 15:13:24", updated_at: "2018-01-04 15:13:24">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 4862fe64-1052-49a9-bc84-8569d31cf405) to Async(loco) with arguments: "004981bb-bfe8-4517-80d6-468c8fc81c04", {:loco=>{:uuid=>"004981bb-bfe8-4517-80d6-468c8fc81c04"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: b5a39cfc-7a27-4154-9e2f-2efcb2b3f3f7) to Async(loco) with arguments: #<GlobalID:0x00007f951cc8e2a0 @uri=#<URI::GID gid://dummy/User/872278135>>, "004981bb-bfe8-4517-80d6-468c8fc81c04", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 076fdefe-b137-4446-9d14-98c04a0827fc) to Async(loco) with arguments: #<GlobalID:0x00007f951cc8c270 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "004981bb-bfe8-4517-80d6-468c8fc81c04", "add"
+[ActiveJob] [Loco::SenderJob] [4862fe64-1052-49a9-bc84-8569d31cf405] Performing Loco::SenderJob (Job ID: 4862fe64-1052-49a9-bc84-8569d31cf405) from Async(loco) with arguments: "004981bb-bfe8-4517-80d6-468c8fc81c04", {:loco=>{:uuid=>"004981bb-bfe8-4517-80d6-468c8fc81c04"}}
+[ActiveJob] [Loco::SenderJob] [4862fe64-1052-49a9-bc84-8569d31cf405] [ActionCable] Broadcasting to loco:notification_center:004981bb-bfe8-4517-80d6-468c8fc81c04: {:loco=>{:uuid=>"004981bb-bfe8-4517-80d6-468c8fc81c04"}}
+[ActiveJob] [Loco::SenderJob] [4862fe64-1052-49a9-bc84-8569d31cf405] Performed Loco::SenderJob (Job ID: 4862fe64-1052-49a9-bc84-8569d31cf405) from Async(loco) in 0.27ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:004981bb-bfe8-4517-80d6-468c8fc81c04
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (4.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [b5a39cfc-7a27-4154-9e2f-2efcb2b3f3f7] Performing Loco::UuidJob (Job ID: b5a39cfc-7a27-4154-9e2f-2efcb2b3f3f7) from Async(loco) with arguments: #<GlobalID:0x00007f951ccc40d0 @uri=#<URI::GID gid://dummy/User/872278135>>, "004981bb-bfe8-4517-80d6-468c8fc81c04", "add"
+[ActiveJob] [Loco::UuidJob] [b5a39cfc-7a27-4154-9e2f-2efcb2b3f3f7] Performed Loco::UuidJob (Job ID: b5a39cfc-7a27-4154-9e2f-2efcb2b3f3f7) from Async(loco) in 0.6ms
+ [1m[36mAdmin Load (2.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [076fdefe-b137-4446-9d14-98c04a0827fc] Performing Loco::UuidJob (Job ID: 076fdefe-b137-4446-9d14-98c04a0827fc) from Async(loco) with arguments: #<GlobalID:0x00007f95215e3d10 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "004981bb-bfe8-4517-80d6-468c8fc81c04", "add"
+[ActiveJob] [Loco::UuidJob] [076fdefe-b137-4446-9d14-98c04a0827fc] Performed Loco::UuidJob (Job ID: 076fdefe-b137-4446-9d14-98c04a0827fc) from Async(loco) in 0.57ms
+Started GET "/admin/articles/published" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Processing by Admin::ArticlesController#published as HTML
+ [1m[36mAdmin Load (2.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/articles/published.html.erb within layouts/admin
+ Rendered admin/articles/published.html.erb within layouts/admin (0.1ms)
+ Rendered layouts/_head.html.erb (2.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 4.6ms | ActiveRecord: 2.6ms)
+Started GET "/admin/articles/published?page=1" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Processing by Admin::ArticlesController#published as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mAdmin Load (1.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering admin/articles/published.json.jbuilder
+ [1m[36mArticle Load (1.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 4 OFFSET 0[0m
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered admin/articles/_article_for_list.json.jbuilder (3.2ms)
+ Rendered admin/articles/published.json.jbuilder (9.4ms)
+Completed 200 OK in 18ms (Views: 6.1ms | ActiveRecord: 6.3ms)
+Started GET "/admin/articles/980190962/edit" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Processing by Admin::ArticlesController#edit as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/articles/edit.html.erb within layouts/admin
+ Rendered admin/articles/edit.html.erb within layouts/admin (3.5ms)
+ Rendered layouts/_head.html.erb (2.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 13ms (Views: 7.8ms | ActiveRecord: 1.3ms)
+Started GET "/admin/articles/980190962" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Processing by Admin::ArticlesController#show as JSON
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Started GET "/admin/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Processing by Admin::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:25 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mAdmin Load (2.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mAdmin Load (2.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (2.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mArticle Load (2.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering admin/articles/show.json.jbuilder
+ [1m[35m (3.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendering admin/comments/index.json.jbuilder
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered admin/articles/_article.json.jbuilder (3.8ms)
+ Rendered admin/articles/show.json.jbuilder (4.6ms)
+Completed 200 OK in 21ms (Views: 4.3ms | ActiveRecord: 7.8ms)
+ [1m[36mComment Load (2.2ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered admin/comments/index.json.jbuilder (3.3ms)
+Completed 200 OK in 20ms (Views: 2.1ms | ActiveRecord: 9.9ms)
+Started PUT "/admin/articles/980190962" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Processing by Admin::ArticlesController#update as JSON
+ Parameters: {"article"=>{"title"=>"A Guide to Testing Rails Applications", "text"=>"Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you'll need to understand how to set up this database and populate it with sample data.", "created_at"=>"2018-01-04T15:13:24.537Z", "updated_at"=>"2018-01-04T15:13:24.537Z", "comments_count"=>0, "published_at"=>"2018-01-03T15:13:24.000Z", "published"=>"0", "admin_review"=>"Damn good article", "admin_rate"=>5, "category_id"=>8, "admin_review_started_at"=>"1515078805484"}, "id"=>"980190962"}
+ [1m[36mArticle Load (1.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (3.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+Unpermitted parameters: :title, :text, :created_at, :updated_at, :comments_count, :published_at
+ [1m[35m (2.3ms)[0m [1m[35mBEGIN[0m
+Started GET "/admin/articles/980190962/edit" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Processing by Admin::ArticlesController#edit as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (0.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/articles/edit.html.erb within layouts/admin
+ Rendered admin/articles/edit.html.erb within layouts/admin (3.7ms)
+ [1m[35mSQL (6.1ms)[0m [1m[33mUPDATE `articles` SET `admin_review` = 'Damn good article', `category_id` = 8, `admin_rate` = 5, `published_at` = NULL, `updated_at` = '2018-01-04 15:13:26.075553', `admin_review_time` = 0.59 WHERE `articles`.`id` = 980190962[0m
+ Rendered layouts/_head.html.erb (1.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 12ms (Views: 7.3ms | ActiveRecord: 0.9ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 0d619ecb-58fc-4439-b7b0-96e6954f3fd8) to Async(loco) with arguments: #<GlobalID:0x00007f951cc8e2a0 @uri=#<URI::GID gid://dummy/User/872278135>>, "004981bb-bfe8-4517-80d6-468c8fc81c04", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ade3cce1-d090-4d79-b75e-c4ea4fb2b045) to Async(loco) with arguments: #<GlobalID:0x00007f951cc8c270 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "004981bb-bfe8-4517-80d6-468c8fc81c04", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:004981bb-bfe8-4517-80d6-468c8fc81c04
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[35m (12.8ms)[0m [1m[35mCOMMIT[0m
+Completed 200 OK in 40ms (Views: 0.6ms | ActiveRecord: 28.2ms)
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [0d619ecb-58fc-4439-b7b0-96e6954f3fd8] Performing Loco::UuidJob (Job ID: 0d619ecb-58fc-4439-b7b0-96e6954f3fd8) from Async(loco) with arguments: #<GlobalID:0x00007f9521168740 @uri=#<URI::GID gid://dummy/User/872278135>>, "004981bb-bfe8-4517-80d6-468c8fc81c04", "del"
+[ActiveJob] [Loco::UuidJob] [0d619ecb-58fc-4439-b7b0-96e6954f3fd8] Performed Loco::UuidJob (Job ID: 0d619ecb-58fc-4439-b7b0-96e6954f3fd8) from Async(loco) in 0.31ms
+ [1m[36mAdmin Load (3.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ade3cce1-d090-4d79-b75e-c4ea4fb2b045] Performing Loco::UuidJob (Job ID: ade3cce1-d090-4d79-b75e-c4ea4fb2b045) from Async(loco) with arguments: #<GlobalID:0x00007f9521901038 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "004981bb-bfe8-4517-80d6-468c8fc81c04", "del"
+[ActiveJob] [Loco::UuidJob] [ade3cce1-d090-4d79-b75e-c4ea4fb2b045] Performed Loco::UuidJob (Job ID: ade3cce1-d090-4d79-b75e-c4ea4fb2b045) from Async(loco) in 0.26ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/admin/articles/980190962" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Processing by Admin::ArticlesController#show as JSON
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/admin/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Processing by Admin::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+ [1m[36mAdmin Load (2.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mAdmin Load (2.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (4.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mAdmin Load (4.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["45fd3983-3120-4d55-9215-ea3562cb98fd", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$yIRXdkm4o3HZkI7PrLhRPeZA7y88tt5h3IG0GZqs56....", created_at: "2018-01-04 15:13:24", updated_at: "2018-01-04 15:13:24", confirmed_at: "2017-12-28 15:13:24">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$JzPB55cJ3drQ9J3GEVD/T.Futl4USF5al3JmnNn9eW3...", created_at: "2018-01-04 15:13:24", updated_at: "2018-01-04 15:13:24">])
+ [1m[36mArticle Load (7.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 3d0bb13a-7035-4493-841f-32177daa2c14) to Async(loco) with arguments: "45fd3983-3120-4d55-9215-ea3562cb98fd", {:loco=>{:uuid=>"45fd3983-3120-4d55-9215-ea3562cb98fd"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 78522466-3a03-4ba6-807b-a3ddd015cca8) to Async(loco) with arguments: #<GlobalID:0x00007f9521151a90 @uri=#<URI::GID gid://dummy/User/872278135>>, "45fd3983-3120-4d55-9215-ea3562cb98fd", "add"
+[ActiveJob] [Loco::SenderJob] [3d0bb13a-7035-4493-841f-32177daa2c14] Performing Loco::SenderJob (Job ID: 3d0bb13a-7035-4493-841f-32177daa2c14) from Async(loco) with arguments: "45fd3983-3120-4d55-9215-ea3562cb98fd", {:loco=>{:uuid=>"45fd3983-3120-4d55-9215-ea3562cb98fd"}}
+ [1m[36mUser Load (7.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: e8013b1a-9b12-4c40-9bd6-652d2f02c038) to Async(loco) with arguments: #<GlobalID:0x00007f9521143ee0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "45fd3983-3120-4d55-9215-ea3562cb98fd", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:45fd3983-3120-4d55-9215-ea3562cb98fd
+ [1m[35m (4.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[ActiveJob] [Loco::SenderJob] [3d0bb13a-7035-4493-841f-32177daa2c14] [ActionCable] Broadcasting to loco:notification_center:45fd3983-3120-4d55-9215-ea3562cb98fd: {:loco=>{:uuid=>"45fd3983-3120-4d55-9215-ea3562cb98fd"}}
+ Rendering admin/articles/show.json.jbuilder
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ Rendering admin/comments/index.json.jbuilder
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [e8013b1a-9b12-4c40-9bd6-652d2f02c038] Performing Loco::UuidJob (Job ID: e8013b1a-9b12-4c40-9bd6-652d2f02c038) from Async(loco) with arguments: #<GlobalID:0x00007f9521110388 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "45fd3983-3120-4d55-9215-ea3562cb98fd", "add"
+[ActiveJob] [Loco::UuidJob] [e8013b1a-9b12-4c40-9bd6-652d2f02c038] Performed Loco::UuidJob (Job ID: e8013b1a-9b12-4c40-9bd6-652d2f02c038) from Async(loco) in 0.63ms
+ [1m[35m (5.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[ActiveJob] [Loco::UuidJob] [78522466-3a03-4ba6-807b-a3ddd015cca8] Performing Loco::UuidJob (Job ID: 78522466-3a03-4ba6-807b-a3ddd015cca8) from Async(loco) with arguments: #<GlobalID:0x00007f952111a798 @uri=#<URI::GID gid://dummy/User/872278135>>, "45fd3983-3120-4d55-9215-ea3562cb98fd", "add"
+[ActiveJob] [Loco::UuidJob] [78522466-3a03-4ba6-807b-a3ddd015cca8] Performed Loco::UuidJob (Job ID: 78522466-3a03-4ba6-807b-a3ddd015cca8) from Async(loco) in 0.72ms
+[ActiveJob] [Loco::SenderJob] [3d0bb13a-7035-4493-841f-32177daa2c14] Performed Loco::SenderJob (Job ID: 3d0bb13a-7035-4493-841f-32177daa2c14) from Async(loco) in 14.45ms
+ Rendered admin/articles/_article.json.jbuilder (7.5ms)
+ Rendered admin/articles/show.json.jbuilder (10.4ms)
+Completed 200 OK in 47ms (Views: 8.1ms | ActiveRecord: 19.7ms)
+ [1m[36mComment Load (4.4ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered admin/comments/index.json.jbuilder (9.6ms)
+Completed 200 OK in 42ms (Views: 10.1ms | ActiveRecord: 18.8ms)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"45fd3983-3120-4d55-9215-ea3562cb98fd"}} (via streamed from loco:notification_center:45fd3983-3120-4d55-9215-ea3562cb98fd)
+ [1m[36mArticle Load (1.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (42.6ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (51.3ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (46.7ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (45.9ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (41.1ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (44.0ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (47.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (42.5ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$sMzYBweMyJQQSkpsVdQIi.zt3fTlV5H6Hheo1iM73wL19/8z61Vmu', '2018-01-04 15:13:26.635990', '2018-01-04 15:13:26.635990', 980190962)[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$obhKCBldzWBGmFZOYLLQyOz6DtUlxeh1.4m3E0N1K3BkD2.obUJnK', '2018-01-04 15:13:26.635990', '2018-01-04 15:13:26.635990', 298486374)[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$d0yrVoKt1dlmuHVOnZUVquN4HTJGqIut/FM99NvZzuWF2IBvg7MjO', '2017-12-28 15:13:26', '2018-01-04 15:13:26.639850', '2018-01-04 15:13:26.639850', 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$/d2F/OtMpy0yyBeW5VMNk.Ng3TvVnBaShVRORtcxjkT99vwgwt9Wi', '2018-01-04 15:13:26.639850', '2018-01-04 15:13:26.639850', 15595101)[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:26', '2018-01-04 15:13:26.643959', '2018-01-04 15:13:26.643959', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:26.643959', '2018-01-04 15:13:26.643959', 298486374, 872278135)[0m
+ [1m[35m (11.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+---------------------------------------------------------------------------------------------------
+User::RealSnapChatTest: test_should_show_info_about_joining_room_after_returning_from_disconnection
+---------------------------------------------------------------------------------------------------
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO `rooms` (`name`, `created_at`, `updated_at`) VALUES ('Business', '2018-01-04 15:13:26.674309', '2018-01-04 15:13:26.674309')[0m
+ [1m[35m (12.1ms)[0m [1m[35mCOMMIT[0m
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.4ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 11e53c22-5266-44f3-a0be-7adf28061839) to Async(loco) with arguments: #<GlobalID:0x00007f9521151a90 @uri=#<URI::GID gid://dummy/User/872278135>>, "45fd3983-3120-4d55-9215-ea3562cb98fd", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 6634e17f-5ff9-486a-94e1-7f3b3999135d) to Async(loco) with arguments: #<GlobalID:0x00007f9521143ee0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "45fd3983-3120-4d55-9215-ea3562cb98fd", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:45fd3983-3120-4d55-9215-ea3562cb98fd
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (12.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [6634e17f-5ff9-486a-94e1-7f3b3999135d] Performing Loco::UuidJob (Job ID: 6634e17f-5ff9-486a-94e1-7f3b3999135d) from Async(loco) with arguments: #<GlobalID:0x00007f951d3148e0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "45fd3983-3120-4d55-9215-ea3562cb98fd", "del"
+[ActiveJob] [Loco::UuidJob] [6634e17f-5ff9-486a-94e1-7f3b3999135d] Performed Loco::UuidJob (Job ID: 6634e17f-5ff9-486a-94e1-7f3b3999135d) from Async(loco) in 0.32ms
+ [1m[36mUser Load (8.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [11e53c22-5266-44f3-a0be-7adf28061839] Performing Loco::UuidJob (Job ID: 11e53c22-5266-44f3-a0be-7adf28061839) from Async(loco) with arguments: #<GlobalID:0x00007f951bf763b0 @uri=#<URI::GID gid://dummy/User/872278135>>, "45fd3983-3120-4d55-9215-ea3562cb98fd", "del"
+[ActiveJob] [Loco::UuidJob] [11e53c22-5266-44f3-a0be-7adf28061839] Performed Loco::UuidJob (Job ID: 11e53c22-5266-44f3-a0be-7adf28061839) from Async(loco) in 0.21ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[35m (2.9ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mArticle Load (12.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[36mAdmin Load (4.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$d0yrVoKt1dlmuHVOnZUVquN4HTJGqIut/FM99NvZzuW...", created_at: "2018-01-04 15:13:26", updated_at: "2018-01-04 15:13:26", confirmed_at: "2017-12-28 15:13:26">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$obhKCBldzWBGmFZOYLLQyOz6DtUlxeh1.4m3E0N1K3B...", created_at: "2018-01-04 15:13:26", updated_at: "2018-01-04 15:13:26">])
+ [1m[35m (3.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (5.4ms)
+ Rendered main/articles/index.json.jbuilder (24.2ms)
+Completed 200 OK in 32ms (Views: 6.4ms | ActiveRecord: 21.7ms)
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 72172a2d-e009-4da1-926e-3aa9db0f5a49) to Async(loco) with arguments: "8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5", {:loco=>{:uuid=>"8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5"}}
+[ActiveJob] [Loco::SenderJob] [72172a2d-e009-4da1-926e-3aa9db0f5a49] Performing Loco::SenderJob (Job ID: 72172a2d-e009-4da1-926e-3aa9db0f5a49) from Async(loco) with arguments: "8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5", {:loco=>{:uuid=>"8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ff52d0a8-5383-4d1e-a62d-cc8cfc4fed76) to Async(loco) with arguments: #<GlobalID:0x00007f951d256f70 @uri=#<URI::GID gid://dummy/User/872278135>>, "8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5
+[ActiveJob] [Loco::SenderJob] [72172a2d-e009-4da1-926e-3aa9db0f5a49] [ActionCable] Broadcasting to loco:notification_center:8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5: {:loco=>{:uuid=>"8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 13d83638-17a7-426e-8b20-5562e4029b73) to Async(loco) with arguments: #<GlobalID:0x00007f951f74e058 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [72172a2d-e009-4da1-926e-3aa9db0f5a49] Performed Loco::SenderJob (Job ID: 72172a2d-e009-4da1-926e-3aa9db0f5a49) from Async(loco) in 3.22ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5"}} (via streamed from loco:notification_center:8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (2.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [13d83638-17a7-426e-8b20-5562e4029b73] Performing Loco::UuidJob (Job ID: 13d83638-17a7-426e-8b20-5562e4029b73) from Async(loco) with arguments: #<GlobalID:0x00007f951d2467b0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5", "add"
+[ActiveJob] [Loco::UuidJob] [13d83638-17a7-426e-8b20-5562e4029b73] Performed Loco::UuidJob (Job ID: 13d83638-17a7-426e-8b20-5562e4029b73) from Async(loco) in 0.56ms
+ [1m[36mUser Load (4.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ff52d0a8-5383-4d1e-a62d-cc8cfc4fed76] Performing Loco::UuidJob (Job ID: ff52d0a8-5383-4d1e-a62d-cc8cfc4fed76) from Async(loco) with arguments: #<GlobalID:0x00007f951f71c620 @uri=#<URI::GID gid://dummy/User/872278135>>, "8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5", "add"
+[ActiveJob] [Loco::UuidJob] [ff52d0a8-5383-4d1e-a62d-cc8cfc4fed76] Performed Loco::UuidJob (Job ID: ff52d0a8-5383-4d1e-a62d-cc8cfc4fed76) from Async(loco) in 0.58ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.8ms)
+ Rendered user/sessions/new.html.erb within layouts/application (2.7ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:26 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.4ms)
+ Rendered layouts/_head.html.erb (1.1ms)
+ Rendered layouts/_flash.html.erb (0.3ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 1.7ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 026645e6-20be-45b6-93ab-5fb186659d21) to Async(loco) with arguments: #<GlobalID:0x00007f951d256f70 @uri=#<URI::GID gid://dummy/User/872278135>>, "8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: c7c71277-94ae-4293-adbc-06f9069a7cf7) to Async(loco) with arguments: #<GlobalID:0x00007f951f74e058 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [026645e6-20be-45b6-93ab-5fb186659d21] Performing Loco::UuidJob (Job ID: 026645e6-20be-45b6-93ab-5fb186659d21) from Async(loco) with arguments: #<GlobalID:0x00007f9523407e40 @uri=#<URI::GID gid://dummy/User/872278135>>, "8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5", "del"
+[ActiveJob] [Loco::UuidJob] [c7c71277-94ae-4293-adbc-06f9069a7cf7] Performing Loco::UuidJob (Job ID: c7c71277-94ae-4293-adbc-06f9069a7cf7) from Async(loco) with arguments: #<GlobalID:0x00007f9523405190 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "8e9b4a47-3fd0-491e-9b6b-70c8a65a5dd5", "del"
+[ActiveJob] [Loco::UuidJob] [026645e6-20be-45b6-93ab-5fb186659d21] Performed Loco::UuidJob (Job ID: 026645e6-20be-45b6-93ab-5fb186659d21) from Async(loco) in 0.38ms
+[ActiveJob] [Loco::UuidJob] [c7c71277-94ae-4293-adbc-06f9069a7cf7] Performed Loco::UuidJob (Job ID: c7c71277-94ae-4293-adbc-06f9069a7cf7) from Async(loco) in 0.25ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by User::ArticlesController#index as JSON
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+ Parameters: {"page"=>"1", "article"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (2.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.6ms)
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.5ms)
+ Rendered user/articles/index.json.jbuilder (11.8ms)
+Completed 200 OK in 23ms (Views: 7.1ms | ActiveRecord: 10.2ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$d0yrVoKt1dlmuHVOnZUVquN4HTJGqIut/FM99NvZzuW...", created_at: "2018-01-04 15:13:26", updated_at: "2018-01-04 15:13:26", confirmed_at: "2017-12-28 15:13:26">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$obhKCBldzWBGmFZOYLLQyOz6DtUlxeh1.4m3E0N1K3B...", created_at: "2018-01-04 15:13:26", updated_at: "2018-01-04 15:13:26">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: b5a061d7-c290-40ae-b935-91ae9ac56179) to Async(loco) with arguments: "2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", {:loco=>{:uuid=>"2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 08f02d4e-eb30-4a05-9288-e33ade8770c6) to Async(loco) with arguments: #<GlobalID:0x00007f95233a31e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: a5cee2b7-ea2c-4dfd-a2ff-00685e93e0fe) to Async(loco) with arguments: #<GlobalID:0x00007f95233a0df8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [b5a061d7-c290-40ae-b935-91ae9ac56179] Performing Loco::SenderJob (Job ID: b5a061d7-c290-40ae-b935-91ae9ac56179) from Async(loco) with arguments: "2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", {:loco=>{:uuid=>"2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc
+[ActiveJob] [Loco::SenderJob] [b5a061d7-c290-40ae-b935-91ae9ac56179] [ActionCable] Broadcasting to loco:notification_center:2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc: {:loco=>{:uuid=>"2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc"}}
+[ActiveJob] [Loco::SenderJob] [b5a061d7-c290-40ae-b935-91ae9ac56179] Performed Loco::SenderJob (Job ID: b5a061d7-c290-40ae-b935-91ae9ac56179) from Async(loco) in 1.32ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc"}} (via streamed from loco:notification_center:2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc)
+ [1m[36mAdmin Load (4.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [a5cee2b7-ea2c-4dfd-a2ff-00685e93e0fe] Performing Loco::UuidJob (Job ID: a5cee2b7-ea2c-4dfd-a2ff-00685e93e0fe) from Async(loco) with arguments: #<GlobalID:0x00007f95233687a0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", "add"
+ [1m[36mUser Load (7.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [a5cee2b7-ea2c-4dfd-a2ff-00685e93e0fe] Performed Loco::UuidJob (Job ID: a5cee2b7-ea2c-4dfd-a2ff-00685e93e0fe) from Async(loco) in 0.78ms
+[ActiveJob] [Loco::UuidJob] [08f02d4e-eb30-4a05-9288-e33ade8770c6] Performing Loco::UuidJob (Job ID: 08f02d4e-eb30-4a05-9288-e33ade8770c6) from Async(loco) with arguments: #<GlobalID:0x00007f9521f40d40 @uri=#<URI::GID gid://dummy/User/872278135>>, "2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", "add"
+[ActiveJob] [Loco::UuidJob] [08f02d4e-eb30-4a05-9288-e33ade8770c6] Performed Loco::UuidJob (Job ID: 08f02d4e-eb30-4a05-9288-e33ade8770c6) from Async(loco) in 0.6ms
+Started GET "/user/rooms" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by User::RoomsController#index as HTML
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mRoom Load (1.0ms)[0m [1m[34mSELECT `rooms`.* FROM `rooms` LIMIT 10 OFFSET 0[0m
+ Rendering user/rooms/index.html.erb within layouts/user
+ Rendered user/rooms/index.html.erb within layouts/user (3.6ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 25ms (Views: 8.5ms | ActiveRecord: 2.1ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+Started PATCH "/user/rooms/1/join" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by User::RoomsController#join as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mRoom Load (1.8ms)[0m [1m[34mSELECT `rooms`.* FROM `rooms` WHERE `rooms`.`id` = 1 LIMIT 1[0m
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Room', 1, 'member_joined', '{\"room_id\":1,\"member\":{\"id\":872278135,\"username\":\"zbig\"},\"id\":1}', '2018-01-04 15:13:27.702098', '2018-01-04 15:13:27.702098')[0m
+ [1m[35m (9.1ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [842c3994-7380-47d7-90a3-c17934d5956f] Performing Loco::SenderJob (Job ID: 842c3994-7380-47d7-90a3-c17934d5956f) from Async(loco) with arguments: "2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [842c3994-7380-47d7-90a3-c17934d5956f] [ActionCable] Broadcasting to loco:notification_center:2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 842c3994-7380-47d7-90a3-c17934d5956f) to Async(loco) with arguments: "2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [842c3994-7380-47d7-90a3-c17934d5956f] Performed Loco::SenderJob (Job ID: 842c3994-7380-47d7-90a3-c17934d5956f) from Async(loco) in 0.33ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc)
+Redirected to http://127.0.0.1:59678/user/rooms/1
+Completed 302 Found in 29ms (ActiveRecord: 14.7ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A27.592509Z&uuid=2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:27.592509Z", "uuid"=>"2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc"}
+Started GET "/user/rooms/1" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by User::RoomsController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (0.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mRoom Load (2.6ms)[0m [1m[34mSELECT `rooms`.* FROM `rooms` WHERE `rooms`.`id` = 1 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (4.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:27.592509') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ Rendering user/rooms/show.html.erb within layouts/user
+ Rendered user/rooms/show.html.erb within layouts/user (1.3ms)
+ Rendered layouts/_head.html.erb (1.3ms)
+ [1m[36mLoco::Notification Load (3.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:27.592509') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 19ms (Views: 12.8ms | ActiveRecord: 3.8ms)
+ [1m[36mLoco::Notification Load (4.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:27.592509') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 14.6ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 401ada79-9430-4bf4-9b8d-cc5c1240eb61) to Async(loco) with arguments: #<GlobalID:0x00007f95233a31e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 45c1626a-d8fa-43a0-a3f0-7cccbadf13c9) to Async(loco) with arguments: #<GlobalID:0x00007f95233a0df8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [401ada79-9430-4bf4-9b8d-cc5c1240eb61] Performing Loco::UuidJob (Job ID: 401ada79-9430-4bf4-9b8d-cc5c1240eb61) from Async(loco) with arguments: #<GlobalID:0x00007f9521cc1f88 @uri=#<URI::GID gid://dummy/User/872278135>>, "2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", "del"
+[ActiveJob] [Loco::UuidJob] [401ada79-9430-4bf4-9b8d-cc5c1240eb61] Performed Loco::UuidJob (Job ID: 401ada79-9430-4bf4-9b8d-cc5c1240eb61) from Async(loco) in 0.36ms
+ [1m[36mAdmin Load (4.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [45c1626a-d8fa-43a0-a3f0-7cccbadf13c9] Performing Loco::UuidJob (Job ID: 45c1626a-d8fa-43a0-a3f0-7cccbadf13c9) from Async(loco) with arguments: #<GlobalID:0x00007f9521cb9158 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "2e66279c-e28e-4a87-81f4-d3d8a6a9a6cc", "del"
+[ActiveJob] [Loco::UuidJob] [45c1626a-d8fa-43a0-a3f0-7cccbadf13c9] Performed Loco::UuidJob (Job ID: 45c1626a-d8fa-43a0-a3f0-7cccbadf13c9) from Async(loco) in 0.29ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/user/rooms/1/members?page=1" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by User::MembersController#index as JSON
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+ Parameters: {"page"=>"1", "room_id"=>"1", "member"=>{}}
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mRoom Load (1.8ms)[0m [1m[34mSELECT `rooms`.* FROM `rooms` WHERE `rooms`.`id` = 1 LIMIT 1[0m
+ [1m[36mAdmin Load (3.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["815308d7-a852-49b7-92ff-a94be854e41d", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$d0yrVoKt1dlmuHVOnZUVquN4HTJGqIut/FM99NvZzuW...", created_at: "2018-01-04 15:13:26", updated_at: "2018-01-04 15:13:26", confirmed_at: "2017-12-28 15:13:26">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$obhKCBldzWBGmFZOYLLQyOz6DtUlxeh1.4m3E0N1K3B...", created_at: "2018-01-04 15:13:26", updated_at: "2018-01-04 15:13:26">])
+ [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 5f8cf20b-ad42-4cb0-ba8c-8324aff6e5ec) to Async(loco) with arguments: "815308d7-a852-49b7-92ff-a94be854e41d", {:loco=>{:uuid=>"815308d7-a852-49b7-92ff-a94be854e41d"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 9e768d79-e8f4-495e-81a0-12029f8f9075) to Async(loco) with arguments: #<GlobalID:0x00007f9521c58560 @uri=#<URI::GID gid://dummy/User/872278135>>, "815308d7-a852-49b7-92ff-a94be854e41d", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 3bd178a2-f114-4b63-b32b-d7c18b2dc4a5) to Async(loco) with arguments: #<GlobalID:0x00007f9523052430 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "815308d7-a852-49b7-92ff-a94be854e41d", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:815308d7-a852-49b7-92ff-a94be854e41d
+[ActiveJob] [Loco::SenderJob] [5f8cf20b-ad42-4cb0-ba8c-8324aff6e5ec] Performing Loco::SenderJob (Job ID: 5f8cf20b-ad42-4cb0-ba8c-8324aff6e5ec) from Async(loco) with arguments: "815308d7-a852-49b7-92ff-a94be854e41d", {:loco=>{:uuid=>"815308d7-a852-49b7-92ff-a94be854e41d"}}
+[ActiveJob] [Loco::SenderJob] [5f8cf20b-ad42-4cb0-ba8c-8324aff6e5ec] [ActionCable] Broadcasting to loco:notification_center:815308d7-a852-49b7-92ff-a94be854e41d: {:loco=>{:uuid=>"815308d7-a852-49b7-92ff-a94be854e41d"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ Rendering user/members/index.json.jbuilder
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendered user/members/index.json.jbuilder (0.5ms)
+ [1m[36mAdmin Load (2.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::UuidJob] [9e768d79-e8f4-495e-81a0-12029f8f9075] Performing Loco::UuidJob (Job ID: 9e768d79-e8f4-495e-81a0-12029f8f9075) from Async(loco) with arguments: #<GlobalID:0x00007f95230289a0 @uri=#<URI::GID gid://dummy/User/872278135>>, "815308d7-a852-49b7-92ff-a94be854e41d", "add"
+Completed 200 OK in 41ms (Views: 13.0ms | ActiveRecord: 5.0ms)
+[ActiveJob] [Loco::UuidJob] [3bd178a2-f114-4b63-b32b-d7c18b2dc4a5] Performing Loco::UuidJob (Job ID: 3bd178a2-f114-4b63-b32b-d7c18b2dc4a5) from Async(loco) with arguments: #<GlobalID:0x00007f9523020fc0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "815308d7-a852-49b7-92ff-a94be854e41d", "add"
+[ActiveJob] [Loco::SenderJob] [5f8cf20b-ad42-4cb0-ba8c-8324aff6e5ec] Performed Loco::SenderJob (Job ID: 5f8cf20b-ad42-4cb0-ba8c-8324aff6e5ec) from Async(loco) in 4.0ms
+[ActiveJob] [Loco::UuidJob] [9e768d79-e8f4-495e-81a0-12029f8f9075] Performed Loco::UuidJob (Job ID: 9e768d79-e8f4-495e-81a0-12029f8f9075) from Async(loco) in 0.51ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"815308d7-a852-49b7-92ff-a94be854e41d"}} (via streamed from loco:notification_center:815308d7-a852-49b7-92ff-a94be854e41d)
+[ActiveJob] [Loco::UuidJob] [3bd178a2-f114-4b63-b32b-d7c18b2dc4a5] Performed Loco::UuidJob (Job ID: 3bd178a2-f114-4b63-b32b-d7c18b2dc4a5) from Async(loco) in 0.54ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:27 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 15595101 LIMIT 1[0m
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Room', 1, 'member_joined', '{\"room_id\":1,\"member\":{\"id\":15595101,\"username\":\"jane\"},\"id\":1}', '2018-01-04 15:13:27.956548', '2018-01-04 15:13:27.956548')[0m
+ [1m[35m (8.7ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 1c8a7aee-b104-440e-97e0-f3c625b99200) to Async(loco) with arguments: "815308d7-a852-49b7-92ff-a94be854e41d", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [1c8a7aee-b104-440e-97e0-f3c625b99200] Performing Loco::SenderJob (Job ID: 1c8a7aee-b104-440e-97e0-f3c625b99200) from Async(loco) with arguments: "815308d7-a852-49b7-92ff-a94be854e41d", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [1c8a7aee-b104-440e-97e0-f3c625b99200] [ActionCable] Broadcasting to loco:notification_center:815308d7-a852-49b7-92ff-a94be854e41d: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [1c8a7aee-b104-440e-97e0-f3c625b99200] Performed Loco::SenderJob (Job ID: 1c8a7aee-b104-440e-97e0-f3c625b99200) from Async(loco) in 0.43ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:815308d7-a852-49b7-92ff-a94be854e41d)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A27.952609Z" for 127.0.0.1 at 2018-01-04 16:13:28 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:27.952609Z"}
+ [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (0.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:27.952609') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:27.952609') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:27.952609') AND ((recipient_class = 'Admin' AND recipient_id = 298486374) OR (recipient_class = 'Admin' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 6.1ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A27.952609Z" for 127.0.0.1 at 2018-01-04 16:13:28 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:27.952609Z"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:27.952609') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:27.952609') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:27.952609') AND ((recipient_class = 'Admin' AND recipient_id = 298486374) OR (recipient_class = 'Admin' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 9.1ms)
+ [1m[35m (1.4ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (77.2ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (53.2ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (49.0ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (47.7ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (43.2ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (41.6ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (50.0ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (44.3ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.5ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.4ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$lMWJzDRROBTjq1LIbD2pjuUDZBNrZ9EZMLLK7kd4zynOokz8xCFiy', '2018-01-04 15:13:29.308882', '2018-01-04 15:13:29.308882', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$mNRAdVrXHnMiIFSywq3YAub.PGNHGGk7yaNrMRLmix7RJFrZZLBdO', '2018-01-04 15:13:29.308882', '2018-01-04 15:13:29.308882', 298486374)[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$wvoWLhA9bPs92bnZJ0rCL.hFyvKPiUzSV0XawSW2PBFhkxAOU5p0q', '2017-12-28 15:13:29', '2018-01-04 15:13:29.313797', '2018-01-04 15:13:29.313797', 872278135)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$xhx9e.UV25w3P.ntXeHVnuhHqoqtU6k8bPRL5SD67IwfB5xRwfjgy', '2018-01-04 15:13:29.313797', '2018-01-04 15:13:29.313797', 15595101)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:29', '2018-01-04 15:13:29.320449', '2018-01-04 15:13:29.320449', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:29.320449', '2018-01-04 15:13:29.320449', 298486374, 872278135)[0m
+ [1m[35m (12.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------
+User::RealSnapChatTest: test_should_send_messages
+-------------------------------------------------
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO `rooms` (`name`, `created_at`, `updated_at`) VALUES ('Business', '2018-01-04 15:13:29.341757', '2018-01-04 15:13:29.341757')[0m
+ [1m[35m (12.8ms)[0m [1m[35mCOMMIT[0m
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:13:29 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:29 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: c531de37-940a-4953-96b6-16f073552400) to Async(loco) with arguments: #<GlobalID:0x00007f9521c58560 @uri=#<URI::GID gid://dummy/User/872278135>>, "815308d7-a852-49b7-92ff-a94be854e41d", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: d8a93735-d947-4cab-b1c1-ccab39207647) to Async(loco) with arguments: #<GlobalID:0x00007f9523052430 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "815308d7-a852-49b7-92ff-a94be854e41d", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:815308d7-a852-49b7-92ff-a94be854e41d
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (2.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [d8a93735-d947-4cab-b1c1-ccab39207647] Performing Loco::UuidJob (Job ID: d8a93735-d947-4cab-b1c1-ccab39207647) from Async(loco) with arguments: #<GlobalID:0x00007f951d5371e0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "815308d7-a852-49b7-92ff-a94be854e41d", "del"
+ [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [d8a93735-d947-4cab-b1c1-ccab39207647] Performed Loco::UuidJob (Job ID: d8a93735-d947-4cab-b1c1-ccab39207647) from Async(loco) in 0.35ms
+[ActiveJob] [Loco::UuidJob] [c531de37-940a-4953-96b6-16f073552400] Performing Loco::UuidJob (Job ID: c531de37-940a-4953-96b6-16f073552400) from Async(loco) with arguments: #<GlobalID:0x00007f951d4c2e30 @uri=#<URI::GID gid://dummy/User/872278135>>, "815308d7-a852-49b7-92ff-a94be854e41d", "del"
+[ActiveJob] [Loco::UuidJob] [c531de37-940a-4953-96b6-16f073552400] Performed Loco::UuidJob (Job ID: c531de37-940a-4953-96b6-16f073552400) from Async(loco) in 0.25ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:29 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:29 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:29 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (5.2ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (5.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (5.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (8.2ms)
+ Rendered main/articles/index.json.jbuilder (21.3ms)
+Completed 200 OK in 41ms (Views: 8.5ms | ActiveRecord: 19.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:29 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:29 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (37.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["26533c1c-9e92-4052-8634-8c4319b2a7cd", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$wvoWLhA9bPs92bnZJ0rCL.hFyvKPiUzSV0XawSW2PBF...", created_at: "2018-01-04 15:13:29", updated_at: "2018-01-04 15:13:29", confirmed_at: "2017-12-28 15:13:29">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$mNRAdVrXHnMiIFSywq3YAub.PGNHGGk7yaNrMRLmix7...", created_at: "2018-01-04 15:13:29", updated_at: "2018-01-04 15:13:29">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 99cb3c7f-5189-4f49-ac31-f9f37a02e5c4) to Async(loco) with arguments: "26533c1c-9e92-4052-8634-8c4319b2a7cd", {:loco=>{:uuid=>"26533c1c-9e92-4052-8634-8c4319b2a7cd"}}
+[ActiveJob] [Loco::SenderJob] [99cb3c7f-5189-4f49-ac31-f9f37a02e5c4] Performing Loco::SenderJob (Job ID: 99cb3c7f-5189-4f49-ac31-f9f37a02e5c4) from Async(loco) with arguments: "26533c1c-9e92-4052-8634-8c4319b2a7cd", {:loco=>{:uuid=>"26533c1c-9e92-4052-8634-8c4319b2a7cd"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 577bfc82-c4f3-4688-8fe3-e2661cb7c332) to Async(loco) with arguments: #<GlobalID:0x00007f95215081e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "26533c1c-9e92-4052-8634-8c4319b2a7cd", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:26533c1c-9e92-4052-8634-8c4319b2a7cd
+[ActiveJob] [Loco::SenderJob] [99cb3c7f-5189-4f49-ac31-f9f37a02e5c4] [ActionCable] Broadcasting to loco:notification_center:26533c1c-9e92-4052-8634-8c4319b2a7cd: {:loco=>{:uuid=>"26533c1c-9e92-4052-8634-8c4319b2a7cd"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: df074326-9630-4b3f-8faf-e8426f148ed9) to Async(loco) with arguments: #<GlobalID:0x00007f95214f3b58 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "26533c1c-9e92-4052-8634-8c4319b2a7cd", "add"
+[ActiveJob] [Loco::SenderJob] [99cb3c7f-5189-4f49-ac31-f9f37a02e5c4] Performed Loco::SenderJob (Job ID: 99cb3c7f-5189-4f49-ac31-f9f37a02e5c4) from Async(loco) in 2.09ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"26533c1c-9e92-4052-8634-8c4319b2a7cd"}} (via streamed from loco:notification_center:26533c1c-9e92-4052-8634-8c4319b2a7cd)
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::UuidJob] [df074326-9630-4b3f-8faf-e8426f148ed9] Performing Loco::UuidJob (Job ID: df074326-9630-4b3f-8faf-e8426f148ed9) from Async(loco) with arguments: #<GlobalID:0x00007f95214bae20 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "26533c1c-9e92-4052-8634-8c4319b2a7cd", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::UuidJob] [df074326-9630-4b3f-8faf-e8426f148ed9] Performed Loco::UuidJob (Job ID: df074326-9630-4b3f-8faf-e8426f148ed9) from Async(loco) in 0.65ms
+ [1m[36mUser Load (17.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [577bfc82-c4f3-4688-8fe3-e2661cb7c332] Performing Loco::UuidJob (Job ID: 577bfc82-c4f3-4688-8fe3-e2661cb7c332) from Async(loco) with arguments: #<GlobalID:0x00007f95214a2438 @uri=#<URI::GID gid://dummy/User/872278135>>, "26533c1c-9e92-4052-8634-8c4319b2a7cd", "add"
+[ActiveJob] [Loco::UuidJob] [577bfc82-c4f3-4688-8fe3-e2661cb7c332] Performed Loco::UuidJob (Job ID: 577bfc82-c4f3-4688-8fe3-e2661cb7c332) from Async(loco) in 0.64ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:29 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.6ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.2ms)
+ Rendered layouts/_head.html.erb (2.7ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:29 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 8ms (ActiveRecord: 1.8ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.4ms)
+ Rendered layouts/_head.html.erb (1.9ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 11ms (Views: 5.7ms | ActiveRecord: 1.4ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: b31184b5-dfa3-424c-b9d6-63e039f61006) to Async(loco) with arguments: #<GlobalID:0x00007f95215081e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "26533c1c-9e92-4052-8634-8c4319b2a7cd", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 9fa7d71d-e57d-4173-b68f-46909c48aa21) to Async(loco) with arguments: #<GlobalID:0x00007f95214f3b58 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "26533c1c-9e92-4052-8634-8c4319b2a7cd", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:26533c1c-9e92-4052-8634-8c4319b2a7cd
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (3.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (5.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [9fa7d71d-e57d-4173-b68f-46909c48aa21] Performing Loco::UuidJob (Job ID: 9fa7d71d-e57d-4173-b68f-46909c48aa21) from Async(loco) with arguments: #<GlobalID:0x00007f9521948de8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "26533c1c-9e92-4052-8634-8c4319b2a7cd", "del"
+[ActiveJob] [Loco::UuidJob] [9fa7d71d-e57d-4173-b68f-46909c48aa21] Performed Loco::UuidJob (Job ID: 9fa7d71d-e57d-4173-b68f-46909c48aa21) from Async(loco) in 0.31ms
+[ActiveJob] [Loco::UuidJob] [b31184b5-dfa3-424c-b9d6-63e039f61006] Performing Loco::UuidJob (Job ID: b31184b5-dfa3-424c-b9d6-63e039f61006) from Async(loco) with arguments: #<GlobalID:0x00007f95212daf88 @uri=#<URI::GID gid://dummy/User/872278135>>, "26533c1c-9e92-4052-8634-8c4319b2a7cd", "del"
+[ActiveJob] [Loco::UuidJob] [b31184b5-dfa3-424c-b9d6-63e039f61006] Performed Loco::UuidJob (Job ID: b31184b5-dfa3-424c-b9d6-63e039f61006) from Async(loco) in 0.37ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (10.0ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mUser Load (3.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (3.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[36mAdmin Load (3.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$wvoWLhA9bPs92bnZJ0rCL.hFyvKPiUzSV0XawSW2PBF...", created_at: "2018-01-04 15:13:29", updated_at: "2018-01-04 15:13:29", confirmed_at: "2017-12-28 15:13:29">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$mNRAdVrXHnMiIFSywq3YAub.PGNHGGk7yaNrMRLmix7...", created_at: "2018-01-04 15:13:29", updated_at: "2018-01-04 15:13:29">])
+ [1m[35m (2.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (4.5ms)
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: a5540d32-0ffa-4b79-b29d-da65eb2d5425) to Async(loco) with arguments: "51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", {:loco=>{:uuid=>"51ab38f2-5ce6-4bc2-af25-078e4f7b1bad"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 5191d9fb-dbc0-4eeb-9f7a-be94d75e15cc) to Async(loco) with arguments: #<GlobalID:0x00007f952120b508 @uri=#<URI::GID gid://dummy/User/872278135>>, "51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 868adeb8-0e48-4bab-9bf4-80897ef6f62b) to Async(loco) with arguments: #<GlobalID:0x00007f9521208088 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:51ab38f2-5ce6-4bc2-af25-078e4f7b1bad
+[ActiveJob] [Loco::SenderJob] [a5540d32-0ffa-4b79-b29d-da65eb2d5425] Performing Loco::SenderJob (Job ID: a5540d32-0ffa-4b79-b29d-da65eb2d5425) from Async(loco) with arguments: "51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", {:loco=>{:uuid=>"51ab38f2-5ce6-4bc2-af25-078e4f7b1bad"}}
+[ActiveJob] [Loco::SenderJob] [a5540d32-0ffa-4b79-b29d-da65eb2d5425] [ActionCable] Broadcasting to loco:notification_center:51ab38f2-5ce6-4bc2-af25-078e4f7b1bad: {:loco=>{:uuid=>"51ab38f2-5ce6-4bc2-af25-078e4f7b1bad"}}
+[ActiveJob] [Loco::SenderJob] [a5540d32-0ffa-4b79-b29d-da65eb2d5425] Performed Loco::SenderJob (Job ID: a5540d32-0ffa-4b79-b29d-da65eb2d5425) from Async(loco) in 0.32ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"51ab38f2-5ce6-4bc2-af25-078e4f7b1bad"}} (via streamed from loco:notification_center:51ab38f2-5ce6-4bc2-af25-078e4f7b1bad)
+ [1m[35m (10.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (13.1ms)
+ Rendered user/articles/index.json.jbuilder (23.9ms)
+Completed 200 OK in 46ms (Views: 8.6ms | ActiveRecord: 28.7ms)
+ [1m[36mAdmin Load (3.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [868adeb8-0e48-4bab-9bf4-80897ef6f62b] Performing Loco::UuidJob (Job ID: 868adeb8-0e48-4bab-9bf4-80897ef6f62b) from Async(loco) with arguments: #<GlobalID:0x00007f95211c31b8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", "add"
+[ActiveJob] [Loco::UuidJob] [868adeb8-0e48-4bab-9bf4-80897ef6f62b] Performed Loco::UuidJob (Job ID: 868adeb8-0e48-4bab-9bf4-80897ef6f62b) from Async(loco) in 0.65ms
+ [1m[36mUser Load (12.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [5191d9fb-dbc0-4eeb-9f7a-be94d75e15cc] Performing Loco::UuidJob (Job ID: 5191d9fb-dbc0-4eeb-9f7a-be94d75e15cc) from Async(loco) with arguments: #<GlobalID:0x00007f95211b81f0 @uri=#<URI::GID gid://dummy/User/872278135>>, "51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", "add"
+[ActiveJob] [Loco::UuidJob] [5191d9fb-dbc0-4eeb-9f7a-be94d75e15cc] Performed Loco::UuidJob (Job ID: 5191d9fb-dbc0-4eeb-9f7a-be94d75e15cc) from Async(loco) in 0.81ms
+Started GET "/user/rooms" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by User::RoomsController#index as HTML
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mRoom Load (4.0ms)[0m [1m[34mSELECT `rooms`.* FROM `rooms` LIMIT 10 OFFSET 0[0m
+ Rendering user/rooms/index.html.erb within layouts/user
+ Rendered user/rooms/index.html.erb within layouts/user (1.1ms)
+ Rendered layouts/_head.html.erb (1.7ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 17ms (Views: 5.6ms | ActiveRecord: 6.8ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started PATCH "/user/rooms/1/join" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by User::RoomsController#join as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mRoom Load (3.7ms)[0m [1m[34mSELECT `rooms`.* FROM `rooms` WHERE `rooms`.`id` = 1 LIMIT 1[0m
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Room', 1, 'member_joined', '{\"room_id\":1,\"member\":{\"id\":872278135,\"username\":\"zbig\"},\"id\":1}', '2018-01-04 15:13:30.623804', '2018-01-04 15:13:30.623804')[0m
+ [1m[35m (11.2ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [83849252-0db8-453f-a094-76dd7acfa97e] Performing Loco::SenderJob (Job ID: 83849252-0db8-453f-a094-76dd7acfa97e) from Async(loco) with arguments: "51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [83849252-0db8-453f-a094-76dd7acfa97e] [ActionCable] Broadcasting to loco:notification_center:51ab38f2-5ce6-4bc2-af25-078e4f7b1bad: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 83849252-0db8-453f-a094-76dd7acfa97e) to Async(loco) with arguments: "51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [83849252-0db8-453f-a094-76dd7acfa97e] Performed Loco::SenderJob (Job ID: 83849252-0db8-453f-a094-76dd7acfa97e) from Async(loco) in 0.41ms
+Redirected to http://127.0.0.1:59678/user/rooms/1
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:51ab38f2-5ce6-4bc2-af25-078e4f7b1bad)
+Completed 302 Found in 31ms (ActiveRecord: 19.0ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A30.506209Z&uuid=51ab38f2-5ce6-4bc2-af25-078e4f7b1bad" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:30.506209Z", "uuid"=>"51ab38f2-5ce6-4bc2-af25-078e4f7b1bad"}
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+Started GET "/user/rooms/1" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by User::RoomsController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mLoco::Notification Load (2.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:30.506209') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (3.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:30.506209') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mUser Load (3.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:30.506209') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 23ms (Views: 0.4ms | ActiveRecord: 12.2ms)
+ [1m[36mRoom Load (2.6ms)[0m [1m[34mSELECT `rooms`.* FROM `rooms` WHERE `rooms`.`id` = 1 LIMIT 1[0m
+ Rendering user/rooms/show.html.erb within layouts/user
+ Rendered user/rooms/show.html.erb within layouts/user (0.6ms)
+ Rendered layouts/_head.html.erb (1.9ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 18ms (Views: 5.3ms | ActiveRecord: 6.1ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: dd0a82ce-0c6c-40a1-826d-d536cb7bb92b) to Async(loco) with arguments: #<GlobalID:0x00007f952120b508 @uri=#<URI::GID gid://dummy/User/872278135>>, "51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 966d5196-91a1-4e09-aa24-9df7754926b8) to Async(loco) with arguments: #<GlobalID:0x00007f9521208088 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:51ab38f2-5ce6-4bc2-af25-078e4f7b1bad
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [966d5196-91a1-4e09-aa24-9df7754926b8] Performing Loco::UuidJob (Job ID: 966d5196-91a1-4e09-aa24-9df7754926b8) from Async(loco) with arguments: #<GlobalID:0x00007f951cb77268 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", "del"
+[ActiveJob] [Loco::UuidJob] [966d5196-91a1-4e09-aa24-9df7754926b8] Performed Loco::UuidJob (Job ID: 966d5196-91a1-4e09-aa24-9df7754926b8) from Async(loco) in 0.33ms
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [dd0a82ce-0c6c-40a1-826d-d536cb7bb92b] Performing Loco::UuidJob (Job ID: dd0a82ce-0c6c-40a1-826d-d536cb7bb92b) from Async(loco) with arguments: #<GlobalID:0x00007f951cb5c378 @uri=#<URI::GID gid://dummy/User/872278135>>, "51ab38f2-5ce6-4bc2-af25-078e4f7b1bad", "del"
+[ActiveJob] [Loco::UuidJob] [dd0a82ce-0c6c-40a1-826d-d536cb7bb92b] Performed Loco::UuidJob (Job ID: dd0a82ce-0c6c-40a1-826d-d536cb7bb92b) from Async(loco) in 0.33ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Started GET "/user/rooms/1/members?page=1" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Processing by User::MembersController#index as JSON
+ Parameters: {"page"=>"1", "room_id"=>"1", "member"=>{}}
+Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+ [1m[36mRoom Load (7.4ms)[0m [1m[34mSELECT `rooms`.* FROM `rooms` WHERE `rooms`.`id` = 1 LIMIT 1[0m
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (3.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/members/index.json.jbuilder
+ Rendered user/members/index.json.jbuilder (0.3ms)
+Completed 200 OK in 19ms (Views: 1.4ms | ActiveRecord: 10.9ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (12.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["00bfbdc8-2387-4912-834c-392a256c0fe1", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$wvoWLhA9bPs92bnZJ0rCL.hFyvKPiUzSV0XawSW2PBF...", created_at: "2018-01-04 15:13:29", updated_at: "2018-01-04 15:13:29", confirmed_at: "2017-12-28 15:13:29">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$mNRAdVrXHnMiIFSywq3YAub.PGNHGGk7yaNrMRLmix7...", created_at: "2018-01-04 15:13:29", updated_at: "2018-01-04 15:13:29">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 6c1312c1-e97a-400e-8c4d-4d6f3a03f2ac) to Async(loco) with arguments: "00bfbdc8-2387-4912-834c-392a256c0fe1", {:loco=>{:uuid=>"00bfbdc8-2387-4912-834c-392a256c0fe1"}}
+[ActiveJob] [Loco::SenderJob] [6c1312c1-e97a-400e-8c4d-4d6f3a03f2ac] Performing Loco::SenderJob (Job ID: 6c1312c1-e97a-400e-8c4d-4d6f3a03f2ac) from Async(loco) with arguments: "00bfbdc8-2387-4912-834c-392a256c0fe1", {:loco=>{:uuid=>"00bfbdc8-2387-4912-834c-392a256c0fe1"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: c19ee978-8dfd-46b2-a5f2-218a6a6315a0) to Async(loco) with arguments: #<GlobalID:0x00007f951bfbd210 @uri=#<URI::GID gid://dummy/User/872278135>>, "00bfbdc8-2387-4912-834c-392a256c0fe1", "add"
+[ActiveJob] [Loco::SenderJob] [6c1312c1-e97a-400e-8c4d-4d6f3a03f2ac] [ActionCable] Broadcasting to loco:notification_center:00bfbdc8-2387-4912-834c-392a256c0fe1: {:loco=>{:uuid=>"00bfbdc8-2387-4912-834c-392a256c0fe1"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:00bfbdc8-2387-4912-834c-392a256c0fe1
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: dce0983b-131d-41b6-ab26-9a0bb98b4c68) to Async(loco) with arguments: #<GlobalID:0x00007f952101a780 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "00bfbdc8-2387-4912-834c-392a256c0fe1", "add"
+[ActiveJob] [Loco::SenderJob] [6c1312c1-e97a-400e-8c4d-4d6f3a03f2ac] Performed Loco::SenderJob (Job ID: 6c1312c1-e97a-400e-8c4d-4d6f3a03f2ac) from Async(loco) in 3.71ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"00bfbdc8-2387-4912-834c-392a256c0fe1"}} (via streamed from loco:notification_center:00bfbdc8-2387-4912-834c-392a256c0fe1)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::UuidJob] [c19ee978-8dfd-46b2-a5f2-218a6a6315a0] Performing Loco::UuidJob (Job ID: c19ee978-8dfd-46b2-a5f2-218a6a6315a0) from Async(loco) with arguments: #<GlobalID:0x00007f951bf8d858 @uri=#<URI::GID gid://dummy/User/872278135>>, "00bfbdc8-2387-4912-834c-392a256c0fe1", "add"
+[ActiveJob] [Loco::UuidJob] [c19ee978-8dfd-46b2-a5f2-218a6a6315a0] Performed Loco::UuidJob (Job ID: c19ee978-8dfd-46b2-a5f2-218a6a6315a0) from Async(loco) in 0.91ms
+ [1m[36mAdmin Load (4.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [dce0983b-131d-41b6-ab26-9a0bb98b4c68] Performing Loco::UuidJob (Job ID: dce0983b-131d-41b6-ab26-9a0bb98b4c68) from Async(loco) with arguments: #<GlobalID:0x00007f951d3a6e70 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "00bfbdc8-2387-4912-834c-392a256c0fe1", "add"
+[ActiveJob] [Loco::UuidJob] [dce0983b-131d-41b6-ab26-9a0bb98b4c68] Performed Loco::UuidJob (Job ID: dce0983b-131d-41b6-ab26-9a0bb98b4c68) from Async(loco) in 0.71ms
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 15595101 LIMIT 1[0m
+ [1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Room', 1, 'member_joined', '{\"room_id\":1,\"member\":{\"id\":15595101,\"username\":\"jane\"},\"id\":1}', '2018-01-04 15:13:30.898595', '2018-01-04 15:13:30.898595')[0m
+ [1m[35m (11.1ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: e5c9f3ba-a40d-4a42-82e1-e7a53c9831a7) to Async(loco) with arguments: "00bfbdc8-2387-4912-834c-392a256c0fe1", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [e5c9f3ba-a40d-4a42-82e1-e7a53c9831a7] Performing Loco::SenderJob (Job ID: e5c9f3ba-a40d-4a42-82e1-e7a53c9831a7) from Async(loco) with arguments: "00bfbdc8-2387-4912-834c-392a256c0fe1", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [e5c9f3ba-a40d-4a42-82e1-e7a53c9831a7] [ActionCable] Broadcasting to loco:notification_center:00bfbdc8-2387-4912-834c-392a256c0fe1: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [e5c9f3ba-a40d-4a42-82e1-e7a53c9831a7] Performed Loco::SenderJob (Job ID: e5c9f3ba-a40d-4a42-82e1-e7a53c9831a7) from Async(loco) in 0.49ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:00bfbdc8-2387-4912-834c-392a256c0fe1)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A30.756222Z&uuid=00bfbdc8-2387-4912-834c-392a256c0fe1" for 127.0.0.1 at 2018-01-04 16:13:30 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:30.756222Z", "uuid"=>"00bfbdc8-2387-4912-834c-392a256c0fe1"}
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:30.756222') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:30.756222') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:30.756222') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 30ms (Views: 0.4ms | ActiveRecord: 11.1ms)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel#receive({"signal"=>"message", "txt"=>"Hello Jane!", "room_id"=>1})
+[AC] [-] [872278135] [298486374] [ActionCable] Broadcasting to loco:notification_center:00bfbdc8-2387-4912-834c-392a256c0fe1: {:signal=>"message", :message=>"Hello Jane!", :author=>"zbig"}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"signal"=>"message", "message"=>"Hello Jane!", "author"=>"zbig"} (via streamed from loco:notification_center:00bfbdc8-2387-4912-834c-392a256c0fe1)
+[ActionCable] Broadcasting to loco:notification_center:00bfbdc8-2387-4912-834c-392a256c0fe1: {:signal=>"message", :message=>"Hi zbig!", :author=>"jane"}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"signal"=>"message", "message"=>"Hi zbig!", "author"=>"jane"} (via streamed from loco:notification_center:00bfbdc8-2387-4912-834c-392a256c0fe1)
+ [1m[35m (1.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (57.6ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (40.4ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (53.5ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (34.4ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (49.1ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (43.9ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (54.9ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (45.4ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.4ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.5ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$Y3xqPtO.zwB.vTd8/NMo2OyW4jOvjWGIpyIHJvCSq/zylq1rHHRFe', '2018-01-04 15:13:31.686832', '2018-01-04 15:13:31.686832', 980190962)[0m
+ [1m[36mFixture Insert (5.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$A8yZrS2A3FtkiLLx8RwZCub8KrWhFsrCpanTVY5Jsdn.HMq8wN72W', '2018-01-04 15:13:31.686832', '2018-01-04 15:13:31.686832', 298486374)[0m
+ [1m[36mFixture Delete (1.5ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$.8rkZ7yNg53UX6FCZ7kqO.rbTzB2/gh7eh.l1x06j1rsTrrBMFKO2', '2017-12-28 15:13:31', '2018-01-04 15:13:31.699804', '2018-01-04 15:13:31.699804', 872278135)[0m
+ [1m[36mFixture Insert (1.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$mlm62Kue6tYIpwgaZLz1m.QwnDtfelhTugwfUDxisMc5puseSVpMi', '2018-01-04 15:13:31.699804', '2018-01-04 15:13:31.699804', 15595101)[0m
+ [1m[36mFixture Delete (1.7ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (2.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:31', '2018-01-04 15:13:31.709500', '2018-01-04 15:13:31.709500', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (2.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:31.709500', '2018-01-04 15:13:31.709500', 298486374, 872278135)[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A30.956770Z&uuid=00bfbdc8-2387-4912-834c-392a256c0fe1" for 127.0.0.1 at 2018-01-04 16:13:31 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:30.956770Z", "uuid"=>"00bfbdc8-2387-4912-834c-392a256c0fe1"}
+ [1m[35m (24.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------------
+User::RealSnapChatTest: test_should_show_room's_members
+-------------------------------------------------------
+ [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (3.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mAdmin Load (2.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35mSQL (2.4ms)[0m [1m[32mINSERT INTO `rooms` (`name`, `created_at`, `updated_at`) VALUES ('Business', '2018-01-04 15:13:31.750908', '2018-01-04 15:13:31.750908')[0m
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:30.956770') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (4.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:30.956770') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (4.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:30.956770') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 29ms (Views: 0.3ms | ActiveRecord: 16.4ms)
+ [1m[35m (27.5ms)[0m [1m[35mCOMMIT[0m
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:13:31 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.4ms)
+ Rendered layouts/_head.html.erb (16.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 20ms (Views: 19.2ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:31 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 2e78f532-6a00-4524-8235-64972684e05d) to Async(loco) with arguments: #<GlobalID:0x00007f951bfbd210 @uri=#<URI::GID gid://dummy/User/872278135>>, "00bfbdc8-2387-4912-834c-392a256c0fe1", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 71aa41fd-55eb-4803-89e9-c69f9316850b) to Async(loco) with arguments: #<GlobalID:0x00007f952101a780 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "00bfbdc8-2387-4912-834c-392a256c0fe1", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:00bfbdc8-2387-4912-834c-392a256c0fe1
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (19.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [2e78f532-6a00-4524-8235-64972684e05d] Performing Loco::UuidJob (Job ID: 2e78f532-6a00-4524-8235-64972684e05d) from Async(loco) with arguments: #<GlobalID:0x00007f9521ce8818 @uri=#<URI::GID gid://dummy/User/872278135>>, "00bfbdc8-2387-4912-834c-392a256c0fe1", "del"
+[ActiveJob] [Loco::UuidJob] [2e78f532-6a00-4524-8235-64972684e05d] Performed Loco::UuidJob (Job ID: 2e78f532-6a00-4524-8235-64972684e05d) from Async(loco) in 0.37ms
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:31 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mAdmin Load (22.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [71aa41fd-55eb-4803-89e9-c69f9316850b] Performing Loco::UuidJob (Job ID: 71aa41fd-55eb-4803-89e9-c69f9316850b) from Async(loco) with arguments: #<GlobalID:0x00007f9523477f38 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "00bfbdc8-2387-4912-834c-392a256c0fe1", "del"
+[ActiveJob] [Loco::UuidJob] [71aa41fd-55eb-4803-89e9-c69f9316850b] Performed Loco::UuidJob (Job ID: 71aa41fd-55eb-4803-89e9-c69f9316850b) from Async(loco) in 0.3ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:31 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:31 +0100
+ [1m[35m (5.9ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms)
+ [1m[36mArticle Load (7.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (3.6ms)
+ Rendered main/articles/index.json.jbuilder (16.5ms)
+Completed 200 OK in 35ms (Views: 6.5ms | ActiveRecord: 16.9ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:31 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:31 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (3.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["d2ffcb65-b555-402a-9115-21e62168321b", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$.8rkZ7yNg53UX6FCZ7kqO.rbTzB2/gh7eh.l1x06j1r...", created_at: "2018-01-04 15:13:31", updated_at: "2018-01-04 15:13:31", confirmed_at: "2017-12-28 15:13:31">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$A8yZrS2A3FtkiLLx8RwZCub8KrWhFsrCpanTVY5Jsdn...", created_at: "2018-01-04 15:13:31", updated_at: "2018-01-04 15:13:31">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: a4e7420f-87c3-438a-b3d7-9dce20afe75f) to Async(loco) with arguments: "d2ffcb65-b555-402a-9115-21e62168321b", {:loco=>{:uuid=>"d2ffcb65-b555-402a-9115-21e62168321b"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 2e132cc0-a9a7-4ed6-b7c4-3b19534e9199) to Async(loco) with arguments: #<GlobalID:0x00007f95240acb50 @uri=#<URI::GID gid://dummy/User/872278135>>, "d2ffcb65-b555-402a-9115-21e62168321b", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 38041eb1-83bd-4d4f-8367-1465e8e70a31) to Async(loco) with arguments: #<GlobalID:0x00007f952409ab08 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d2ffcb65-b555-402a-9115-21e62168321b", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:d2ffcb65-b555-402a-9115-21e62168321b
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [a4e7420f-87c3-438a-b3d7-9dce20afe75f] Performing Loco::SenderJob (Job ID: a4e7420f-87c3-438a-b3d7-9dce20afe75f) from Async(loco) with arguments: "d2ffcb65-b555-402a-9115-21e62168321b", {:loco=>{:uuid=>"d2ffcb65-b555-402a-9115-21e62168321b"}}
+[ActiveJob] [Loco::SenderJob] [a4e7420f-87c3-438a-b3d7-9dce20afe75f] [ActionCable] Broadcasting to loco:notification_center:d2ffcb65-b555-402a-9115-21e62168321b: {:loco=>{:uuid=>"d2ffcb65-b555-402a-9115-21e62168321b"}}
+[ActiveJob] [Loco::SenderJob] [a4e7420f-87c3-438a-b3d7-9dce20afe75f] Performed Loco::SenderJob (Job ID: a4e7420f-87c3-438a-b3d7-9dce20afe75f) from Async(loco) in 0.24ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"d2ffcb65-b555-402a-9115-21e62168321b"}} (via streamed from loco:notification_center:d2ffcb65-b555-402a-9115-21e62168321b)
+ [1m[36mUser Load (7.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [2e132cc0-a9a7-4ed6-b7c4-3b19534e9199] Performing Loco::UuidJob (Job ID: 2e132cc0-a9a7-4ed6-b7c4-3b19534e9199) from Async(loco) with arguments: #<GlobalID:0x00007f9523405280 @uri=#<URI::GID gid://dummy/User/872278135>>, "d2ffcb65-b555-402a-9115-21e62168321b", "add"
+[ActiveJob] [Loco::UuidJob] [2e132cc0-a9a7-4ed6-b7c4-3b19534e9199] Performed Loco::UuidJob (Job ID: 2e132cc0-a9a7-4ed6-b7c4-3b19534e9199) from Async(loco) in 0.57ms
+ [1m[36mAdmin Load (9.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [38041eb1-83bd-4d4f-8367-1465e8e70a31] Performing Loco::UuidJob (Job ID: 38041eb1-83bd-4d4f-8367-1465e8e70a31) from Async(loco) with arguments: #<GlobalID:0x00007f9524803818 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d2ffcb65-b555-402a-9115-21e62168321b", "add"
+[ActiveJob] [Loco::UuidJob] [38041eb1-83bd-4d4f-8367-1465e8e70a31] Performed Loco::UuidJob (Job ID: 38041eb1-83bd-4d4f-8367-1465e8e70a31) from Async(loco) in 0.7ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:32 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (3.0ms)
+ Rendered user/sessions/new.html.erb within layouts/application (3.5ms)
+ Rendered layouts/_head.html.erb (1.9ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:32 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:13:32 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:13:32 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (1.4ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 4.5ms | ActiveRecord: 1.1ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:32 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: d6de0bce-dcef-4943-8e75-956860156da9) to Async(loco) with arguments: #<GlobalID:0x00007f95240acb50 @uri=#<URI::GID gid://dummy/User/872278135>>, "d2ffcb65-b555-402a-9115-21e62168321b", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 5624a95c-ef98-4a0f-a2d9-b0c3dcd65f11) to Async(loco) with arguments: #<GlobalID:0x00007f952409ab08 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d2ffcb65-b555-402a-9115-21e62168321b", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:d2ffcb65-b555-402a-9115-21e62168321b
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [d6de0bce-dcef-4943-8e75-956860156da9] Performing Loco::UuidJob (Job ID: d6de0bce-dcef-4943-8e75-956860156da9) from Async(loco) with arguments: #<GlobalID:0x00007f951ce522a8 @uri=#<URI::GID gid://dummy/User/872278135>>, "d2ffcb65-b555-402a-9115-21e62168321b", "del"
+[ActiveJob] [Loco::UuidJob] [d6de0bce-dcef-4943-8e75-956860156da9] Performed Loco::UuidJob (Job ID: d6de0bce-dcef-4943-8e75-956860156da9) from Async(loco) in 0.37ms
+ [1m[36mAdmin Load (2.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [5624a95c-ef98-4a0f-a2d9-b0c3dcd65f11] Performing Loco::UuidJob (Job ID: 5624a95c-ef98-4a0f-a2d9-b0c3dcd65f11) from Async(loco) with arguments: #<GlobalID:0x00007f951d6f3768 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d2ffcb65-b555-402a-9115-21e62168321b", "del"
+[ActiveJob] [Loco::UuidJob] [5624a95c-ef98-4a0f-a2d9-b0c3dcd65f11] Performed Loco::UuidJob (Job ID: 5624a95c-ef98-4a0f-a2d9-b0c3dcd65f11) from Async(loco) in 0.23ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:32 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:32 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:32 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (2.9ms)
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.5ms)
+ Rendered user/articles/index.json.jbuilder (10.4ms)
+Completed 200 OK in 18ms (Views: 7.2ms | ActiveRecord: 6.2ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:32 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:32 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["b8badcfd-bda8-4e9b-adbb-310b417bbaf2", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$.8rkZ7yNg53UX6FCZ7kqO.rbTzB2/gh7eh.l1x06j1r...", created_at: "2018-01-04 15:13:31", updated_at: "2018-01-04 15:13:31", confirmed_at: "2017-12-28 15:13:31">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$A8yZrS2A3FtkiLLx8RwZCub8KrWhFsrCpanTVY5Jsdn...", created_at: "2018-01-04 15:13:31", updated_at: "2018-01-04 15:13:31">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 0fc335f0-420a-49bf-9aaf-95fcfe1a6e71) to Async(loco) with arguments: "b8badcfd-bda8-4e9b-adbb-310b417bbaf2", {:loco=>{:uuid=>"b8badcfd-bda8-4e9b-adbb-310b417bbaf2"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:b8badcfd-bda8-4e9b-adbb-310b417bbaf2
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 5c88216d-887a-4956-bd2b-143c50e36158) to Async(loco) with arguments: #<GlobalID:0x00007f9521d02ba0 @uri=#<URI::GID gid://dummy/User/872278135>>, "b8badcfd-bda8-4e9b-adbb-310b417bbaf2", "add"
+[ActiveJob] [Loco::SenderJob] [0fc335f0-420a-49bf-9aaf-95fcfe1a6e71] Performing Loco::SenderJob (Job ID: 0fc335f0-420a-49bf-9aaf-95fcfe1a6e71) from Async(loco) with arguments: "b8badcfd-bda8-4e9b-adbb-310b417bbaf2", {:loco=>{:uuid=>"b8badcfd-bda8-4e9b-adbb-310b417bbaf2"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: b7b41e3b-2e76-401a-acb0-15678f9d6769) to Async(loco) with arguments: #<GlobalID:0x00007f95215ff8f8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "b8badcfd-bda8-4e9b-adbb-310b417bbaf2", "add"
+[ActiveJob] [Loco::SenderJob] [0fc335f0-420a-49bf-9aaf-95fcfe1a6e71] [ActionCable] Broadcasting to loco:notification_center:b8badcfd-bda8-4e9b-adbb-310b417bbaf2: {:loco=>{:uuid=>"b8badcfd-bda8-4e9b-adbb-310b417bbaf2"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [0fc335f0-420a-49bf-9aaf-95fcfe1a6e71] Performed Loco::SenderJob (Job ID: 0fc335f0-420a-49bf-9aaf-95fcfe1a6e71) from Async(loco) in 2.09ms
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [5c88216d-887a-4956-bd2b-143c50e36158] Performing Loco::UuidJob (Job ID: 5c88216d-887a-4956-bd2b-143c50e36158) from Async(loco) with arguments: #<GlobalID:0x00007f95230c6e48 @uri=#<URI::GID gid://dummy/User/872278135>>, "b8badcfd-bda8-4e9b-adbb-310b417bbaf2", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"b8badcfd-bda8-4e9b-adbb-310b417bbaf2"}} (via streamed from loco:notification_center:b8badcfd-bda8-4e9b-adbb-310b417bbaf2)
+[ActiveJob] [Loco::UuidJob] [5c88216d-887a-4956-bd2b-143c50e36158] Performed Loco::UuidJob (Job ID: 5c88216d-887a-4956-bd2b-143c50e36158) from Async(loco) in 0.62ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (2.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [b7b41e3b-2e76-401a-acb0-15678f9d6769] Performing Loco::UuidJob (Job ID: b7b41e3b-2e76-401a-acb0-15678f9d6769) from Async(loco) with arguments: #<GlobalID:0x00007f95230bc5d8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "b8badcfd-bda8-4e9b-adbb-310b417bbaf2", "add"
+[ActiveJob] [Loco::UuidJob] [b7b41e3b-2e76-401a-acb0-15678f9d6769] Performed Loco::UuidJob (Job ID: b7b41e3b-2e76-401a-acb0-15678f9d6769) from Async(loco) in 0.56ms
+Started GET "/user/rooms" for 127.0.0.1 at 2018-01-04 16:13:32 +0100
+Processing by User::RoomsController#index as HTML
+ [1m[36mUser Load (4.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mRoom Load (3.0ms)[0m [1m[34mSELECT `rooms`.* FROM `rooms` LIMIT 10 OFFSET 0[0m
+ Rendering user/rooms/index.html.erb within layouts/user
+ Rendered user/rooms/index.html.erb within layouts/user (0.9ms)
+ Rendered layouts/_head.html.erb (1.4ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 33ms (Views: 14.0ms | ActiveRecord: 7.6ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:32 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started PATCH "/user/rooms/1/join" for 127.0.0.1 at 2018-01-04 16:13:33 +0100
+Processing by User::RoomsController#join as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mRoom Load (1.5ms)[0m [1m[34mSELECT `rooms`.* FROM `rooms` WHERE `rooms`.`id` = 1 LIMIT 1[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Room', 1, 'member_joined', '{\"room_id\":1,\"member\":{\"id\":872278135,\"username\":\"zbig\"},\"id\":1}', '2018-01-04 15:13:33.105076', '2018-01-04 15:13:33.105076')[0m
+ [1m[35m (8.9ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 4ba6a6cd-0d4c-4730-8b44-05b6d2f8bb9f) to Async(loco) with arguments: "b8badcfd-bda8-4e9b-adbb-310b417bbaf2", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [4ba6a6cd-0d4c-4730-8b44-05b6d2f8bb9f] Performing Loco::SenderJob (Job ID: 4ba6a6cd-0d4c-4730-8b44-05b6d2f8bb9f) from Async(loco) with arguments: "b8badcfd-bda8-4e9b-adbb-310b417bbaf2", {:loco=>{:xhr_notifications=>true}}
+Redirected to http://127.0.0.1:59678/user/rooms/1
+[ActiveJob] [Loco::SenderJob] [4ba6a6cd-0d4c-4730-8b44-05b6d2f8bb9f] [ActionCable] Broadcasting to loco:notification_center:b8badcfd-bda8-4e9b-adbb-310b417bbaf2: {:loco=>{:xhr_notifications=>true}}
+Completed 302 Found in 23ms (ActiveRecord: 13.3ms)
+[ActiveJob] [Loco::SenderJob] [4ba6a6cd-0d4c-4730-8b44-05b6d2f8bb9f] Performed Loco::SenderJob (Job ID: 4ba6a6cd-0d4c-4730-8b44-05b6d2f8bb9f) from Async(loco) in 0.48ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:b8badcfd-bda8-4e9b-adbb-310b417bbaf2)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A32.979343Z&uuid=b8badcfd-bda8-4e9b-adbb-310b417bbaf2" for 127.0.0.1 at 2018-01-04 16:13:33 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:32.979343Z", "uuid"=>"b8badcfd-bda8-4e9b-adbb-310b417bbaf2"}
+Started GET "/user/rooms/1" for 127.0.0.1 at 2018-01-04 16:13:33 +0100
+Processing by User::RoomsController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (0.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:32.979343') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mRoom Load (1.7ms)[0m [1m[34mSELECT `rooms`.* FROM `rooms` WHERE `rooms`.`id` = 1 LIMIT 1[0m
+ Rendering user/rooms/show.html.erb within layouts/user
+ Rendered user/rooms/show.html.erb within layouts/user (0.4ms)
+ Rendered layouts/_head.html.erb (1.2ms)
+ [1m[36mLoco::Notification Load (3.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:32.979343') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 12ms (Views: 4.8ms | ActiveRecord: 4.2ms)
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:32.979343') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 7.7ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:33 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 0eff7709-597c-4c62-a122-fcd81a35ec73) to Async(loco) with arguments: #<GlobalID:0x00007f9521d02ba0 @uri=#<URI::GID gid://dummy/User/872278135>>, "b8badcfd-bda8-4e9b-adbb-310b417bbaf2", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: f59acb91-c0db-4881-8f30-9c9de357f391) to Async(loco) with arguments: #<GlobalID:0x00007f95215ff8f8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "b8badcfd-bda8-4e9b-adbb-310b417bbaf2", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:b8badcfd-bda8-4e9b-adbb-310b417bbaf2
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [0eff7709-597c-4c62-a122-fcd81a35ec73] Performing Loco::UuidJob (Job ID: 0eff7709-597c-4c62-a122-fcd81a35ec73) from Async(loco) with arguments: #<GlobalID:0x00007f9521bcad00 @uri=#<URI::GID gid://dummy/User/872278135>>, "b8badcfd-bda8-4e9b-adbb-310b417bbaf2", "del"
+[ActiveJob] [Loco::UuidJob] [0eff7709-597c-4c62-a122-fcd81a35ec73] Performed Loco::UuidJob (Job ID: 0eff7709-597c-4c62-a122-fcd81a35ec73) from Async(loco) in 0.25ms
+ [1m[36mAdmin Load (2.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f59acb91-c0db-4881-8f30-9c9de357f391] Performing Loco::UuidJob (Job ID: f59acb91-c0db-4881-8f30-9c9de357f391) from Async(loco) with arguments: #<GlobalID:0x00007f95217e5b18 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "b8badcfd-bda8-4e9b-adbb-310b417bbaf2", "del"
+[ActiveJob] [Loco::UuidJob] [f59acb91-c0db-4881-8f30-9c9de357f391] Performed Loco::UuidJob (Job ID: f59acb91-c0db-4881-8f30-9c9de357f391) from Async(loco) in 0.25ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:33 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/user/rooms/1/members?page=1" for 127.0.0.1 at 2018-01-04 16:13:33 +0100
+Processing by User::MembersController#index as JSON
+ Parameters: {"page"=>"1", "room_id"=>"1", "member"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:33 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:33 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:33 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mRoom Load (2.8ms)[0m [1m[34mSELECT `rooms`.* FROM `rooms` WHERE `rooms`.`id` = 1 LIMIT 1[0m
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/members/index.json.jbuilder
+ Rendered user/members/index.json.jbuilder (0.4ms)
+ [1m[36mAdmin Load (1.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 3.9ms)
+[AC] [-] [872278135] [298486374] Registered connection (["38f4c988-99c0-4fac-a837-f2b95f817e01", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$.8rkZ7yNg53UX6FCZ7kqO.rbTzB2/gh7eh.l1x06j1r...", created_at: "2018-01-04 15:13:31", updated_at: "2018-01-04 15:13:31", confirmed_at: "2017-12-28 15:13:31">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$A8yZrS2A3FtkiLLx8RwZCub8KrWhFsrCpanTVY5Jsdn...", created_at: "2018-01-04 15:13:31", updated_at: "2018-01-04 15:13:31">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: fb3c5d6c-9227-4a34-90f2-862e2d12e3b0) to Async(loco) with arguments: "38f4c988-99c0-4fac-a837-f2b95f817e01", {:loco=>{:uuid=>"38f4c988-99c0-4fac-a837-f2b95f817e01"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 719536fb-8466-46a7-b435-0ee6200bbe4a) to Async(loco) with arguments: #<GlobalID:0x00007f9521b7f940 @uri=#<URI::GID gid://dummy/User/872278135>>, "38f4c988-99c0-4fac-a837-f2b95f817e01", "add"
+[ActiveJob] [Loco::SenderJob] [fb3c5d6c-9227-4a34-90f2-862e2d12e3b0] Performing Loco::SenderJob (Job ID: fb3c5d6c-9227-4a34-90f2-862e2d12e3b0) from Async(loco) with arguments: "38f4c988-99c0-4fac-a837-f2b95f817e01", {:loco=>{:uuid=>"38f4c988-99c0-4fac-a837-f2b95f817e01"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 16e817b0-1e7e-471f-88a3-71e777c00a8c) to Async(loco) with arguments: #<GlobalID:0x00007f951d61be80 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "38f4c988-99c0-4fac-a837-f2b95f817e01", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:38f4c988-99c0-4fac-a837-f2b95f817e01
+[ActiveJob] [Loco::SenderJob] [fb3c5d6c-9227-4a34-90f2-862e2d12e3b0] [ActionCable] Broadcasting to loco:notification_center:38f4c988-99c0-4fac-a837-f2b95f817e01: {:loco=>{:uuid=>"38f4c988-99c0-4fac-a837-f2b95f817e01"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::SenderJob] [fb3c5d6c-9227-4a34-90f2-862e2d12e3b0] Performed Loco::SenderJob (Job ID: fb3c5d6c-9227-4a34-90f2-862e2d12e3b0) from Async(loco) in 2.81ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"38f4c988-99c0-4fac-a837-f2b95f817e01"}} (via streamed from loco:notification_center:38f4c988-99c0-4fac-a837-f2b95f817e01)
+ [1m[36mUser Load (4.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (3.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [719536fb-8466-46a7-b435-0ee6200bbe4a] Performing Loco::UuidJob (Job ID: 719536fb-8466-46a7-b435-0ee6200bbe4a) from Async(loco) with arguments: #<GlobalID:0x00007f9521b64b90 @uri=#<URI::GID gid://dummy/User/872278135>>, "38f4c988-99c0-4fac-a837-f2b95f817e01", "add"
+[ActiveJob] [Loco::UuidJob] [16e817b0-1e7e-471f-88a3-71e777c00a8c] Performing Loco::UuidJob (Job ID: 16e817b0-1e7e-471f-88a3-71e777c00a8c) from Async(loco) with arguments: #<GlobalID:0x00007f951d60de98 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "38f4c988-99c0-4fac-a837-f2b95f817e01", "add"
+[ActiveJob] [Loco::UuidJob] [719536fb-8466-46a7-b435-0ee6200bbe4a] Performed Loco::UuidJob (Job ID: 719536fb-8466-46a7-b435-0ee6200bbe4a) from Async(loco) in 0.76ms
+[ActiveJob] [Loco::UuidJob] [16e817b0-1e7e-471f-88a3-71e777c00a8c] Performed Loco::UuidJob (Job ID: 16e817b0-1e7e-471f-88a3-71e777c00a8c) from Async(loco) in 0.49ms
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 15595101 LIMIT 1[0m
+ [1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (3.4ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Room', 1, 'member_joined', '{\"room_id\":1,\"member\":{\"id\":15595101,\"username\":\"jane\"},\"id\":1}', '2018-01-04 15:13:33.336546', '2018-01-04 15:13:33.336546')[0m
+ [1m[35m (34.1ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [ce46a259-45dc-4f3c-861c-2f253d2dd9e7] Performing Loco::SenderJob (Job ID: ce46a259-45dc-4f3c-861c-2f253d2dd9e7) from Async(loco) with arguments: "38f4c988-99c0-4fac-a837-f2b95f817e01", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: ce46a259-45dc-4f3c-861c-2f253d2dd9e7) to Async(loco) with arguments: "38f4c988-99c0-4fac-a837-f2b95f817e01", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [ce46a259-45dc-4f3c-861c-2f253d2dd9e7] [ActionCable] Broadcasting to loco:notification_center:38f4c988-99c0-4fac-a837-f2b95f817e01: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [ce46a259-45dc-4f3c-861c-2f253d2dd9e7] Performed Loco::SenderJob (Job ID: ce46a259-45dc-4f3c-861c-2f253d2dd9e7) from Async(loco) in 0.7ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:38f4c988-99c0-4fac-a837-f2b95f817e01)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A33.179812Z&uuid=38f4c988-99c0-4fac-a837-f2b95f817e01" for 127.0.0.1 at 2018-01-04 16:13:33 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:33.179812Z", "uuid"=>"38f4c988-99c0-4fac-a837-f2b95f817e01"}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:33.179812') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:33.179812') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (0.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:33.179812') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 5.3ms)
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (60.2ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (47.5ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (63.4ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (48.1ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (53.7ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (55.5ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (58.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (53.1ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (28.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$jFADbXZxAl8ghRFPoEve9.ZjgQxNd3MaOcOPpwdaFePrISL7rpb.C', '2018-01-04 15:13:33.921059', '2018-01-04 15:13:33.921059', 980190962)[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$FgVA7ybKyScP1lO0CfECAeBxqgikV5//0tvN/zY5ZwgqIJnG8TfP2', '2018-01-04 15:13:33.921059', '2018-01-04 15:13:33.921059', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$lT9OktrcHYhpmuy.ljgbhOVB7dFTjixHkAzL6GR.dQFz.XFBBJJD.', '2017-12-28 15:13:33', '2018-01-04 15:13:33.955716', '2018-01-04 15:13:33.955716', 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$oEJDy/1bsnfq3dKsWjhjJulczW/XE7ZUwVwXo2PexbbnWbz6xf.xG', '2018-01-04 15:13:33.955716', '2018-01-04 15:13:33.955716', 15595101)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:33', '2018-01-04 15:13:33.961503', '2018-01-04 15:13:33.961503', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:33.961503', '2018-01-04 15:13:33.961503', 298486374, 872278135)[0m
+ [1m[35m (10.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+--------------------------------------------------------------------------
+Admin::EditCommentTest: test_should_init_js_Comment's_object_based_on_form
+--------------------------------------------------------------------------
+ [1m[36mArticle Load (0.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 980190962, '2018-01-04 15:13:33.982594', '2018-01-04 15:13:33.982594', 0, 0, 3)[0m
+ [1m[35m (11.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (2.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:13:34.000739', '2018-01-04 15:13:34.000739')[0m
+ [1m[35m (13.3ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [f954a59b-f173-42cb-aa25-e7c80336dd78] Performing Loco::SenderJob (Job ID: f954a59b-f173-42cb-aa25-e7c80336dd78) from Async(loco) with arguments: "38f4c988-99c0-4fac-a837-f2b95f817e01", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: f954a59b-f173-42cb-aa25-e7c80336dd78) to Async(loco) with arguments: "38f4c988-99c0-4fac-a837-f2b95f817e01", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [f954a59b-f173-42cb-aa25-e7c80336dd78] [ActionCable] Broadcasting to loco:notification_center:38f4c988-99c0-4fac-a837-f2b95f817e01: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [f954a59b-f173-42cb-aa25-e7c80336dd78] Performed Loco::SenderJob (Job ID: f954a59b-f173-42cb-aa25-e7c80336dd78) from Async(loco) in 1.07ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:38f4c988-99c0-4fac-a837-f2b95f817e01)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A33.396471Z&uuid=38f4c988-99c0-4fac-a837-f2b95f817e01" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:33.396471Z", "uuid"=>"38f4c988-99c0-4fac-a837-f2b95f817e01"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Started GET "/admin/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Admin::SessionsController#new as HTML
+ Rendering admin/sessions/new.html.erb within layouts/application
+ [1m[36mAdmin Load (2.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendered shared/_sign_in_form.html.erb (0.5ms)
+ Rendered admin/sessions/new.html.erb within layouts/application (2.2ms)
+ Rendered layouts/_head.html.erb (1.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:33.396471') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:33.396471') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (0.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:33.396471') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 8.4ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 26e42a1d-08f1-45c6-85ca-740d5480ec47) to Async(loco) with arguments: #<GlobalID:0x00007f9521b7f940 @uri=#<URI::GID gid://dummy/User/872278135>>, "38f4c988-99c0-4fac-a837-f2b95f817e01", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ce4ef102-d654-4b29-be04-9812e0a2df68) to Async(loco) with arguments: #<GlobalID:0x00007f951d61be80 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "38f4c988-99c0-4fac-a837-f2b95f817e01", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:38f4c988-99c0-4fac-a837-f2b95f817e01
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (5.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [26e42a1d-08f1-45c6-85ca-740d5480ec47] Performing Loco::UuidJob (Job ID: 26e42a1d-08f1-45c6-85ca-740d5480ec47) from Async(loco) with arguments: #<GlobalID:0x00007f95216520a8 @uri=#<URI::GID gid://dummy/User/872278135>>, "38f4c988-99c0-4fac-a837-f2b95f817e01", "del"
+[ActiveJob] [Loco::UuidJob] [26e42a1d-08f1-45c6-85ca-740d5480ec47] Performed Loco::UuidJob (Job ID: 26e42a1d-08f1-45c6-85ca-740d5480ec47) from Async(loco) in 0.26ms
+ [1m[36mAdmin Load (7.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ce4ef102-d654-4b29-be04-9812e0a2df68] Performing Loco::UuidJob (Job ID: ce4ef102-d654-4b29-be04-9812e0a2df68) from Async(loco) with arguments: #<GlobalID:0x00007f95216497c8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "38f4c988-99c0-4fac-a837-f2b95f817e01", "del"
+[ActiveJob] [Loco::UuidJob] [ce4ef102-d654-4b29-be04-9812e0a2df68] Performed Loco::UuidJob (Job ID: ce4ef102-d654-4b29-be04-9812e0a2df68) from Async(loco) in 0.27ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (3.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$lT9OktrcHYhpmuy.ljgbhOVB7dFTjixHkAzL6GR.dQF...", created_at: "2018-01-04 15:13:33", updated_at: "2018-01-04 15:13:33", confirmed_at: "2017-12-28 15:13:33">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$FgVA7ybKyScP1lO0CfECAeBxqgikV5//0tvN/zY5Zwg...", created_at: "2018-01-04 15:13:33", updated_at: "2018-01-04 15:13:33">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: e9140e64-13c5-4283-9151-67297b63dfd9) to Async(loco) with arguments: "4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f", {:loco=>{:uuid=>"4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f"}}
+[ActiveJob] [Loco::SenderJob] [e9140e64-13c5-4283-9151-67297b63dfd9] Performing Loco::SenderJob (Job ID: e9140e64-13c5-4283-9151-67297b63dfd9) from Async(loco) with arguments: "4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f", {:loco=>{:uuid=>"4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 998c41ea-0667-48fa-8f43-871b17639224) to Async(loco) with arguments: #<GlobalID:0x00007f9521618e20 @uri=#<URI::GID gid://dummy/User/872278135>>, "4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f
+[ActiveJob] [Loco::SenderJob] [e9140e64-13c5-4283-9151-67297b63dfd9] [ActionCable] Broadcasting to loco:notification_center:4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f: {:loco=>{:uuid=>"4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: de3bfb52-3e0d-4970-aced-805fb20c646a) to Async(loco) with arguments: #<GlobalID:0x00007f9521ab3de0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [e9140e64-13c5-4283-9151-67297b63dfd9] Performed Loco::SenderJob (Job ID: e9140e64-13c5-4283-9151-67297b63dfd9) from Async(loco) in 5.28ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::UuidJob] [998c41ea-0667-48fa-8f43-871b17639224] Performing Loco::UuidJob (Job ID: 998c41ea-0667-48fa-8f43-871b17639224) from Async(loco) with arguments: #<GlobalID:0x00007f951d4bc440 @uri=#<URI::GID gid://dummy/User/872278135>>, "4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f", "add"
+ [1m[36mAdmin Load (2.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f"}} (via streamed from loco:notification_center:4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f)
+[ActiveJob] [Loco::UuidJob] [998c41ea-0667-48fa-8f43-871b17639224] Performed Loco::UuidJob (Job ID: 998c41ea-0667-48fa-8f43-871b17639224) from Async(loco) in 0.58ms
+[ActiveJob] [Loco::UuidJob] [de3bfb52-3e0d-4970-aced-805fb20c646a] Performing Loco::UuidJob (Job ID: de3bfb52-3e0d-4970-aced-805fb20c646a) from Async(loco) with arguments: #<GlobalID:0x00007f9521aa0bf0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f", "add"
+[ActiveJob] [Loco::UuidJob] [de3bfb52-3e0d-4970-aced-805fb20c646a] Performed Loco::UuidJob (Job ID: de3bfb52-3e0d-4970-aced-805fb20c646a) from Async(loco) in 0.59ms
+Started POST "/admin/sessions.json" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Admin::SessionsController#create as JSON
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@motteq.com", "password"=>"[FILTERED]"}
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`email` = 'zbigniew.humeniuk@motteq.com' LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 1.3ms)
+Started GET "/admin" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Admin::UsersController#index as HTML
+ [1m[36mAdmin Load (1.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/users/index.html.erb within layouts/admin
+ Rendered admin/users/index.html.erb within layouts/admin (0.2ms)
+ Rendered layouts/_head.html.erb (1.7ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 4.7ms | ActiveRecord: 1.1ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 34425048-d51f-42ef-87be-fe98635456c1) to Async(loco) with arguments: #<GlobalID:0x00007f9521618e20 @uri=#<URI::GID gid://dummy/User/872278135>>, "4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 2950e4dd-4210-4dc2-b327-79ce2bcdeab9) to Async(loco) with arguments: #<GlobalID:0x00007f9521ab3de0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (9.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [34425048-d51f-42ef-87be-fe98635456c1] Performing Loco::UuidJob (Job ID: 34425048-d51f-42ef-87be-fe98635456c1) from Async(loco) with arguments: #<GlobalID:0x00007f952196bb40 @uri=#<URI::GID gid://dummy/User/872278135>>, "4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f", "del"
+[ActiveJob] [Loco::UuidJob] [34425048-d51f-42ef-87be-fe98635456c1] Performed Loco::UuidJob (Job ID: 34425048-d51f-42ef-87be-fe98635456c1) from Async(loco) in 0.29ms
+ [1m[36mAdmin Load (7.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [2950e4dd-4210-4dc2-b327-79ce2bcdeab9] Performing Loco::UuidJob (Job ID: 2950e4dd-4210-4dc2-b327-79ce2bcdeab9) from Async(loco) with arguments: #<GlobalID:0x00007f9521966dc0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "4ded8ce2-8e9f-41a6-b7a2-da2c00469e3f", "del"
+[ActiveJob] [Loco::UuidJob] [2950e4dd-4210-4dc2-b327-79ce2bcdeab9] Performed Loco::UuidJob (Job ID: 2950e4dd-4210-4dc2-b327-79ce2bcdeab9) from Async(loco) in 0.22ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/admin/users?page=1" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Admin::UsersController#index as JSON
+ Parameters: {"page"=>"1", "user"=>{}}
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (4.5ms)[0m [1m[34mSELECT COUNT(*) FROM `users`[0m
+ Rendering admin/users/index.json.jbuilder
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` ORDER BY created_at DESC LIMIT 10 OFFSET 0[0m
+ Rendered admin/users/_user.json.jbuilder (0.2ms)
+ Rendered admin/users/_user.json.jbuilder (0.2ms)
+ Rendered admin/users/index.json.jbuilder (5.3ms)
+Completed 200 OK in 16ms (Views: 3.9ms | ActiveRecord: 7.9ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["58bbad79-adb3-4c92-a788-9855a872bf01", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$lT9OktrcHYhpmuy.ljgbhOVB7dFTjixHkAzL6GR.dQF...", created_at: "2018-01-04 15:13:33", updated_at: "2018-01-04 15:13:33", confirmed_at: "2017-12-28 15:13:33">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$FgVA7ybKyScP1lO0CfECAeBxqgikV5//0tvN/zY5Zwg...", created_at: "2018-01-04 15:13:33", updated_at: "2018-01-04 15:13:33">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: a80cb1b7-bf6b-4c23-9d71-9004d85447c7) to Async(loco) with arguments: "58bbad79-adb3-4c92-a788-9855a872bf01", {:loco=>{:uuid=>"58bbad79-adb3-4c92-a788-9855a872bf01"}}
+[ActiveJob] [Loco::SenderJob] [a80cb1b7-bf6b-4c23-9d71-9004d85447c7] Performing Loco::SenderJob (Job ID: a80cb1b7-bf6b-4c23-9d71-9004d85447c7) from Async(loco) with arguments: "58bbad79-adb3-4c92-a788-9855a872bf01", {:loco=>{:uuid=>"58bbad79-adb3-4c92-a788-9855a872bf01"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 60ca98a1-89c1-44cd-885b-aa1a2b9b3fae) to Async(loco) with arguments: #<GlobalID:0x00007f952139b828 @uri=#<URI::GID gid://dummy/User/872278135>>, "58bbad79-adb3-4c92-a788-9855a872bf01", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:58bbad79-adb3-4c92-a788-9855a872bf01
+[ActiveJob] [Loco::SenderJob] [a80cb1b7-bf6b-4c23-9d71-9004d85447c7] [ActionCable] Broadcasting to loco:notification_center:58bbad79-adb3-4c92-a788-9855a872bf01: {:loco=>{:uuid=>"58bbad79-adb3-4c92-a788-9855a872bf01"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 34868f87-c4d8-4e0c-8548-2e86cb5d1eca) to Async(loco) with arguments: #<GlobalID:0x00007f9521390d60 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "58bbad79-adb3-4c92-a788-9855a872bf01", "add"
+[ActiveJob] [Loco::SenderJob] [a80cb1b7-bf6b-4c23-9d71-9004d85447c7] Performed Loco::SenderJob (Job ID: a80cb1b7-bf6b-4c23-9d71-9004d85447c7) from Async(loco) in 3.24ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"58bbad79-adb3-4c92-a788-9855a872bf01"}} (via streamed from loco:notification_center:58bbad79-adb3-4c92-a788-9855a872bf01)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (4.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [60ca98a1-89c1-44cd-885b-aa1a2b9b3fae] Performing Loco::UuidJob (Job ID: 60ca98a1-89c1-44cd-885b-aa1a2b9b3fae) from Async(loco) with arguments: #<GlobalID:0x00007f9521369030 @uri=#<URI::GID gid://dummy/User/872278135>>, "58bbad79-adb3-4c92-a788-9855a872bf01", "add"
+[ActiveJob] [Loco::UuidJob] [60ca98a1-89c1-44cd-885b-aa1a2b9b3fae] Performed Loco::UuidJob (Job ID: 60ca98a1-89c1-44cd-885b-aa1a2b9b3fae) from Async(loco) in 0.62ms
+ [1m[36mAdmin Load (2.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [34868f87-c4d8-4e0c-8548-2e86cb5d1eca] Performing Loco::UuidJob (Job ID: 34868f87-c4d8-4e0c-8548-2e86cb5d1eca) from Async(loco) with arguments: #<GlobalID:0x00007f9521359608 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "58bbad79-adb3-4c92-a788-9855a872bf01", "add"
+[ActiveJob] [Loco::UuidJob] [34868f87-c4d8-4e0c-8548-2e86cb5d1eca] Performed Loco::UuidJob (Job ID: 34868f87-c4d8-4e0c-8548-2e86cb5d1eca) from Async(loco) in 0.64ms
+Started GET "/admin/articles/published" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Admin::ArticlesController#published as HTML
+ [1m[36mAdmin Load (4.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/articles/published.html.erb within layouts/admin
+ Rendered admin/articles/published.html.erb within layouts/admin (0.1ms)
+ Rendered layouts/_head.html.erb (1.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 13ms (Views: 3.3ms | ActiveRecord: 4.9ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/admin/articles/published?page=1" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Admin::ArticlesController#published as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering admin/articles/published.json.jbuilder
+ [1m[36mArticle Load (1.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 4 OFFSET 0[0m
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered admin/articles/_article_for_list.json.jbuilder (2.6ms)
+ Rendered admin/articles/published.json.jbuilder (8.4ms)
+Completed 200 OK in 17ms (Views: 5.4ms | ActiveRecord: 6.2ms)
+Started GET "/admin/articles/980190962/edit" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Admin::ArticlesController#edit as HTML
+ Parameters: {"id"=>"980190962"}
+ [1m[36mAdmin Load (1.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/articles/edit.html.erb within layouts/admin
+ Rendered admin/articles/edit.html.erb within layouts/admin (4.0ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 13ms (Views: 7.7ms | ActiveRecord: 1.9ms)
+Started GET "/admin/articles/980190962" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Processing by Admin::ArticlesController#show as JSON
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+Started GET "/admin/articles/980190962/comments?page=1" for 127.0.0.1 at 2018-01-04 16:13:34 +0100
+ Parameters: {"id"=>"980190962", "article"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Processing by Admin::CommentsController#index as JSON
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ Parameters: {"page"=>"1", "article_id"=>"980190962", "comment"=>{}}
+ [1m[36mAdmin Load (2.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mAdmin Load (3.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (1.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mArticle Load (2.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (3.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendering admin/comments/index.json.jbuilder
+ [1m[36mUser Load (4.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering admin/articles/show.json.jbuilder
+ [1m[36mComment Load (3.4ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ Rendered admin/comments/_comment.json.jbuilder (1.0ms)
+ Rendered admin/comments/index.json.jbuilder (8.5ms)
+Completed 200 OK in 24ms (Views: 7.2ms | ActiveRecord: 11.0ms)
+ [1m[35m (7.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered admin/articles/_article.json.jbuilder (9.9ms)
+ Rendered admin/articles/show.json.jbuilder (15.0ms)
+Completed 200 OK in 39ms (Views: 10.7ms | ActiveRecord: 17.6ms)
+Started GET "/admin/articles/980190962/comments/1/edit" for 127.0.0.1 at 2018-01-04 16:13:35 +0100
+Processing by Admin::CommentsController#edit as HTML
+ Parameters: {"article_id"=>"980190962", "id"=>"1"}
+ [1m[36mAdmin Load (1.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (1.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mComment Load (1.1ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 980190962 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering admin/comments/edit.html.erb within layouts/admin
+ Rendered admin/comments/edit.html.erb within layouts/admin (4.6ms)
+ Rendered layouts/_head.html.erb (1.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 22ms (Views: 13.5ms | ActiveRecord: 3.5ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:35 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (55.6ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (53.3ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (52.5ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (50.1ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (50.1ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (45.2ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (48.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (43.8ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$x2R0TmO5T2mMpNyMZG1VZeJQifLWJlL0yJIHpCg1unZ3q4EL2.722', '2018-01-04 15:13:35.606378', '2018-01-04 15:13:35.606378', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$qhj/wzMdE0MHREpekwW9vukeasqJ40.O5RLOUvycaQ1jxQnd1FkXK', '2018-01-04 15:13:35.606378', '2018-01-04 15:13:35.606378', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$.hFzvR9b9SQuMFFjKM.sWuHzrRvYU9TDl8KF4aI2GnbeRPG3xYdGm', '2017-12-28 15:13:35', '2018-01-04 15:13:35.610871', '2018-01-04 15:13:35.610871', 872278135)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$COD9feITYWB3sbmtS/pWeea4hk6BxyIcuwakb4an6.VHr0BrzWCJK', '2018-01-04 15:13:35.610871', '2018-01-04 15:13:35.610871', 15595101)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:35', '2018-01-04 15:13:35.616880', '2018-01-04 15:13:35.616880', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:35.616880', '2018-01-04 15:13:35.616880', 298486374, 872278135)[0m
+ [1m[35m (9.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+---------------------------------------------------------------------------------
+Admin::ArticlesListTest: test_should_auto_increment_/_decrement_comments_quantity
+---------------------------------------------------------------------------------
+Started GET "/admin/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:35 +0100
+Processing by Admin::SessionsController#new as HTML
+ Rendering admin/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.6ms)
+ Rendered admin/sessions/new.html.erb within layouts/application (1.1ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:35 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: d27eeba6-b5aa-442e-9da6-9500f75133fd) to Async(loco) with arguments: #<GlobalID:0x00007f952139b828 @uri=#<URI::GID gid://dummy/User/872278135>>, "58bbad79-adb3-4c92-a788-9855a872bf01", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: efd38995-c96c-4cf3-be80-66882de50548) to Async(loco) with arguments: #<GlobalID:0x00007f9521390d60 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "58bbad79-adb3-4c92-a788-9855a872bf01", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:58bbad79-adb3-4c92-a788-9855a872bf01
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (12.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [efd38995-c96c-4cf3-be80-66882de50548] Performing Loco::UuidJob (Job ID: efd38995-c96c-4cf3-be80-66882de50548) from Async(loco) with arguments: #<GlobalID:0x00007f951d324d80 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "58bbad79-adb3-4c92-a788-9855a872bf01", "del"
+[ActiveJob] [Loco::UuidJob] [efd38995-c96c-4cf3-be80-66882de50548] Performed Loco::UuidJob (Job ID: efd38995-c96c-4cf3-be80-66882de50548) from Async(loco) in 0.63ms
+ [1m[36mUser Load (14.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [d27eeba6-b5aa-442e-9da6-9500f75133fd] Performing Loco::UuidJob (Job ID: d27eeba6-b5aa-442e-9da6-9500f75133fd) from Async(loco) with arguments: #<GlobalID:0x00007f951d30e1c0 @uri=#<URI::GID gid://dummy/User/872278135>>, "58bbad79-adb3-4c92-a788-9855a872bf01", "del"
+[ActiveJob] [Loco::UuidJob] [d27eeba6-b5aa-442e-9da6-9500f75133fd] Performed Loco::UuidJob (Job ID: d27eeba6-b5aa-442e-9da6-9500f75133fd) from Async(loco) in 0.26ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:35 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:35 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:35 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:35 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (6.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$.hFzvR9b9SQuMFFjKM.sWuHzrRvYU9TDl8KF4aI2Gnb...", created_at: "2018-01-04 15:13:35", updated_at: "2018-01-04 15:13:35", confirmed_at: "2017-12-28 15:13:35">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$qhj/wzMdE0MHREpekwW9vukeasqJ40.O5RLOUvycaQ1...", created_at: "2018-01-04 15:13:35", updated_at: "2018-01-04 15:13:35">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: de4c3454-61d8-4f1a-ae75-cb194d99d5ba) to Async(loco) with arguments: "8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a", {:loco=>{:uuid=>"8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a"}}
+[ActiveJob] [Loco::SenderJob] [de4c3454-61d8-4f1a-ae75-cb194d99d5ba] Performing Loco::SenderJob (Job ID: de4c3454-61d8-4f1a-ae75-cb194d99d5ba) from Async(loco) with arguments: "8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a", {:loco=>{:uuid=>"8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a"}}
+[ActiveJob] [Loco::SenderJob] [de4c3454-61d8-4f1a-ae75-cb194d99d5ba] [ActionCable] Broadcasting to loco:notification_center:8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a: {:loco=>{:uuid=>"8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 906a8adf-725e-45ae-9e7d-19d9e014aa7c) to Async(loco) with arguments: #<GlobalID:0x00007f951ca6c788 @uri=#<URI::GID gid://dummy/User/872278135>>, "8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a", "add"
+[ActiveJob] [Loco::SenderJob] [de4c3454-61d8-4f1a-ae75-cb194d99d5ba] Performed Loco::SenderJob (Job ID: de4c3454-61d8-4f1a-ae75-cb194d99d5ba) from Async(loco) in 0.42ms
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: b7da482c-57c7-4f55-8a77-fb5e5358e4c0) to Async(loco) with arguments: #<GlobalID:0x00007f951ca2c638 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a"}} (via streamed from loco:notification_center:8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (7.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [b7da482c-57c7-4f55-8a77-fb5e5358e4c0] Performing Loco::UuidJob (Job ID: b7da482c-57c7-4f55-8a77-fb5e5358e4c0) from Async(loco) with arguments: #<GlobalID:0x00007f951d25eb08 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a", "add"
+ [1m[36mUser Load (7.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [b7da482c-57c7-4f55-8a77-fb5e5358e4c0] Performed Loco::UuidJob (Job ID: b7da482c-57c7-4f55-8a77-fb5e5358e4c0) from Async(loco) in 0.78ms
+[ActiveJob] [Loco::UuidJob] [906a8adf-725e-45ae-9e7d-19d9e014aa7c] Performing Loco::UuidJob (Job ID: 906a8adf-725e-45ae-9e7d-19d9e014aa7c) from Async(loco) with arguments: #<GlobalID:0x00007f951c9ac1e0 @uri=#<URI::GID gid://dummy/User/872278135>>, "8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a", "add"
+[ActiveJob] [Loco::UuidJob] [906a8adf-725e-45ae-9e7d-19d9e014aa7c] Performed Loco::UuidJob (Job ID: 906a8adf-725e-45ae-9e7d-19d9e014aa7c) from Async(loco) in 0.57ms
+Started POST "/admin/sessions.json" for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+Processing by Admin::SessionsController#create as JSON
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@motteq.com", "password"=>"[FILTERED]"}
+ [1m[36mAdmin Load (3.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`email` = 'zbigniew.humeniuk@motteq.com' LIMIT 1[0m
+Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 3.0ms)
+Started GET "/admin" for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+Processing by Admin::UsersController#index as HTML
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/users/index.html.erb within layouts/admin
+ Rendered admin/users/index.html.erb within layouts/admin (0.2ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 9ms (Views: 4.5ms | ActiveRecord: 1.5ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 5f5f773d-809d-45c8-9e90-54469557379f) to Async(loco) with arguments: #<GlobalID:0x00007f951ca6c788 @uri=#<URI::GID gid://dummy/User/872278135>>, "8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: a5dcd315-1666-49db-b5fc-da0341f59330) to Async(loco) with arguments: #<GlobalID:0x00007f951ca2c638 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [a5dcd315-1666-49db-b5fc-da0341f59330] Performing Loco::UuidJob (Job ID: a5dcd315-1666-49db-b5fc-da0341f59330) from Async(loco) with arguments: #<GlobalID:0x00007f952487cad8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a", "del"
+[ActiveJob] [Loco::UuidJob] [a5dcd315-1666-49db-b5fc-da0341f59330] Performed Loco::UuidJob (Job ID: a5dcd315-1666-49db-b5fc-da0341f59330) from Async(loco) in 0.34ms
+ [1m[36mUser Load (3.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [5f5f773d-809d-45c8-9e90-54469557379f] Performing Loco::UuidJob (Job ID: 5f5f773d-809d-45c8-9e90-54469557379f) from Async(loco) with arguments: #<GlobalID:0x00007f95230efe10 @uri=#<URI::GID gid://dummy/User/872278135>>, "8a4ae8ef-53ce-413d-b8d6-fb86c4ce9c9a", "del"
+[ActiveJob] [Loco::UuidJob] [5f5f773d-809d-45c8-9e90-54469557379f] Performed Loco::UuidJob (Job ID: 5f5f773d-809d-45c8-9e90-54469557379f) from Async(loco) in 0.21ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/admin/users?page=1" for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+Processing by Admin::UsersController#index as JSON
+ Parameters: {"page"=>"1", "user"=>{}}
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM `users`[0m
+ Rendering admin/users/index.json.jbuilder
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` ORDER BY created_at DESC LIMIT 10 OFFSET 0[0m
+ Rendered admin/users/_user.json.jbuilder (0.3ms)
+ Rendered admin/users/_user.json.jbuilder (0.2ms)
+ Rendered admin/users/index.json.jbuilder (3.9ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+Completed 200 OK in 12ms (Views: 3.7ms | ActiveRecord: 4.0ms)
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["aaf72b27-eb8f-4306-91be-e62fe59eaa01", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$.hFzvR9b9SQuMFFjKM.sWuHzrRvYU9TDl8KF4aI2Gnb...", created_at: "2018-01-04 15:13:35", updated_at: "2018-01-04 15:13:35", confirmed_at: "2017-12-28 15:13:35">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$qhj/wzMdE0MHREpekwW9vukeasqJ40.O5RLOUvycaQ1...", created_at: "2018-01-04 15:13:35", updated_at: "2018-01-04 15:13:35">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 829913a9-1246-402a-8e74-d2ad790bfe86) to Async(loco) with arguments: "aaf72b27-eb8f-4306-91be-e62fe59eaa01", {:loco=>{:uuid=>"aaf72b27-eb8f-4306-91be-e62fe59eaa01"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 481b705b-8981-4b56-89b8-0478dc8061b0) to Async(loco) with arguments: #<GlobalID:0x00007f9524818ce0 @uri=#<URI::GID gid://dummy/User/872278135>>, "aaf72b27-eb8f-4306-91be-e62fe59eaa01", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:aaf72b27-eb8f-4306-91be-e62fe59eaa01
+[ActiveJob] [Loco::SenderJob] [829913a9-1246-402a-8e74-d2ad790bfe86] Performing Loco::SenderJob (Job ID: 829913a9-1246-402a-8e74-d2ad790bfe86) from Async(loco) with arguments: "aaf72b27-eb8f-4306-91be-e62fe59eaa01", {:loco=>{:uuid=>"aaf72b27-eb8f-4306-91be-e62fe59eaa01"}}
+[ActiveJob] [Loco::SenderJob] [829913a9-1246-402a-8e74-d2ad790bfe86] [ActionCable] Broadcasting to loco:notification_center:aaf72b27-eb8f-4306-91be-e62fe59eaa01: {:loco=>{:uuid=>"aaf72b27-eb8f-4306-91be-e62fe59eaa01"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 99cdfadb-8ee8-46cc-afb3-28cdf6bb51ee) to Async(loco) with arguments: #<GlobalID:0x00007f9523404970 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "aaf72b27-eb8f-4306-91be-e62fe59eaa01", "add"
+[ActiveJob] [Loco::SenderJob] [829913a9-1246-402a-8e74-d2ad790bfe86] Performed Loco::SenderJob (Job ID: 829913a9-1246-402a-8e74-d2ad790bfe86) from Async(loco) in 1.52ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"aaf72b27-eb8f-4306-91be-e62fe59eaa01"}} (via streamed from loco:notification_center:aaf72b27-eb8f-4306-91be-e62fe59eaa01)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (2.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [99cdfadb-8ee8-46cc-afb3-28cdf6bb51ee] Performing Loco::UuidJob (Job ID: 99cdfadb-8ee8-46cc-afb3-28cdf6bb51ee) from Async(loco) with arguments: #<GlobalID:0x00007f952407ad58 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "aaf72b27-eb8f-4306-91be-e62fe59eaa01", "add"
+[ActiveJob] [Loco::UuidJob] [99cdfadb-8ee8-46cc-afb3-28cdf6bb51ee] Performed Loco::UuidJob (Job ID: 99cdfadb-8ee8-46cc-afb3-28cdf6bb51ee) from Async(loco) in 0.63ms
+ [1m[36mUser Load (4.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [481b705b-8981-4b56-89b8-0478dc8061b0] Performing Loco::UuidJob (Job ID: 481b705b-8981-4b56-89b8-0478dc8061b0) from Async(loco) with arguments: #<GlobalID:0x00007f951ce6c6f8 @uri=#<URI::GID gid://dummy/User/872278135>>, "aaf72b27-eb8f-4306-91be-e62fe59eaa01", "add"
+[ActiveJob] [Loco::UuidJob] [481b705b-8981-4b56-89b8-0478dc8061b0] Performed Loco::UuidJob (Job ID: 481b705b-8981-4b56-89b8-0478dc8061b0) from Async(loco) in 0.62ms
+Started GET "/admin/articles/published" for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+Processing by Admin::ArticlesController#published as HTML
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/articles/published.html.erb within layouts/admin
+ Rendered admin/articles/published.html.erb within layouts/admin (0.1ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 10ms (Views: 4.5ms | ActiveRecord: 1.2ms)
+Started GET "/admin/articles/published?page=1" for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+Processing by Admin::ArticlesController#published as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ Parameters: {"page"=>"1", "article"=>{}}
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering admin/articles/published.json.jbuilder
+ [1m[36mArticle Load (1.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 4 OFFSET 0[0m
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered admin/articles/_article_for_list.json.jbuilder (3.2ms)
+ Rendered admin/articles/published.json.jbuilder (11.2ms)
+Completed 200 OK in 19ms (Views: 8.2ms | ActiveRecord: 6.6ms)
+ [1m[36mArticle Load (1.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 980190962, '2018-01-04 15:13:36.551266', '2018-01-04 15:13:36.551266', 0, 0, 3)[0m
+ [1m[35m (12.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:13:36.569516', '2018-01-04 15:13:36.569516')[0m
+ [1m[35m (10.2ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [bcd0b653-f6fe-4163-9666-6b9a6f9b24a2] Performing Loco::SenderJob (Job ID: bcd0b653-f6fe-4163-9666-6b9a6f9b24a2) from Async(loco) with arguments: "aaf72b27-eb8f-4306-91be-e62fe59eaa01", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: bcd0b653-f6fe-4163-9666-6b9a6f9b24a2) to Async(loco) with arguments: "aaf72b27-eb8f-4306-91be-e62fe59eaa01", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [bcd0b653-f6fe-4163-9666-6b9a6f9b24a2] [ActionCable] Broadcasting to loco:notification_center:aaf72b27-eb8f-4306-91be-e62fe59eaa01: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [bcd0b653-f6fe-4163-9666-6b9a6f9b24a2] Performed Loco::SenderJob (Job ID: bcd0b653-f6fe-4163-9666-6b9a6f9b24a2) from Async(loco) in 0.79ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:aaf72b27-eb8f-4306-91be-e62fe59eaa01)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A36.470252Z&uuid=aaf72b27-eb8f-4306-91be-e62fe59eaa01" for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:36.470252Z", "uuid"=>"aaf72b27-eb8f-4306-91be-e62fe59eaa01"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:36.470252') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:36.470252') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:36.470252') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 6.3ms)
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[31mDELETE FROM `comments` WHERE `comments`.`id` = 1[0m
+ [1m[35m (12.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'destroyed', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:13:36.640701', '2018-01-04 15:13:36.640701')[0m
+ [1m[35m (10.6ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: c04cd1af-8ca1-408f-a48c-5ae3aa54c27b) to Async(loco) with arguments: "aaf72b27-eb8f-4306-91be-e62fe59eaa01", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [c04cd1af-8ca1-408f-a48c-5ae3aa54c27b] Performing Loco::SenderJob (Job ID: c04cd1af-8ca1-408f-a48c-5ae3aa54c27b) from Async(loco) with arguments: "aaf72b27-eb8f-4306-91be-e62fe59eaa01", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [c04cd1af-8ca1-408f-a48c-5ae3aa54c27b] [ActionCable] Broadcasting to loco:notification_center:aaf72b27-eb8f-4306-91be-e62fe59eaa01: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [c04cd1af-8ca1-408f-a48c-5ae3aa54c27b] Performed Loco::SenderJob (Job ID: c04cd1af-8ca1-408f-a48c-5ae3aa54c27b) from Async(loco) in 0.72ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:aaf72b27-eb8f-4306-91be-e62fe59eaa01)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A36.602554Z&uuid=aaf72b27-eb8f-4306-91be-e62fe59eaa01" for 127.0.0.1 at 2018-01-04 16:13:36 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:36.602554Z", "uuid"=>"aaf72b27-eb8f-4306-91be-e62fe59eaa01"}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:36.602554') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:36.602554') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:36.602554') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 6.8ms)
+ [1m[35m (1.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (43.4ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (54.7ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (39.8ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (50.1ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (56.7ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (46.9ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (31.9ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (50.3ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$8/rEcVkdgtlFFgnYvX/GguEVHnZEPK23eNIBry2pNdzA9v5UOZ3Q6', '2018-01-04 15:13:37.089211', '2018-01-04 15:13:37.089211', 980190962)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$3Z0Ny5vUnrIQZdABC93vpuHtcx4izmf7XAn4PWN3Bsxnt40aOGxKS', '2018-01-04 15:13:37.089211', '2018-01-04 15:13:37.089211', 298486374)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$kze4wCMRuJsQeBAX6i2jb.PEVI9vLEz9hMBdQsiIfOzEuvV9mkeCy', '2017-12-28 15:13:37', '2018-01-04 15:13:37.093468', '2018-01-04 15:13:37.093468', 872278135)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$28WzHohpuqYIrhbRWPaPRuzCbgMDxIHnHfQp8qNR5zaWd12Ir03FS', '2018-01-04 15:13:37.093468', '2018-01-04 15:13:37.093468', 15595101)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:37', '2018-01-04 15:13:37.098714', '2018-01-04 15:13:37.098714', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:37.098714', '2018-01-04 15:13:37.098714', 298486374, 872278135)[0m
+ [1m[35m (8.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-----------------------------------------------------------------------
+Admin::ArticlesListTest: test_should_auto_load_newly_published_articles
+-----------------------------------------------------------------------
+Started GET "/admin/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Processing by Admin::SessionsController#new as HTML
+ Rendering admin/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.3ms)
+ Rendered admin/sessions/new.html.erb within layouts/application (0.7ms)
+ Rendered layouts/_head.html.erb (0.9ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 63b0cbc6-e591-4734-9941-14350cf9dc2d) to Async(loco) with arguments: #<GlobalID:0x00007f9524818ce0 @uri=#<URI::GID gid://dummy/User/872278135>>, "aaf72b27-eb8f-4306-91be-e62fe59eaa01", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 5bc7d505-8305-4556-bbba-8506d4ed302a) to Async(loco) with arguments: #<GlobalID:0x00007f9523404970 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "aaf72b27-eb8f-4306-91be-e62fe59eaa01", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:aaf72b27-eb8f-4306-91be-e62fe59eaa01
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (8.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [63b0cbc6-e591-4734-9941-14350cf9dc2d] Performing Loco::UuidJob (Job ID: 63b0cbc6-e591-4734-9941-14350cf9dc2d) from Async(loco) with arguments: #<GlobalID:0x00007f95230bc268 @uri=#<URI::GID gid://dummy/User/872278135>>, "aaf72b27-eb8f-4306-91be-e62fe59eaa01", "del"
+[ActiveJob] [Loco::UuidJob] [63b0cbc6-e591-4734-9941-14350cf9dc2d] Performed Loco::UuidJob (Job ID: 63b0cbc6-e591-4734-9941-14350cf9dc2d) from Async(loco) in 0.29ms
+ [1m[36mAdmin Load (6.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [5bc7d505-8305-4556-bbba-8506d4ed302a] Performing Loco::UuidJob (Job ID: 5bc7d505-8305-4556-bbba-8506d4ed302a) from Async(loco) with arguments: #<GlobalID:0x00007f95230b7678 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "aaf72b27-eb8f-4306-91be-e62fe59eaa01", "del"
+[ActiveJob] [Loco::UuidJob] [5bc7d505-8305-4556-bbba-8506d4ed302a] Performed Loco::UuidJob (Job ID: 5bc7d505-8305-4556-bbba-8506d4ed302a) from Async(loco) in 0.31ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["c7a0e7d3-6b69-4d04-8f4e-8908b20d199d", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$kze4wCMRuJsQeBAX6i2jb.PEVI9vLEz9hMBdQsiIfOz...", created_at: "2018-01-04 15:13:37", updated_at: "2018-01-04 15:13:37", confirmed_at: "2017-12-28 15:13:37">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$3Z0Ny5vUnrIQZdABC93vpuHtcx4izmf7XAn4PWN3Bsx...", created_at: "2018-01-04 15:13:37", updated_at: "2018-01-04 15:13:37">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 0c5a9c7e-b754-4bb2-b4e7-1ce614403727) to Async(loco) with arguments: "c7a0e7d3-6b69-4d04-8f4e-8908b20d199d", {:loco=>{:uuid=>"c7a0e7d3-6b69-4d04-8f4e-8908b20d199d"}}
+[ActiveJob] [Loco::SenderJob] [0c5a9c7e-b754-4bb2-b4e7-1ce614403727] Performing Loco::SenderJob (Job ID: 0c5a9c7e-b754-4bb2-b4e7-1ce614403727) from Async(loco) with arguments: "c7a0e7d3-6b69-4d04-8f4e-8908b20d199d", {:loco=>{:uuid=>"c7a0e7d3-6b69-4d04-8f4e-8908b20d199d"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: f0139e73-7c02-4060-9c79-fa2ac85c76b0) to Async(loco) with arguments: #<GlobalID:0x00007f9521c92e68 @uri=#<URI::GID gid://dummy/User/872278135>>, "c7a0e7d3-6b69-4d04-8f4e-8908b20d199d", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:c7a0e7d3-6b69-4d04-8f4e-8908b20d199d
+[ActiveJob] [Loco::SenderJob] [0c5a9c7e-b754-4bb2-b4e7-1ce614403727] [ActionCable] Broadcasting to loco:notification_center:c7a0e7d3-6b69-4d04-8f4e-8908b20d199d: {:loco=>{:uuid=>"c7a0e7d3-6b69-4d04-8f4e-8908b20d199d"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 62d94e23-19a9-4325-8712-bc21a8b59e33) to Async(loco) with arguments: #<GlobalID:0x00007f9521c849a8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "c7a0e7d3-6b69-4d04-8f4e-8908b20d199d", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [0c5a9c7e-b754-4bb2-b4e7-1ce614403727] Performed Loco::SenderJob (Job ID: 0c5a9c7e-b754-4bb2-b4e7-1ce614403727) from Async(loco) in 3.12ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"c7a0e7d3-6b69-4d04-8f4e-8908b20d199d"}} (via streamed from loco:notification_center:c7a0e7d3-6b69-4d04-8f4e-8908b20d199d)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f0139e73-7c02-4060-9c79-fa2ac85c76b0] Performing Loco::UuidJob (Job ID: f0139e73-7c02-4060-9c79-fa2ac85c76b0) from Async(loco) with arguments: #<GlobalID:0x00007f952307bf88 @uri=#<URI::GID gid://dummy/User/872278135>>, "c7a0e7d3-6b69-4d04-8f4e-8908b20d199d", "add"
+[ActiveJob] [Loco::UuidJob] [62d94e23-19a9-4325-8712-bc21a8b59e33] Performing Loco::UuidJob (Job ID: 62d94e23-19a9-4325-8712-bc21a8b59e33) from Async(loco) with arguments: #<GlobalID:0x00007f9523082ae0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "c7a0e7d3-6b69-4d04-8f4e-8908b20d199d", "add"
+[ActiveJob] [Loco::UuidJob] [f0139e73-7c02-4060-9c79-fa2ac85c76b0] Performed Loco::UuidJob (Job ID: f0139e73-7c02-4060-9c79-fa2ac85c76b0) from Async(loco) in 0.66ms
+[ActiveJob] [Loco::UuidJob] [62d94e23-19a9-4325-8712-bc21a8b59e33] Performed Loco::UuidJob (Job ID: 62d94e23-19a9-4325-8712-bc21a8b59e33) from Async(loco) in 0.72ms
+Started POST "/admin/sessions.json" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Processing by Admin::SessionsController#create as JSON
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@motteq.com", "password"=>"[FILTERED]"}
+ [1m[36mAdmin Load (1.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`email` = 'zbigniew.humeniuk@motteq.com' LIMIT 1[0m
+Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 1.7ms)
+Started GET "/admin" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Processing by Admin::UsersController#index as HTML
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/users/index.html.erb within layouts/admin
+ Rendered admin/users/index.html.erb within layouts/admin (0.1ms)
+ Rendered layouts/_head.html.erb (1.3ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 10ms (Views: 4.0ms | ActiveRecord: 1.2ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 35eb1ca0-ac64-4455-a4fc-1960bff679f2) to Async(loco) with arguments: #<GlobalID:0x00007f9521c92e68 @uri=#<URI::GID gid://dummy/User/872278135>>, "c7a0e7d3-6b69-4d04-8f4e-8908b20d199d", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 440626d9-c6b1-4f2d-94fd-f6a5d465ffe2) to Async(loco) with arguments: #<GlobalID:0x00007f9521c849a8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "c7a0e7d3-6b69-4d04-8f4e-8908b20d199d", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:c7a0e7d3-6b69-4d04-8f4e-8908b20d199d
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [35eb1ca0-ac64-4455-a4fc-1960bff679f2] Performing Loco::UuidJob (Job ID: 35eb1ca0-ac64-4455-a4fc-1960bff679f2) from Async(loco) with arguments: #<GlobalID:0x00007f95217add30 @uri=#<URI::GID gid://dummy/User/872278135>>, "c7a0e7d3-6b69-4d04-8f4e-8908b20d199d", "del"
+[ActiveJob] [Loco::UuidJob] [35eb1ca0-ac64-4455-a4fc-1960bff679f2] Performed Loco::UuidJob (Job ID: 35eb1ca0-ac64-4455-a4fc-1960bff679f2) from Async(loco) in 0.26ms
+ [1m[36mAdmin Load (2.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [440626d9-c6b1-4f2d-94fd-f6a5d465ffe2] Performing Loco::UuidJob (Job ID: 440626d9-c6b1-4f2d-94fd-f6a5d465ffe2) from Async(loco) with arguments: #<GlobalID:0x00007f951cdbd2e8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "c7a0e7d3-6b69-4d04-8f4e-8908b20d199d", "del"
+[ActiveJob] [Loco::UuidJob] [440626d9-c6b1-4f2d-94fd-f6a5d465ffe2] Performed Loco::UuidJob (Job ID: 440626d9-c6b1-4f2d-94fd-f6a5d465ffe2) from Async(loco) in 0.34ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Started GET "/admin/users?page=1" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Processing by Admin::UsersController#index as JSON
+ Parameters: {"page"=>"1", "user"=>{}}
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `users`[0m
+ Rendering admin/users/index.json.jbuilder
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (5.2ms)[0m [1m[34mSELECT `users`.* FROM `users` ORDER BY created_at DESC LIMIT 10 OFFSET 0[0m
+ Rendered admin/users/_user.json.jbuilder (0.4ms)
+ Rendered admin/users/_user.json.jbuilder (0.2ms)
+ Rendered admin/users/index.json.jbuilder (8.4ms)
+Completed 200 OK in 17ms (Views: 4.1ms | ActiveRecord: 8.2ms)
+ [1m[36mUser Load (3.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["90565212-28a3-43ae-a42f-b728c27c20d6", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$kze4wCMRuJsQeBAX6i2jb.PEVI9vLEz9hMBdQsiIfOz...", created_at: "2018-01-04 15:13:37", updated_at: "2018-01-04 15:13:37", confirmed_at: "2017-12-28 15:13:37">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$3Z0Ny5vUnrIQZdABC93vpuHtcx4izmf7XAn4PWN3Bsx...", created_at: "2018-01-04 15:13:37", updated_at: "2018-01-04 15:13:37">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: b6c0f4bd-9872-430c-ac7c-76061457fb8b) to Async(loco) with arguments: "90565212-28a3-43ae-a42f-b728c27c20d6", {:loco=>{:uuid=>"90565212-28a3-43ae-a42f-b728c27c20d6"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 20b7152a-8270-4d00-8b12-6aa02f888a8d) to Async(loco) with arguments: #<GlobalID:0x00007f9521b324b0 @uri=#<URI::GID gid://dummy/User/872278135>>, "90565212-28a3-43ae-a42f-b728c27c20d6", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: cee44473-8f01-4c4d-ad29-e8f8bb0f173c) to Async(loco) with arguments: #<GlobalID:0x00007f9521b30228 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "90565212-28a3-43ae-a42f-b728c27c20d6", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:90565212-28a3-43ae-a42f-b728c27c20d6
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [b6c0f4bd-9872-430c-ac7c-76061457fb8b] Performing Loco::SenderJob (Job ID: b6c0f4bd-9872-430c-ac7c-76061457fb8b) from Async(loco) with arguments: "90565212-28a3-43ae-a42f-b728c27c20d6", {:loco=>{:uuid=>"90565212-28a3-43ae-a42f-b728c27c20d6"}}
+[ActiveJob] [Loco::SenderJob] [b6c0f4bd-9872-430c-ac7c-76061457fb8b] [ActionCable] Broadcasting to loco:notification_center:90565212-28a3-43ae-a42f-b728c27c20d6: {:loco=>{:uuid=>"90565212-28a3-43ae-a42f-b728c27c20d6"}}
+[ActiveJob] [Loco::SenderJob] [b6c0f4bd-9872-430c-ac7c-76061457fb8b] Performed Loco::SenderJob (Job ID: b6c0f4bd-9872-430c-ac7c-76061457fb8b) from Async(loco) in 0.38ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"90565212-28a3-43ae-a42f-b728c27c20d6"}} (via streamed from loco:notification_center:90565212-28a3-43ae-a42f-b728c27c20d6)
+ [1m[36mUser Load (3.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [20b7152a-8270-4d00-8b12-6aa02f888a8d] Performing Loco::UuidJob (Job ID: 20b7152a-8270-4d00-8b12-6aa02f888a8d) from Async(loco) with arguments: #<GlobalID:0x00007f9521b0e470 @uri=#<URI::GID gid://dummy/User/872278135>>, "90565212-28a3-43ae-a42f-b728c27c20d6", "add"
+[ActiveJob] [Loco::UuidJob] [20b7152a-8270-4d00-8b12-6aa02f888a8d] Performed Loco::UuidJob (Job ID: 20b7152a-8270-4d00-8b12-6aa02f888a8d) from Async(loco) in 0.76ms
+ [1m[36mAdmin Load (2.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [cee44473-8f01-4c4d-ad29-e8f8bb0f173c] Performing Loco::UuidJob (Job ID: cee44473-8f01-4c4d-ad29-e8f8bb0f173c) from Async(loco) with arguments: #<GlobalID:0x00007f9521b04d58 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "90565212-28a3-43ae-a42f-b728c27c20d6", "add"
+[ActiveJob] [Loco::UuidJob] [cee44473-8f01-4c4d-ad29-e8f8bb0f173c] Performed Loco::UuidJob (Job ID: cee44473-8f01-4c4d-ad29-e8f8bb0f173c) from Async(loco) in 0.78ms
+Started GET "/admin/articles/published" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Processing by Admin::ArticlesController#published as HTML
+ [1m[36mAdmin Load (2.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/articles/published.html.erb within layouts/admin
+ Rendered admin/articles/published.html.erb within layouts/admin (0.0ms)
+ Rendered layouts/_head.html.erb (1.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 3.8ms | ActiveRecord: 2.3ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Started GET "/admin/articles/published?page=1" for 127.0.0.1 at 2018-01-04 16:13:37 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Processing by Admin::ArticlesController#published as JSON
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering admin/articles/published.json.jbuilder
+ [1m[36mArticle Load (2.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 4 OFFSET 0[0m
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered admin/articles/_article_for_list.json.jbuilder (3.2ms)
+ Rendered admin/articles/published.json.jbuilder (9.0ms)
+Completed 200 OK in 17ms (Views: 5.7ms | ActiveRecord: 7.0ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A37.826392Z&uuid=90565212-28a3-43ae-a42f-b728c27c20d6" for 127.0.0.1 at 2018-01-04 16:13:38 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:37.826392Z", "uuid"=>"90565212-28a3-43ae-a42f-b728c27c20d6"}
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:37.826392') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:37.826392') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:37.826392') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 9.5ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A38.688934Z&uuid=90565212-28a3-43ae-a42f-b728c27c20d6" for 127.0.0.1 at 2018-01-04 16:13:39 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:38.688934Z", "uuid"=>"90565212-28a3-43ae-a42f-b728c27c20d6"}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:38.688934') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:38.688934') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:38.688934') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.9ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A39.681227Z&uuid=90565212-28a3-43ae-a42f-b728c27c20d6" for 127.0.0.1 at 2018-01-04 16:13:40 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:39.681227Z", "uuid"=>"90565212-28a3-43ae-a42f-b728c27c20d6"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:39.681227') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:39.681227') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:39.681227') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 9.1ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A40.686177Z&uuid=90565212-28a3-43ae-a42f-b728c27c20d6" for 127.0.0.1 at 2018-01-04 16:13:41 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:40.686177Z", "uuid"=>"90565212-28a3-43ae-a42f-b728c27c20d6"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:40.686177') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:40.686177') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:40.686177') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 7.1ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A41.682473Z&uuid=90565212-28a3-43ae-a42f-b728c27c20d6" for 127.0.0.1 at 2018-01-04 16:13:42 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:41.682473Z", "uuid"=>"90565212-28a3-43ae-a42f-b728c27c20d6"}
+ [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:41.682473') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:41.682473') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:41.682473') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 5.0ms)
+ [1m[36mArticle Load (1.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35mSQL (1.4ms)[0m [1m[33mUPDATE `articles` SET `published_at` = '2018-01-04 15:13:42', `updated_at` = '2018-01-04 15:13:42.880680' WHERE `articles`.`id` = 298486374[0m
+ [1m[35m (12.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'published', '{\"id\":298486374}', '2018-01-04 15:13:42.897725', '2018-01-04 15:13:42.897725')[0m
+ [1m[35m (10.0ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [61533df5-a82a-4b89-a293-027509a7c5ed] Performing Loco::SenderJob (Job ID: 61533df5-a82a-4b89-a293-027509a7c5ed) from Async(loco) with arguments: "90565212-28a3-43ae-a42f-b728c27c20d6", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [61533df5-a82a-4b89-a293-027509a7c5ed] [ActionCable] Broadcasting to loco:notification_center:90565212-28a3-43ae-a42f-b728c27c20d6: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [61533df5-a82a-4b89-a293-027509a7c5ed] Performed Loco::SenderJob (Job ID: 61533df5-a82a-4b89-a293-027509a7c5ed) from Async(loco) in 0.2ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:90565212-28a3-43ae-a42f-b728c27c20d6)
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 61533df5-a82a-4b89-a293-027509a7c5ed) to Async(loco) with arguments: "90565212-28a3-43ae-a42f-b728c27c20d6", {:loco=>{:xhr_notifications=>true}}
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A42.677310Z&uuid=90565212-28a3-43ae-a42f-b728c27c20d6" for 127.0.0.1 at 2018-01-04 16:13:42 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:42.677310Z", "uuid"=>"90565212-28a3-43ae-a42f-b728c27c20d6"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:42.677310') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:42.677310') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:42.677310') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 6.9ms)
+Started GET "/admin/articles/298486374" for 127.0.0.1 at 2018-01-04 16:13:42 +0100
+Processing by Admin::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (1.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering admin/articles/show.json.jbuilder
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered admin/articles/_article.json.jbuilder (3.3ms)
+ Rendered admin/articles/show.json.jbuilder (4.0ms)
+Completed 200 OK in 14ms (Views: 3.3ms | ActiveRecord: 5.4ms)
+ [1m[35m (1.3ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (65.8ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (43.8ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (56.9ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (43.7ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (52.9ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (41.5ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (63.1ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (42.8ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$G5wGXnOUnRsXi0cN7aOQiOA2YQWx63Ptud4M0Jwugzgvs3/9UFpfO', '2018-01-04 15:13:43.520789', '2018-01-04 15:13:43.520789', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$.Kn60T9GkcRqmDSuESc3iuqfxsXA3DanQULEjB7SJjgkou3nqmdMC', '2018-01-04 15:13:43.520789', '2018-01-04 15:13:43.520789', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$kXKSROhMhVhgUqUk..eG1uU7FpRoYL2XUofOd9yg5Z0Z8yk4sRE7.', '2017-12-28 15:13:43', '2018-01-04 15:13:43.525368', '2018-01-04 15:13:43.525368', 872278135)[0m
+ [1m[36mFixture Insert (2.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$PmkMYpbWct5vd.HS3wMpbOnSNmTm3bF23/2fUD5PilyRGKLEijSeq', '2018-01-04 15:13:43.525368', '2018-01-04 15:13:43.525368', 15595101)[0m
+ [1m[36mFixture Delete (2.2ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:43', '2018-01-04 15:13:43.533794', '2018-01-04 15:13:43.533794', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.7ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:43.533794', '2018-01-04 15:13:43.533794', 298486374, 872278135)[0m
+ [1m[35m (8.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-----------------------------------------------------------
+Admin::ArticlesListTest: test_should_auto_update_an_article
+-----------------------------------------------------------
+Started GET "/admin/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:43 +0100
+Processing by Admin::SessionsController#new as HTML
+ Rendering admin/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.8ms)
+ Rendered admin/sessions/new.html.erb within layouts/application (1.4ms)
+ Rendered layouts/_head.html.erb (1.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:43 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: bb924b52-ec06-40d6-9ab9-5fb0b50e41d3) to Async(loco) with arguments: #<GlobalID:0x00007f9521b324b0 @uri=#<URI::GID gid://dummy/User/872278135>>, "90565212-28a3-43ae-a42f-b728c27c20d6", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 4f7b4e34-c5a7-49b1-88cb-510af6e7290b) to Async(loco) with arguments: #<GlobalID:0x00007f9521b30228 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "90565212-28a3-43ae-a42f-b728c27c20d6", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:90565212-28a3-43ae-a42f-b728c27c20d6
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:43 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:43 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:43 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:43 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (56.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (57.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (57.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [bb924b52-ec06-40d6-9ab9-5fb0b50e41d3] Performing Loco::UuidJob (Job ID: bb924b52-ec06-40d6-9ab9-5fb0b50e41d3) from Async(loco) with arguments: #<GlobalID:0x00007f9521bef088 @uri=#<URI::GID gid://dummy/User/872278135>>, "90565212-28a3-43ae-a42f-b728c27c20d6", "del"
+[ActiveJob] [Loco::UuidJob] [4f7b4e34-c5a7-49b1-88cb-510af6e7290b] Performing Loco::UuidJob (Job ID: 4f7b4e34-c5a7-49b1-88cb-510af6e7290b) from Async(loco) with arguments: #<GlobalID:0x00007f9521bec770 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "90565212-28a3-43ae-a42f-b728c27c20d6", "del"
+[ActiveJob] [Loco::UuidJob] [bb924b52-ec06-40d6-9ab9-5fb0b50e41d3] Performed Loco::UuidJob (Job ID: bb924b52-ec06-40d6-9ab9-5fb0b50e41d3) from Async(loco) in 0.36ms
+[ActiveJob] [Loco::UuidJob] [4f7b4e34-c5a7-49b1-88cb-510af6e7290b] Performed Loco::UuidJob (Job ID: 4f7b4e34-c5a7-49b1-88cb-510af6e7290b) from Async(loco) in 0.21ms
+ [1m[36mAdmin Load (3.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["cdb5ad8c-7667-4ee4-8796-2076f43f022b", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$kXKSROhMhVhgUqUk..eG1uU7FpRoYL2XUofOd9yg5Z0...", created_at: "2018-01-04 15:13:43", updated_at: "2018-01-04 15:13:43", confirmed_at: "2017-12-28 15:13:43">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$.Kn60T9GkcRqmDSuESc3iuqfxsXA3DanQULEjB7SJjg...", created_at: "2018-01-04 15:13:43", updated_at: "2018-01-04 15:13:43">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 97da1bb0-bbf9-4d3b-910e-ae432303c8ed) to Async(loco) with arguments: "cdb5ad8c-7667-4ee4-8796-2076f43f022b", {:loco=>{:uuid=>"cdb5ad8c-7667-4ee4-8796-2076f43f022b"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 9cc67e6d-b931-48f4-9a2b-0ab132bc7aa7) to Async(loco) with arguments: #<GlobalID:0x00007f951d63dd50 @uri=#<URI::GID gid://dummy/User/872278135>>, "cdb5ad8c-7667-4ee4-8796-2076f43f022b", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:cdb5ad8c-7667-4ee4-8796-2076f43f022b
+[ActiveJob] [Loco::SenderJob] [97da1bb0-bbf9-4d3b-910e-ae432303c8ed] Performing Loco::SenderJob (Job ID: 97da1bb0-bbf9-4d3b-910e-ae432303c8ed) from Async(loco) with arguments: "cdb5ad8c-7667-4ee4-8796-2076f43f022b", {:loco=>{:uuid=>"cdb5ad8c-7667-4ee4-8796-2076f43f022b"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 99e91772-3bde-48f7-b85a-a669575dc78d) to Async(loco) with arguments: #<GlobalID:0x00007f95217e6e78 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "cdb5ad8c-7667-4ee4-8796-2076f43f022b", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [97da1bb0-bbf9-4d3b-910e-ae432303c8ed] [ActionCable] Broadcasting to loco:notification_center:cdb5ad8c-7667-4ee4-8796-2076f43f022b: {:loco=>{:uuid=>"cdb5ad8c-7667-4ee4-8796-2076f43f022b"}}
+[ActiveJob] [Loco::SenderJob] [97da1bb0-bbf9-4d3b-910e-ae432303c8ed] Performed Loco::SenderJob (Job ID: 97da1bb0-bbf9-4d3b-910e-ae432303c8ed) from Async(loco) in 1.71ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"cdb5ad8c-7667-4ee4-8796-2076f43f022b"}} (via streamed from loco:notification_center:cdb5ad8c-7667-4ee4-8796-2076f43f022b)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (5.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [9cc67e6d-b931-48f4-9a2b-0ab132bc7aa7] Performing Loco::UuidJob (Job ID: 9cc67e6d-b931-48f4-9a2b-0ab132bc7aa7) from Async(loco) with arguments: #<GlobalID:0x00007f95217c7a00 @uri=#<URI::GID gid://dummy/User/872278135>>, "cdb5ad8c-7667-4ee4-8796-2076f43f022b", "add"
+[ActiveJob] [Loco::UuidJob] [9cc67e6d-b931-48f4-9a2b-0ab132bc7aa7] Performed Loco::UuidJob (Job ID: 9cc67e6d-b931-48f4-9a2b-0ab132bc7aa7) from Async(loco) in 0.65ms
+ [1m[36mAdmin Load (7.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [99e91772-3bde-48f7-b85a-a669575dc78d] Performing Loco::UuidJob (Job ID: 99e91772-3bde-48f7-b85a-a669575dc78d) from Async(loco) with arguments: #<GlobalID:0x00007f95217bd820 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "cdb5ad8c-7667-4ee4-8796-2076f43f022b", "add"
+[ActiveJob] [Loco::UuidJob] [99e91772-3bde-48f7-b85a-a669575dc78d] Performed Loco::UuidJob (Job ID: 99e91772-3bde-48f7-b85a-a669575dc78d) from Async(loco) in 0.77ms
+Started POST "/admin/sessions.json" for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+Processing by Admin::SessionsController#create as JSON
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@motteq.com", "password"=>"[FILTERED]"}
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`email` = 'zbigniew.humeniuk@motteq.com' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 1.6ms)
+Started GET "/admin" for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+Processing by Admin::UsersController#index as HTML
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/users/index.html.erb within layouts/admin
+ Rendered admin/users/index.html.erb within layouts/admin (0.1ms)
+ Rendered layouts/_head.html.erb (1.4ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 1.4ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 751b179f-fa0a-4dd2-9ee4-91a4da77316f) to Async(loco) with arguments: #<GlobalID:0x00007f951d63dd50 @uri=#<URI::GID gid://dummy/User/872278135>>, "cdb5ad8c-7667-4ee4-8796-2076f43f022b", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 92c99e23-3a7e-4c55-adb3-3e33c167707c) to Async(loco) with arguments: #<GlobalID:0x00007f95217e6e78 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "cdb5ad8c-7667-4ee4-8796-2076f43f022b", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:cdb5ad8c-7667-4ee4-8796-2076f43f022b
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [751b179f-fa0a-4dd2-9ee4-91a4da77316f] Performing Loco::UuidJob (Job ID: 751b179f-fa0a-4dd2-9ee4-91a4da77316f) from Async(loco) with arguments: #<GlobalID:0x00007f9521729df0 @uri=#<URI::GID gid://dummy/User/872278135>>, "cdb5ad8c-7667-4ee4-8796-2076f43f022b", "del"
+[ActiveJob] [Loco::UuidJob] [751b179f-fa0a-4dd2-9ee4-91a4da77316f] Performed Loco::UuidJob (Job ID: 751b179f-fa0a-4dd2-9ee4-91a4da77316f) from Async(loco) in 0.31ms
+ [1m[36mAdmin Load (3.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [92c99e23-3a7e-4c55-adb3-3e33c167707c] Performing Loco::UuidJob (Job ID: 92c99e23-3a7e-4c55-adb3-3e33c167707c) from Async(loco) with arguments: #<GlobalID:0x00007f95217113e0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "cdb5ad8c-7667-4ee4-8796-2076f43f022b", "del"
+[ActiveJob] [Loco::UuidJob] [92c99e23-3a7e-4c55-adb3-3e33c167707c] Performed Loco::UuidJob (Job ID: 92c99e23-3a7e-4c55-adb3-3e33c167707c) from Async(loco) in 0.35ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
+Started GET "/admin/users?page=1" for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+Processing by Admin::UsersController#index as JSON
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+ Parameters: {"page"=>"1", "user"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+ [1m[36mAdmin Load (1.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM `users`[0m
+ Rendering admin/users/index.json.jbuilder
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` ORDER BY created_at DESC LIMIT 10 OFFSET 0[0m
+ Rendered admin/users/_user.json.jbuilder (0.3ms)
+ Rendered admin/users/_user.json.jbuilder (0.3ms)
+ Rendered admin/users/index.json.jbuilder (4.7ms)
+Completed 200 OK in 18ms (Views: 4.3ms | ActiveRecord: 5.1ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (3.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["f5b0e687-0b62-4778-abaf-59255a118c19", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$kXKSROhMhVhgUqUk..eG1uU7FpRoYL2XUofOd9yg5Z0...", created_at: "2018-01-04 15:13:43", updated_at: "2018-01-04 15:13:43", confirmed_at: "2017-12-28 15:13:43">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$.Kn60T9GkcRqmDSuESc3iuqfxsXA3DanQULEjB7SJjg...", created_at: "2018-01-04 15:13:43", updated_at: "2018-01-04 15:13:43">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 449e401c-aa71-49d7-b2cc-29603c2b6e20) to Async(loco) with arguments: "f5b0e687-0b62-4778-abaf-59255a118c19", {:loco=>{:uuid=>"f5b0e687-0b62-4778-abaf-59255a118c19"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: c8012046-7ea4-4298-9846-5ce50d399571) to Async(loco) with arguments: #<GlobalID:0x00007f951cce8de0 @uri=#<URI::GID gid://dummy/User/872278135>>, "f5b0e687-0b62-4778-abaf-59255a118c19", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 24ae0bae-6960-4869-97ca-7032fff631a1) to Async(loco) with arguments: #<GlobalID:0x00007f951d56fd38 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "f5b0e687-0b62-4778-abaf-59255a118c19", "add"
+[ActiveJob] [Loco::SenderJob] [449e401c-aa71-49d7-b2cc-29603c2b6e20] Performing Loco::SenderJob (Job ID: 449e401c-aa71-49d7-b2cc-29603c2b6e20) from Async(loco) with arguments: "f5b0e687-0b62-4778-abaf-59255a118c19", {:loco=>{:uuid=>"f5b0e687-0b62-4778-abaf-59255a118c19"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:f5b0e687-0b62-4778-abaf-59255a118c19
+[ActiveJob] [Loco::SenderJob] [449e401c-aa71-49d7-b2cc-29603c2b6e20] [ActionCable] Broadcasting to loco:notification_center:f5b0e687-0b62-4778-abaf-59255a118c19: {:loco=>{:uuid=>"f5b0e687-0b62-4778-abaf-59255a118c19"}}
+[ActiveJob] [Loco::SenderJob] [449e401c-aa71-49d7-b2cc-29603c2b6e20] Performed Loco::SenderJob (Job ID: 449e401c-aa71-49d7-b2cc-29603c2b6e20) from Async(loco) in 0.66ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"f5b0e687-0b62-4778-abaf-59255a118c19"}} (via streamed from loco:notification_center:f5b0e687-0b62-4778-abaf-59255a118c19)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (9.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [c8012046-7ea4-4298-9846-5ce50d399571] Performing Loco::UuidJob (Job ID: c8012046-7ea4-4298-9846-5ce50d399571) from Async(loco) with arguments: #<GlobalID:0x00007f9521a29208 @uri=#<URI::GID gid://dummy/User/872278135>>, "f5b0e687-0b62-4778-abaf-59255a118c19", "add"
+[ActiveJob] [Loco::UuidJob] [c8012046-7ea4-4298-9846-5ce50d399571] Performed Loco::UuidJob (Job ID: c8012046-7ea4-4298-9846-5ce50d399571) from Async(loco) in 1.16ms
+ [1m[36mAdmin Load (3.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [24ae0bae-6960-4869-97ca-7032fff631a1] Performing Loco::UuidJob (Job ID: 24ae0bae-6960-4869-97ca-7032fff631a1) from Async(loco) with arguments: #<GlobalID:0x00007f9521a279a8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "f5b0e687-0b62-4778-abaf-59255a118c19", "add"
+[ActiveJob] [Loco::UuidJob] [24ae0bae-6960-4869-97ca-7032fff631a1] Performed Loco::UuidJob (Job ID: 24ae0bae-6960-4869-97ca-7032fff631a1) from Async(loco) in 0.65ms
+Started GET "/admin/articles/published" for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+Processing by Admin::ArticlesController#published as HTML
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendering admin/articles/published.html.erb within layouts/admin
+ Rendered admin/articles/published.html.erb within layouts/admin (0.1ms)
+ Rendered layouts/_head.html.erb (3.3ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 11ms (Views: 6.0ms | ActiveRecord: 1.5ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+Started GET "/admin/articles/published?page=1" for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Processing by Admin::ArticlesController#published as JSON
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (2.3ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering admin/articles/published.json.jbuilder
+ [1m[36mArticle Load (2.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 4 OFFSET 0[0m
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered admin/articles/_article_for_list.json.jbuilder (3.8ms)
+ Rendered admin/articles/published.json.jbuilder (12.8ms)
+Completed 200 OK in 24ms (Views: 7.8ms | ActiveRecord: 9.9ms)
+ [1m[36mArticle Load (1.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m [1m[33mUPDATE `articles` SET `title` = 'AGtTRA', `text` = 'TESTING_SUPPORT...TESTING_SUPPORT...TESTING_SUPPORT...TESTING_SUPPORT...TESTING_SUPPORT...TESTING_SUPPORT...', `updated_at` = '2018-01-04 15:13:44.675732' WHERE `articles`.`id` = 980190962[0m
+ [1m[35m (12.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (2.8ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Article', 980190962, 'updated', '{\"id\":980190962}', '2018-01-04 15:13:44.694527', '2018-01-04 15:13:44.694527')[0m
+ [1m[35m (11.3ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [a98c1686-67d7-47e9-ba8c-b761f7b50b9a] Performing Loco::SenderJob (Job ID: a98c1686-67d7-47e9-ba8c-b761f7b50b9a) from Async(loco) with arguments: "f5b0e687-0b62-4778-abaf-59255a118c19", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: a98c1686-67d7-47e9-ba8c-b761f7b50b9a) to Async(loco) with arguments: "f5b0e687-0b62-4778-abaf-59255a118c19", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [a98c1686-67d7-47e9-ba8c-b761f7b50b9a] [ActionCable] Broadcasting to loco:notification_center:f5b0e687-0b62-4778-abaf-59255a118c19: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [a98c1686-67d7-47e9-ba8c-b761f7b50b9a] Performed Loco::SenderJob (Job ID: a98c1686-67d7-47e9-ba8c-b761f7b50b9a) from Async(loco) in 0.74ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:f5b0e687-0b62-4778-abaf-59255a118c19)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A44.553641Z&uuid=f5b0e687-0b62-4778-abaf-59255a118c19" for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:44.553641Z", "uuid"=>"f5b0e687-0b62-4778-abaf-59255a118c19"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:44.553641') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:44.553641') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:44.553641') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 9.0ms)
+Started GET "/admin/articles/980190962" for 127.0.0.1 at 2018-01-04 16:13:44 +0100
+Processing by Admin::ArticlesController#show as JSON
+ Parameters: {"id"=>"980190962", "article"=>{}}
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (1.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ Rendering admin/articles/show.json.jbuilder
+ [1m[35m (2.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered admin/articles/_article.json.jbuilder (4.0ms)
+ Rendered admin/articles/show.json.jbuilder (4.5ms)
+Completed 200 OK in 24ms (Views: 2.8ms | ActiveRecord: 6.3ms)
+ [1m[35m (1.2ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (68.7ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (50.2ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (46.6ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (47.5ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (45.0ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (52.6ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (48.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (52.5ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$MAmKH5szoAD5n6xal4ff9.6Ff/DJStHquzr.SjsPxCYf1nCzo7TS2', '2018-01-04 15:13:45.339258', '2018-01-04 15:13:45.339258', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$DNiRJG./OKWCkEFwC6m4de0VIG0Y7CKGYyt5QGEeDDrWRUfnBeeni', '2018-01-04 15:13:45.339258', '2018-01-04 15:13:45.339258', 298486374)[0m
+ [1m[36mFixture Delete (1.7ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (2.3ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$osa75cz9PNJmSCYneOXBOuAvE/EwLXfOSpJ2ixQ4VBY5xvGTD8xly', '2017-12-28 15:13:45', '2018-01-04 15:13:45.344612', '2018-01-04 15:13:45.344612', 872278135)[0m
+ [1m[36mFixture Insert (3.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$RcjB9mNbBvtG4KnHKIRBZeo5a/MeOVrkOfapFP2AMVUxYDoSQZ8.y', '2018-01-04 15:13:45.344612', '2018-01-04 15:13:45.344612', 15595101)[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A44.734069Z&uuid=f5b0e687-0b62-4778-abaf-59255a118c19" for 127.0.0.1 at 2018-01-04 16:13:45 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:44.734069Z", "uuid"=>"f5b0e687-0b62-4778-abaf-59255a118c19"}
+ [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mFixture Delete (2.0ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mAdmin Load (2.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m [["id", 872278135], ["LIMIT", 1]]
+ [1m[36mCACHE Admin Load (0.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m [["id", 298486374], ["LIMIT", 1]]
+ [1m[36mFixture Insert (4.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:45', '2018-01-04 15:13:45.355218', '2018-01-04 15:13:45.355218', 980190962, 872278135)[0m
+ [1m[36mLoco::Notification Load (2.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:44.734069') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 5.4ms)
+ [1m[36mFixture Insert (2.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:45.355218', '2018-01-04 15:13:45.355218', 298486374, 872278135)[0m
+ [1m[35m (10.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (2.4ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+--------------------------------------------------------------------------------------------
+User::ArticlesListTest: test_should_auto_update_the_list_to_include_a_recently_added_article
+--------------------------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:13:45 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:45 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: f0ddd9b6-1456-414d-96b9-05be1e1c6844) to Async(loco) with arguments: #<GlobalID:0x00007f951cce8de0 @uri=#<URI::GID gid://dummy/User/872278135>>, "f5b0e687-0b62-4778-abaf-59255a118c19", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 60870b49-59ea-49a2-b168-e567cef643c4) to Async(loco) with arguments: #<GlobalID:0x00007f951d56fd38 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "f5b0e687-0b62-4778-abaf-59255a118c19", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:f5b0e687-0b62-4778-abaf-59255a118c19
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (7.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f0ddd9b6-1456-414d-96b9-05be1e1c6844] Performing Loco::UuidJob (Job ID: f0ddd9b6-1456-414d-96b9-05be1e1c6844) from Async(loco) with arguments: #<GlobalID:0x00007f9521339150 @uri=#<URI::GID gid://dummy/User/872278135>>, "f5b0e687-0b62-4778-abaf-59255a118c19", "del"
+ [1m[36mAdmin Load (7.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f0ddd9b6-1456-414d-96b9-05be1e1c6844] Performed Loco::UuidJob (Job ID: f0ddd9b6-1456-414d-96b9-05be1e1c6844) from Async(loco) in 0.42ms
+[ActiveJob] [Loco::UuidJob] [60870b49-59ea-49a2-b168-e567cef643c4] Performing Loco::UuidJob (Job ID: 60870b49-59ea-49a2-b168-e567cef643c4) from Async(loco) with arguments: #<GlobalID:0x00007f952132b8e8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "f5b0e687-0b62-4778-abaf-59255a118c19", "del"
+[ActiveJob] [Loco::UuidJob] [60870b49-59ea-49a2-b168-e567cef643c4] Performed Loco::UuidJob (Job ID: 60870b49-59ea-49a2-b168-e567cef643c4) from Async(loco) in 0.24ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:45 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:45 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:45 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (3.9ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (2.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (3.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (3.5ms)
+ Rendered main/articles/index.json.jbuilder (14.2ms)
+Completed 200 OK in 32ms (Views: 7.3ms | ActiveRecord: 11.7ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:45 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:45 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (16.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["0b0aad87-2e46-4cab-aca5-215a3e6bab8b", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$osa75cz9PNJmSCYneOXBOuAvE/EwLXfOSpJ2ixQ4VBY...", created_at: "2018-01-04 15:13:45", updated_at: "2018-01-04 15:13:45", confirmed_at: "2017-12-28 15:13:45">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$DNiRJG./OKWCkEFwC6m4de0VIG0Y7CKGYyt5QGEeDDr...", created_at: "2018-01-04 15:13:45", updated_at: "2018-01-04 15:13:45">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 56265408-f66d-413f-a484-0811d1683d9f) to Async(loco) with arguments: "0b0aad87-2e46-4cab-aca5-215a3e6bab8b", {:loco=>{:uuid=>"0b0aad87-2e46-4cab-aca5-215a3e6bab8b"}}
+[ActiveJob] [Loco::SenderJob] [56265408-f66d-413f-a484-0811d1683d9f] Performing Loco::SenderJob (Job ID: 56265408-f66d-413f-a484-0811d1683d9f) from Async(loco) with arguments: "0b0aad87-2e46-4cab-aca5-215a3e6bab8b", {:loco=>{:uuid=>"0b0aad87-2e46-4cab-aca5-215a3e6bab8b"}}
+[ActiveJob] [Loco::SenderJob] [56265408-f66d-413f-a484-0811d1683d9f] [ActionCable] Broadcasting to loco:notification_center:0b0aad87-2e46-4cab-aca5-215a3e6bab8b: {:loco=>{:uuid=>"0b0aad87-2e46-4cab-aca5-215a3e6bab8b"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: c9f7372a-1817-4444-9ca5-bd44a10796d1) to Async(loco) with arguments: #<GlobalID:0x00007f9521251ff8 @uri=#<URI::GID gid://dummy/User/872278135>>, "0b0aad87-2e46-4cab-aca5-215a3e6bab8b", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:0b0aad87-2e46-4cab-aca5-215a3e6bab8b
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: e4e97890-40d3-4b24-83cd-0964c50882be) to Async(loco) with arguments: #<GlobalID:0x00007f952122bbc8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "0b0aad87-2e46-4cab-aca5-215a3e6bab8b", "add"
+[ActiveJob] [Loco::SenderJob] [56265408-f66d-413f-a484-0811d1683d9f] Performed Loco::SenderJob (Job ID: 56265408-f66d-413f-a484-0811d1683d9f) from Async(loco) in 3.6ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"0b0aad87-2e46-4cab-aca5-215a3e6bab8b"}} (via streamed from loco:notification_center:0b0aad87-2e46-4cab-aca5-215a3e6bab8b)
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [c9f7372a-1817-4444-9ca5-bd44a10796d1] Performing Loco::UuidJob (Job ID: c9f7372a-1817-4444-9ca5-bd44a10796d1) from Async(loco) with arguments: #<GlobalID:0x00007f95212005e0 @uri=#<URI::GID gid://dummy/User/872278135>>, "0b0aad87-2e46-4cab-aca5-215a3e6bab8b", "add"
+[ActiveJob] [Loco::UuidJob] [c9f7372a-1817-4444-9ca5-bd44a10796d1] Performed Loco::UuidJob (Job ID: c9f7372a-1817-4444-9ca5-bd44a10796d1) from Async(loco) in 0.63ms
+ [1m[36mAdmin Load (3.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [e4e97890-40d3-4b24-83cd-0964c50882be] Performing Loco::UuidJob (Job ID: e4e97890-40d3-4b24-83cd-0964c50882be) from Async(loco) with arguments: #<GlobalID:0x00007f952193b990 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "0b0aad87-2e46-4cab-aca5-215a3e6bab8b", "add"
+[ActiveJob] [Loco::UuidJob] [e4e97890-40d3-4b24-83cd-0964c50882be] Performed Loco::UuidJob (Job ID: e4e97890-40d3-4b24-83cd-0964c50882be) from Async(loco) in 0.59ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:45 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.7ms)
+ Rendered user/sessions/new.html.erb within layouts/application (2.4ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:45 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:13:46 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (3.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 11ms (ActiveRecord: 3.5ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:13:46 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (2.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 11ms (Views: 4.9ms | ActiveRecord: 2.2ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:46 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 34b67776-23d3-4653-9d1a-4c5438324d64) to Async(loco) with arguments: #<GlobalID:0x00007f9521251ff8 @uri=#<URI::GID gid://dummy/User/872278135>>, "0b0aad87-2e46-4cab-aca5-215a3e6bab8b", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 6e1c0523-a82f-4938-a019-540df837f864) to Async(loco) with arguments: #<GlobalID:0x00007f952122bbc8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "0b0aad87-2e46-4cab-aca5-215a3e6bab8b", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:0b0aad87-2e46-4cab-aca5-215a3e6bab8b
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [34b67776-23d3-4653-9d1a-4c5438324d64] Performing Loco::UuidJob (Job ID: 34b67776-23d3-4653-9d1a-4c5438324d64) from Async(loco) with arguments: #<GlobalID:0x00007f951cbbc408 @uri=#<URI::GID gid://dummy/User/872278135>>, "0b0aad87-2e46-4cab-aca5-215a3e6bab8b", "del"
+[ActiveJob] [Loco::UuidJob] [34b67776-23d3-4653-9d1a-4c5438324d64] Performed Loco::UuidJob (Job ID: 34b67776-23d3-4653-9d1a-4c5438324d64) from Async(loco) in 0.38ms
+ [1m[36mAdmin Load (6.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [6e1c0523-a82f-4938-a019-540df837f864] Performing Loco::UuidJob (Job ID: 6e1c0523-a82f-4938-a019-540df837f864) from Async(loco) with arguments: #<GlobalID:0x00007f951cba47b8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "0b0aad87-2e46-4cab-aca5-215a3e6bab8b", "del"
+[ActiveJob] [Loco::UuidJob] [6e1c0523-a82f-4938-a019-540df837f864] Performed Loco::UuidJob (Job ID: 6e1c0523-a82f-4938-a019-540df837f864) from Async(loco) in 0.31ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:46 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:46 +0100
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:46 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Processing by User::ArticlesController#index as JSON
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (3.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (5.7ms)
+ [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (5.1ms)
+ Rendered user/articles/index.json.jbuilder (16.4ms)
+Completed 200 OK in 28ms (Views: 10.7ms | ActiveRecord: 10.7ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:46 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:46 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (6.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["cb5e098b-7838-457b-9b5d-4407b9ce201c", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$osa75cz9PNJmSCYneOXBOuAvE/EwLXfOSpJ2ixQ4VBY...", created_at: "2018-01-04 15:13:45", updated_at: "2018-01-04 15:13:45", confirmed_at: "2017-12-28 15:13:45">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$DNiRJG./OKWCkEFwC6m4de0VIG0Y7CKGYyt5QGEeDDr...", created_at: "2018-01-04 15:13:45", updated_at: "2018-01-04 15:13:45">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: f5bc6711-1903-434b-8208-d3f51dbedfd2) to Async(loco) with arguments: "cb5e098b-7838-457b-9b5d-4407b9ce201c", {:loco=>{:uuid=>"cb5e098b-7838-457b-9b5d-4407b9ce201c"}}
+[ActiveJob] [Loco::SenderJob] [f5bc6711-1903-434b-8208-d3f51dbedfd2] Performing Loco::SenderJob (Job ID: f5bc6711-1903-434b-8208-d3f51dbedfd2) from Async(loco) with arguments: "cb5e098b-7838-457b-9b5d-4407b9ce201c", {:loco=>{:uuid=>"cb5e098b-7838-457b-9b5d-4407b9ce201c"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 4390b184-c6ab-4056-a004-cdf9db0e9174) to Async(loco) with arguments: #<GlobalID:0x00007f951d3bd7b0 @uri=#<URI::GID gid://dummy/User/872278135>>, "cb5e098b-7838-457b-9b5d-4407b9ce201c", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:cb5e098b-7838-457b-9b5d-4407b9ce201c
+[ActiveJob] [Loco::SenderJob] [f5bc6711-1903-434b-8208-d3f51dbedfd2] [ActionCable] Broadcasting to loco:notification_center:cb5e098b-7838-457b-9b5d-4407b9ce201c: {:loco=>{:uuid=>"cb5e098b-7838-457b-9b5d-4407b9ce201c"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 5eb1a273-3d5f-40fd-b7af-e488b859f2d4) to Async(loco) with arguments: #<GlobalID:0x00007f951cb0d818 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "cb5e098b-7838-457b-9b5d-4407b9ce201c", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [f5bc6711-1903-434b-8208-d3f51dbedfd2] Performed Loco::SenderJob (Job ID: f5bc6711-1903-434b-8208-d3f51dbedfd2) from Async(loco) in 4.56ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [4390b184-c6ab-4056-a004-cdf9db0e9174] Performing Loco::UuidJob (Job ID: 4390b184-c6ab-4056-a004-cdf9db0e9174) from Async(loco) with arguments: #<GlobalID:0x00007f951f7cf6a8 @uri=#<URI::GID gid://dummy/User/872278135>>, "cb5e098b-7838-457b-9b5d-4407b9ce201c", "add"
+[ActiveJob] [Loco::UuidJob] [4390b184-c6ab-4056-a004-cdf9db0e9174] Performed Loco::UuidJob (Job ID: 4390b184-c6ab-4056-a004-cdf9db0e9174) from Async(loco) in 0.67ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"cb5e098b-7838-457b-9b5d-4407b9ce201c"}} (via streamed from loco:notification_center:cb5e098b-7838-457b-9b5d-4407b9ce201c)
+ [1m[36mAdmin Load (6.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [5eb1a273-3d5f-40fd-b7af-e488b859f2d4] Performing Loco::UuidJob (Job ID: 5eb1a273-3d5f-40fd-b7af-e488b859f2d4) from Async(loco) with arguments: #<GlobalID:0x00007f951d35ec60 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "cb5e098b-7838-457b-9b5d-4407b9ce201c", "add"
+[ActiveJob] [Loco::UuidJob] [5eb1a273-3d5f-40fd-b7af-e488b859f2d4] Performed Loco::UuidJob (Job ID: 5eb1a273-3d5f-40fd-b7af-e488b859f2d4) from Async(loco) in 0.65ms
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (2.4ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `user_id`) VALUES ('Article #1', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.Lorem ipsum dolor sit amet, consectetur adipiscing elit.', '2018-01-04 15:13:46.812585', '2018-01-04 15:13:46.812585', 872278135)[0m
+ [1m[35m (12.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (2.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 980190963, 'created', '{\"id\":980190963}', 'User', 872278135, '2018-01-04 15:13:46.833046', '2018-01-04 15:13:46.833046')[0m
+ [1m[35m (12.5ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 885206b7-9014-4355-8174-fea572015f17) to Async(loco) with arguments: #<GlobalID:0x00007f951cae6588 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 980190963, "created", {"id"=>980190963}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: cf047e2d-38ab-412e-a658-fbf29cece096) to Async(loco) with arguments: #<GlobalID:0x00007f951cad69f8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:46.833046Z"}}
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [885206b7-9014-4355-8174-fea572015f17] Performing Loco::SenderJob (Job ID: 885206b7-9014-4355-8174-fea572015f17) from Async(loco) with arguments: #<GlobalID:0x00007f951d2ee050 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 980190963, "created", {"id"=>980190963}]}}
+[ActiveJob] [Loco::SenderJob] [885206b7-9014-4355-8174-fea572015f17] [ActionCable] Broadcasting to loco:notification_center:cb5e098b-7838-457b-9b5d-4407b9ce201c: {:loco=>{:notification=>["Article", 980190963, "created", {"id"=>980190963}]}}
+[ActiveJob] [Loco::SenderJob] [885206b7-9014-4355-8174-fea572015f17] Performed Loco::SenderJob (Job ID: 885206b7-9014-4355-8174-fea572015f17) from Async(loco) in 0.63ms
+ [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [cf047e2d-38ab-412e-a658-fbf29cece096] Performing Loco::SenderJob (Job ID: cf047e2d-38ab-412e-a658-fbf29cece096) from Async(loco) with arguments: #<GlobalID:0x00007f951d2c48b8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:46.833046Z"}}
+[ActiveJob] [Loco::SenderJob] [cf047e2d-38ab-412e-a658-fbf29cece096] [ActionCable] Broadcasting to loco:notification_center:cb5e098b-7838-457b-9b5d-4407b9ce201c: {:loco=>{:sync_time=>"2018-01-04T15:13:46.833046Z"}}
+[ActiveJob] [Loco::SenderJob] [cf047e2d-38ab-412e-a658-fbf29cece096] Performed Loco::SenderJob (Job ID: cf047e2d-38ab-412e-a658-fbf29cece096) from Async(loco) in 0.5ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 980190963, "created", {"id"=>980190963}]}} (via streamed from loco:notification_center:cb5e098b-7838-457b-9b5d-4407b9ce201c)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:13:46.833046Z"}} (via streamed from loco:notification_center:cb5e098b-7838-457b-9b5d-4407b9ce201c)
+Started GET "/user/articles/980190963" for 127.0.0.1 at 2018-01-04 16:13:46 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"980190963", "article"=>{}}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 980190963 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190963[0m
+ Rendered user/articles/_article.json.jbuilder (2.8ms)
+ Rendered user/articles/show.json.jbuilder (3.2ms)
+Completed 200 OK in 13ms (Views: 2.7ms | ActiveRecord: 4.3ms)
+ [1m[35m (1.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (49.3ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (64.3ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (44.7ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (61.1ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (44.8ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A46.833046Z&uuid=cb5e098b-7838-457b-9b5d-4407b9ce201c" for 127.0.0.1 at 2018-01-04 16:13:47 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:46.833046Z", "uuid"=>"cb5e098b-7838-457b-9b5d-4407b9ce201c"}
+ [1m[36mUser Load (7.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (10.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mCACHE Admin Load (0.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m [["id", 298486374], ["LIMIT", 1]]
+ [1m[35m (54.8ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[36mLoco::Notification Load (30.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:46.833046') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:46.833046') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 50.5ms)
+ [1m[35m (54.0ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (55.5ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (2.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.7ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$pb/xbx7QzK/zePNVWRshAOGzmC4HGz05RT1aYEt7.ubmReMQEcW.q', '2018-01-04 15:13:47.417148', '2018-01-04 15:13:47.417148', 980190962)[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$1Ta3BiDUREwC/NMQ3CqoSOvVo4yykLgBdgFJyVtLJ83m4fT.NuUDu', '2018-01-04 15:13:47.417148', '2018-01-04 15:13:47.417148', 298486374)[0m
+ [1m[36mFixture Delete (1.3ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (3.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$va97xSu0aDiSWVf36FcdduuLRng0j3fW3o0KB8u8AhyywvgKhfW3a', '2017-12-28 15:13:47', '2018-01-04 15:13:47.424572', '2018-01-04 15:13:47.424572', 872278135)[0m
+ [1m[36mFixture Insert (1.5ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$f4XKTUJw3SDGECjtDZSwM.NLv/1zgqW/hODopjMnpHIYaajRjambK', '2018-01-04 15:13:47.424572', '2018-01-04 15:13:47.424572', 15595101)[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:47', '2018-01-04 15:13:47.434083', '2018-01-04 15:13:47.434083', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:47.434083', '2018-01-04 15:13:47.434083', 298486374, 872278135)[0m
+ [1m[35m (12.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (3.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+---------------------------------------------------------------------------
+User::ArticlesListTest: test_should_remove_article_from_the_list_on_destroy
+---------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:13:47 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.4ms)
+ Rendered layouts/_head.html.erb (1.9ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:47 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 8bf4fef1-9a7a-4728-a600-0414c588dd92) to Async(loco) with arguments: #<GlobalID:0x00007f951d3bd7b0 @uri=#<URI::GID gid://dummy/User/872278135>>, "cb5e098b-7838-457b-9b5d-4407b9ce201c", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 4df8d7e9-56c3-451e-9f2a-0fdd7e6fcfe9) to Async(loco) with arguments: #<GlobalID:0x00007f951cb0d818 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "cb5e098b-7838-457b-9b5d-4407b9ce201c", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:cb5e098b-7838-457b-9b5d-4407b9ce201c
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (5.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [8bf4fef1-9a7a-4728-a600-0414c588dd92] Performing Loco::UuidJob (Job ID: 8bf4fef1-9a7a-4728-a600-0414c588dd92) from Async(loco) with arguments: #<GlobalID:0x00007f951c31fd90 @uri=#<URI::GID gid://dummy/User/872278135>>, "cb5e098b-7838-457b-9b5d-4407b9ce201c", "del"
+[ActiveJob] [Loco::UuidJob] [8bf4fef1-9a7a-4728-a600-0414c588dd92] Performed Loco::UuidJob (Job ID: 8bf4fef1-9a7a-4728-a600-0414c588dd92) from Async(loco) in 0.5ms
+ [1m[36mAdmin Load (5.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [4df8d7e9-56c3-451e-9f2a-0fdd7e6fcfe9] Performing Loco::UuidJob (Job ID: 4df8d7e9-56c3-451e-9f2a-0fdd7e6fcfe9) from Async(loco) with arguments: #<GlobalID:0x00007f951c33f3e8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "cb5e098b-7838-457b-9b5d-4407b9ce201c", "del"
+[ActiveJob] [Loco::UuidJob] [4df8d7e9-56c3-451e-9f2a-0fdd7e6fcfe9] Performed Loco::UuidJob (Job ID: 4df8d7e9-56c3-451e-9f2a-0fdd7e6fcfe9) from Async(loco) in 14.91ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:47 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:47 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:47 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (4.9ms)
+ Rendered main/articles/index.json.jbuilder (13.2ms)
+Completed 200 OK in 25ms (Views: 8.6ms | ActiveRecord: 7.8ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:47 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:47 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["bbcb50e3-146e-45b5-bff3-af9c75618724", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$va97xSu0aDiSWVf36FcdduuLRng0j3fW3o0KB8u8Ahy...", created_at: "2018-01-04 15:13:47", updated_at: "2018-01-04 15:13:47", confirmed_at: "2017-12-28 15:13:47">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$1Ta3BiDUREwC/NMQ3CqoSOvVo4yykLgBdgFJyVtLJ83...", created_at: "2018-01-04 15:13:47", updated_at: "2018-01-04 15:13:47">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 95f50bf9-037e-4a59-9999-e501be1460bc) to Async(loco) with arguments: "bbcb50e3-146e-45b5-bff3-af9c75618724", {:loco=>{:uuid=>"bbcb50e3-146e-45b5-bff3-af9c75618724"}}
+[ActiveJob] [Loco::SenderJob] [95f50bf9-037e-4a59-9999-e501be1460bc] Performing Loco::SenderJob (Job ID: 95f50bf9-037e-4a59-9999-e501be1460bc) from Async(loco) with arguments: "bbcb50e3-146e-45b5-bff3-af9c75618724", {:loco=>{:uuid=>"bbcb50e3-146e-45b5-bff3-af9c75618724"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: c637f0c2-b62c-41c3-8ed8-b8fb07a9b51e) to Async(loco) with arguments: #<GlobalID:0x00007f95240e5e78 @uri=#<URI::GID gid://dummy/User/872278135>>, "bbcb50e3-146e-45b5-bff3-af9c75618724", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:bbcb50e3-146e-45b5-bff3-af9c75618724
+[ActiveJob] [Loco::SenderJob] [95f50bf9-037e-4a59-9999-e501be1460bc] [ActionCable] Broadcasting to loco:notification_center:bbcb50e3-146e-45b5-bff3-af9c75618724: {:loco=>{:uuid=>"bbcb50e3-146e-45b5-bff3-af9c75618724"}}
+[ActiveJob] [Loco::SenderJob] [95f50bf9-037e-4a59-9999-e501be1460bc] Performed Loco::SenderJob (Job ID: 95f50bf9-037e-4a59-9999-e501be1460bc) from Async(loco) in 4.04ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: b0945cd0-2c88-4387-82cb-05a17c260f12) to Async(loco) with arguments: #<GlobalID:0x00007f95238f6d98 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "bbcb50e3-146e-45b5-bff3-af9c75618724", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"bbcb50e3-146e-45b5-bff3-af9c75618724"}} (via streamed from loco:notification_center:bbcb50e3-146e-45b5-bff3-af9c75618724)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (4.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [c637f0c2-b62c-41c3-8ed8-b8fb07a9b51e] Performing Loco::UuidJob (Job ID: c637f0c2-b62c-41c3-8ed8-b8fb07a9b51e) from Async(loco) with arguments: #<GlobalID:0x00007f952342b4d0 @uri=#<URI::GID gid://dummy/User/872278135>>, "bbcb50e3-146e-45b5-bff3-af9c75618724", "add"
+[ActiveJob] [Loco::UuidJob] [c637f0c2-b62c-41c3-8ed8-b8fb07a9b51e] Performed Loco::UuidJob (Job ID: c637f0c2-b62c-41c3-8ed8-b8fb07a9b51e) from Async(loco) in 0.67ms
+ [1m[36mAdmin Load (10.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [b0945cd0-2c88-4387-82cb-05a17c260f12] Performing Loco::UuidJob (Job ID: b0945cd0-2c88-4387-82cb-05a17c260f12) from Async(loco) with arguments: #<GlobalID:0x00007f9524098f60 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "bbcb50e3-146e-45b5-bff3-af9c75618724", "add"
+[ActiveJob] [Loco::UuidJob] [b0945cd0-2c88-4387-82cb-05a17c260f12] Performed Loco::UuidJob (Job ID: b0945cd0-2c88-4387-82cb-05a17c260f12) from Async(loco) in 0.77ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:47 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.5ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.0ms)
+ Rendered layouts/_head.html.erb (1.4ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:47 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:13:48 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (3.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 11ms (ActiveRecord: 3.9ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:13:48 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.3ms)
+ Rendered layouts/_head.html.erb (2.3ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 11ms (Views: 5.9ms | ActiveRecord: 1.6ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:48 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 147f0bfe-a928-40af-877d-29a35302c186) to Async(loco) with arguments: #<GlobalID:0x00007f95240e5e78 @uri=#<URI::GID gid://dummy/User/872278135>>, "bbcb50e3-146e-45b5-bff3-af9c75618724", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 30df9de0-bd18-4f3c-a9c1-67f7941b2b01) to Async(loco) with arguments: #<GlobalID:0x00007f95238f6d98 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "bbcb50e3-146e-45b5-bff3-af9c75618724", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:bbcb50e3-146e-45b5-bff3-af9c75618724
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (3.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [147f0bfe-a928-40af-877d-29a35302c186] Performing Loco::UuidJob (Job ID: 147f0bfe-a928-40af-877d-29a35302c186) from Async(loco) with arguments: #<GlobalID:0x00007f951cfb0eb0 @uri=#<URI::GID gid://dummy/User/872278135>>, "bbcb50e3-146e-45b5-bff3-af9c75618724", "del"
+[ActiveJob] [Loco::UuidJob] [147f0bfe-a928-40af-877d-29a35302c186] Performed Loco::UuidJob (Job ID: 147f0bfe-a928-40af-877d-29a35302c186) from Async(loco) in 0.4ms
+ [1m[36mAdmin Load (2.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [30df9de0-bd18-4f3c-a9c1-67f7941b2b01] Performing Loco::UuidJob (Job ID: 30df9de0-bd18-4f3c-a9c1-67f7941b2b01) from Async(loco) with arguments: #<GlobalID:0x00007f951cf08288 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "bbcb50e3-146e-45b5-bff3-af9c75618724", "del"
+[ActiveJob] [Loco::UuidJob] [30df9de0-bd18-4f3c-a9c1-67f7941b2b01] Performed Loco::UuidJob (Job ID: 30df9de0-bd18-4f3c-a9c1-67f7941b2b01) from Async(loco) in 2.52ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:48 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:48 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:48 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (5.1ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:48 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:48 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (6.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (14.9ms)
+ Rendered user/articles/index.json.jbuilder (25.2ms)
+Completed 200 OK in 42ms (Views: 15.3ms | ActiveRecord: 15.5ms)
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (3.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["92bd5309-0944-4e5b-91fd-ba6beb788b10", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$va97xSu0aDiSWVf36FcdduuLRng0j3fW3o0KB8u8Ahy...", created_at: "2018-01-04 15:13:47", updated_at: "2018-01-04 15:13:47", confirmed_at: "2017-12-28 15:13:47">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$1Ta3BiDUREwC/NMQ3CqoSOvVo4yykLgBdgFJyVtLJ83...", created_at: "2018-01-04 15:13:47", updated_at: "2018-01-04 15:13:47">])
+ [1m[36mArticle Load (2.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 07e6bebf-8dea-4183-a897-c303f769d04d) to Async(loco) with arguments: "92bd5309-0944-4e5b-91fd-ba6beb788b10", {:loco=>{:uuid=>"92bd5309-0944-4e5b-91fd-ba6beb788b10"}}
+[ActiveJob] [Loco::SenderJob] [07e6bebf-8dea-4183-a897-c303f769d04d] Performing Loco::SenderJob (Job ID: 07e6bebf-8dea-4183-a897-c303f769d04d) from Async(loco) with arguments: "92bd5309-0944-4e5b-91fd-ba6beb788b10", {:loco=>{:uuid=>"92bd5309-0944-4e5b-91fd-ba6beb788b10"}}
+ [1m[35m (3.1ms)[0m [1m[35mBEGIN[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 4444087b-99b2-426f-a41b-2261fcc3f0e2) to Async(loco) with arguments: #<GlobalID:0x00007f9521d01d40 @uri=#<URI::GID gid://dummy/User/872278135>>, "92bd5309-0944-4e5b-91fd-ba6beb788b10", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:92bd5309-0944-4e5b-91fd-ba6beb788b10
+[ActiveJob] [Loco::SenderJob] [07e6bebf-8dea-4183-a897-c303f769d04d] [ActionCable] Broadcasting to loco:notification_center:92bd5309-0944-4e5b-91fd-ba6beb788b10: {:loco=>{:uuid=>"92bd5309-0944-4e5b-91fd-ba6beb788b10"}}
+[ActiveJob] [Loco::SenderJob] [07e6bebf-8dea-4183-a897-c303f769d04d] Performed Loco::SenderJob (Job ID: 07e6bebf-8dea-4183-a897-c303f769d04d) from Async(loco) in 5.77ms
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 40f84ed1-0c02-407f-9c63-150cd6aad107) to Async(loco) with arguments: #<GlobalID:0x00007f9521ce6e50 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "92bd5309-0944-4e5b-91fd-ba6beb788b10", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[35mSQL (4.0ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 980190962, 'destroyed', '{\"id\":980190962}', 'User', 872278135, '2018-01-04 15:13:48.438533', '2018-01-04 15:13:48.438533')[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"92bd5309-0944-4e5b-91fd-ba6beb788b10"}} (via streamed from loco:notification_center:92bd5309-0944-4e5b-91fd-ba6beb788b10)
+ [1m[36mUser Load (4.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::UuidJob] [4444087b-99b2-426f-a41b-2261fcc3f0e2] Performing Loco::UuidJob (Job ID: 4444087b-99b2-426f-a41b-2261fcc3f0e2) from Async(loco) with arguments: #<GlobalID:0x00007f9521cd9f98 @uri=#<URI::GID gid://dummy/User/872278135>>, "92bd5309-0944-4e5b-91fd-ba6beb788b10", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (3.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [4444087b-99b2-426f-a41b-2261fcc3f0e2] Performed Loco::UuidJob (Job ID: 4444087b-99b2-426f-a41b-2261fcc3f0e2) from Async(loco) in 0.85ms
+[ActiveJob] [Loco::UuidJob] [40f84ed1-0c02-407f-9c63-150cd6aad107] Performing Loco::UuidJob (Job ID: 40f84ed1-0c02-407f-9c63-150cd6aad107) from Async(loco) with arguments: #<GlobalID:0x00007f951ce0f2f0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "92bd5309-0944-4e5b-91fd-ba6beb788b10", "add"
+[ActiveJob] [Loco::UuidJob] [40f84ed1-0c02-407f-9c63-150cd6aad107] Performed Loco::UuidJob (Job ID: 40f84ed1-0c02-407f-9c63-150cd6aad107) from Async(loco) in 1.02ms
+ [1m[35m (14.5ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 2c820520-1537-469c-b2e4-dbb27a70ff8a) to Async(loco) with arguments: #<GlobalID:0x00007f95230be978 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 980190962, "destroyed", {"id"=>980190962}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 601e06e8-6acb-4de1-8f3a-ca7faf35289f) to Async(loco) with arguments: #<GlobalID:0x00007f951d67c2d0 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:48.438533Z"}}
+ [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [2c820520-1537-469c-b2e4-dbb27a70ff8a] Performing Loco::SenderJob (Job ID: 2c820520-1537-469c-b2e4-dbb27a70ff8a) from Async(loco) with arguments: #<GlobalID:0x00007f9521cbbb10 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 980190962, "destroyed", {"id"=>980190962}]}}
+[ActiveJob] [Loco::SenderJob] [2c820520-1537-469c-b2e4-dbb27a70ff8a] [ActionCable] Broadcasting to loco:notification_center:92bd5309-0944-4e5b-91fd-ba6beb788b10: {:loco=>{:notification=>["Article", 980190962, "destroyed", {"id"=>980190962}]}}
+[ActiveJob] [Loco::SenderJob] [2c820520-1537-469c-b2e4-dbb27a70ff8a] Performed Loco::SenderJob (Job ID: 2c820520-1537-469c-b2e4-dbb27a70ff8a) from Async(loco) in 0.51ms
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 980190962, "destroyed", {"id"=>980190962}]}} (via streamed from loco:notification_center:92bd5309-0944-4e5b-91fd-ba6beb788b10)
+[ActiveJob] [Loco::SenderJob] [601e06e8-6acb-4de1-8f3a-ca7faf35289f] Performing Loco::SenderJob (Job ID: 601e06e8-6acb-4de1-8f3a-ca7faf35289f) from Async(loco) with arguments: #<GlobalID:0x00007f95230a8420 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:48.438533Z"}}
+[ActiveJob] [Loco::SenderJob] [601e06e8-6acb-4de1-8f3a-ca7faf35289f] [ActionCable] Broadcasting to loco:notification_center:92bd5309-0944-4e5b-91fd-ba6beb788b10: {:loco=>{:sync_time=>"2018-01-04T15:13:48.438533Z"}}
+[ActiveJob] [Loco::SenderJob] [601e06e8-6acb-4de1-8f3a-ca7faf35289f] Performed Loco::SenderJob (Job ID: 601e06e8-6acb-4de1-8f3a-ca7faf35289f) from Async(loco) in 0.44ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:13:48.438533Z"}} (via streamed from loco:notification_center:92bd5309-0944-4e5b-91fd-ba6beb788b10)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A48.438533Z&uuid=92bd5309-0944-4e5b-91fd-ba6beb788b10" for 127.0.0.1 at 2018-01-04 16:13:49 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:48.438533Z", "uuid"=>"92bd5309-0944-4e5b-91fd-ba6beb788b10"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:48.438533') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:48.438533') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:48.438533') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 6.8ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A49.371749Z&uuid=92bd5309-0944-4e5b-91fd-ba6beb788b10" for 127.0.0.1 at 2018-01-04 16:13:50 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:49.371749Z", "uuid"=>"92bd5309-0944-4e5b-91fd-ba6beb788b10"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:49.371749') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:49.371749') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:49.371749') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 8.6ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A50.375736Z&uuid=92bd5309-0944-4e5b-91fd-ba6beb788b10" for 127.0.0.1 at 2018-01-04 16:13:51 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:50.375736Z", "uuid"=>"92bd5309-0944-4e5b-91fd-ba6beb788b10"}
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:50.375736') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:50.375736') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:50.375736') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 8.3ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A51.378104Z&uuid=92bd5309-0944-4e5b-91fd-ba6beb788b10" for 127.0.0.1 at 2018-01-04 16:13:52 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:51.378104Z", "uuid"=>"92bd5309-0944-4e5b-91fd-ba6beb788b10"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:51.378104') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:51.378104') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:51.378104') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 7.0ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A52.372314Z&uuid=92bd5309-0944-4e5b-91fd-ba6beb788b10" for 127.0.0.1 at 2018-01-04 16:13:53 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:52.372314Z", "uuid"=>"92bd5309-0944-4e5b-91fd-ba6beb788b10"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:52.372314') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:52.372314') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:52.372314') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 7.4ms)
+ [1m[35m (1.3ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (47.8ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (63.1ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (52.2ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (56.6ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (51.3ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (71.1ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (42.3ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (46.5ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$lO95yj5gzIBVmIN.w3B9CO27fFpt1.deWA8b.d2RnRvPOEd1evSC6', '2018-01-04 15:13:53.940782', '2018-01-04 15:13:53.940782', 980190962)[0m
+ [1m[36mFixture Insert (1.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$Eu.RPkewcyQUBrBfHRA/xOAha0ChnLA6OkA48vSSxmHvn5fKp1IYW', '2018-01-04 15:13:53.940782', '2018-01-04 15:13:53.940782', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$jG0gAVvjTZHN70jz051LEOL/DN/k9ob4fVd.n1wuJu8b9xaee6Ta2', '2017-12-28 15:13:53', '2018-01-04 15:13:53.950518', '2018-01-04 15:13:53.950518', 872278135)[0m
+ [1m[36mFixture Insert (1.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$aSeLr36kMaX9Ec4.fbYUTORgGHWpoVPvUxxuFkqv575/O6j6khqKi', '2018-01-04 15:13:53.950518', '2018-01-04 15:13:53.950518', 15595101)[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:53', '2018-01-04 15:13:53.966163', '2018-01-04 15:13:53.966163', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.3ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:53.966163', '2018-01-04 15:13:53.966163', 298486374, 872278135)[0m
+ [1m[35m (9.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+------------------------------------------------------------------------------
+User::ArticlesListTest: test_should_update_number_of_comments_if_one_was_added
+------------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:13:53 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (8.0ms)
+ Rendered layouts/_head.html.erb (1.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 07c9b461-0d7b-42e8-905e-9f51186efce9) to Async(loco) with arguments: #<GlobalID:0x00007f9521d01d40 @uri=#<URI::GID gid://dummy/User/872278135>>, "92bd5309-0944-4e5b-91fd-ba6beb788b10", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: cd9d6c16-d1c4-4ed0-967c-3ae7a48bde83) to Async(loco) with arguments: #<GlobalID:0x00007f9521ce6e50 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "92bd5309-0944-4e5b-91fd-ba6beb788b10", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:92bd5309-0944-4e5b-91fd-ba6beb788b10
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (8.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (8.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [07c9b461-0d7b-42e8-905e-9f51186efce9] Performing Loco::UuidJob (Job ID: 07c9b461-0d7b-42e8-905e-9f51186efce9) from Async(loco) with arguments: #<GlobalID:0x00007f9523480c50 @uri=#<URI::GID gid://dummy/User/872278135>>, "92bd5309-0944-4e5b-91fd-ba6beb788b10", "del"
+[ActiveJob] [Loco::UuidJob] [07c9b461-0d7b-42e8-905e-9f51186efce9] Performed Loco::UuidJob (Job ID: 07c9b461-0d7b-42e8-905e-9f51186efce9) from Async(loco) in 0.37ms
+[ActiveJob] [Loco::UuidJob] [cd9d6c16-d1c4-4ed0-967c-3ae7a48bde83] Performing Loco::UuidJob (Job ID: cd9d6c16-d1c4-4ed0-967c-3ae7a48bde83) from Async(loco) with arguments: #<GlobalID:0x00007f9523475800 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "92bd5309-0944-4e5b-91fd-ba6beb788b10", "del"
+[ActiveJob] [Loco::UuidJob] [cd9d6c16-d1c4-4ed0-967c-3ae7a48bde83] Performed Loco::UuidJob (Job ID: cd9d6c16-d1c4-4ed0-967c-3ae7a48bde83) from Async(loco) in 0.24ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["c6338220-7a8f-4760-9dfe-6f10034b9182", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$jG0gAVvjTZHN70jz051LEOL/DN/k9ob4fVd.n1wuJu8...", created_at: "2018-01-04 15:13:53", updated_at: "2018-01-04 15:13:53", confirmed_at: "2017-12-28 15:13:53">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$Eu.RPkewcyQUBrBfHRA/xOAha0ChnLA6OkA48vSSxmH...", created_at: "2018-01-04 15:13:53", updated_at: "2018-01-04 15:13:53">])
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (3.1ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 97df4191-5e8c-41e0-ac36-81901d42c537) to Async(loco) with arguments: "c6338220-7a8f-4760-9dfe-6f10034b9182", {:loco=>{:uuid=>"c6338220-7a8f-4760-9dfe-6f10034b9182"}}
+[ActiveJob] [Loco::SenderJob] [97df4191-5e8c-41e0-ac36-81901d42c537] Performing Loco::SenderJob (Job ID: 97df4191-5e8c-41e0-ac36-81901d42c537) from Async(loco) with arguments: "c6338220-7a8f-4760-9dfe-6f10034b9182", {:loco=>{:uuid=>"c6338220-7a8f-4760-9dfe-6f10034b9182"}}
+[ActiveJob] [Loco::SenderJob] [97df4191-5e8c-41e0-ac36-81901d42c537] [ActionCable] Broadcasting to loco:notification_center:c6338220-7a8f-4760-9dfe-6f10034b9182: {:loco=>{:uuid=>"c6338220-7a8f-4760-9dfe-6f10034b9182"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:c6338220-7a8f-4760-9dfe-6f10034b9182
+ [1m[35m (3.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 9a45d0b9-4e54-4164-b273-995639e24e23) to Async(loco) with arguments: #<GlobalID:0x00007f9524099cd0 @uri=#<URI::GID gid://dummy/User/872278135>>, "c6338220-7a8f-4760-9dfe-6f10034b9182", "add"
+ Rendered main/articles/_article_for_list.json.jbuilder (7.6ms)
+[ActiveJob] [Loco::SenderJob] [97df4191-5e8c-41e0-ac36-81901d42c537] Performed Loco::SenderJob (Job ID: 97df4191-5e8c-41e0-ac36-81901d42c537) from Async(loco) in 2.31ms
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: efa8007b-e995-4c2e-b28d-134edc8fee1b) to Async(loco) with arguments: #<GlobalID:0x00007f952408e998 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "c6338220-7a8f-4760-9dfe-6f10034b9182", "add"
+ Rendered main/articles/index.json.jbuilder (18.1ms)
+Completed 200 OK in 33ms (Views: 17.4ms | ActiveRecord: 10.3ms)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"c6338220-7a8f-4760-9dfe-6f10034b9182"}} (via streamed from loco:notification_center:c6338220-7a8f-4760-9dfe-6f10034b9182)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (10.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mUser Load (10.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [efa8007b-e995-4c2e-b28d-134edc8fee1b] Performing Loco::UuidJob (Job ID: efa8007b-e995-4c2e-b28d-134edc8fee1b) from Async(loco) with arguments: #<GlobalID:0x00007f952407ab78 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "c6338220-7a8f-4760-9dfe-6f10034b9182", "add"
+[ActiveJob] [Loco::UuidJob] [9a45d0b9-4e54-4164-b273-995639e24e23] Performing Loco::UuidJob (Job ID: 9a45d0b9-4e54-4164-b273-995639e24e23) from Async(loco) with arguments: #<GlobalID:0x00007f951ce6f970 @uri=#<URI::GID gid://dummy/User/872278135>>, "c6338220-7a8f-4760-9dfe-6f10034b9182", "add"
+[ActiveJob] [Loco::UuidJob] [efa8007b-e995-4c2e-b28d-134edc8fee1b] Performed Loco::UuidJob (Job ID: efa8007b-e995-4c2e-b28d-134edc8fee1b) from Async(loco) in 0.77ms
+[ActiveJob] [Loco::UuidJob] [9a45d0b9-4e54-4164-b273-995639e24e23] Performed Loco::UuidJob (Job ID: 9a45d0b9-4e54-4164-b273-995639e24e23) from Async(loco) in 0.76ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (1.8ms)
+ Rendered user/sessions/new.html.erb within layouts/application (2.5ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.3ms)
+ Rendered layouts/_head.html.erb (2.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 4.9ms | ActiveRecord: 1.5ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: bdc1d58a-8dbc-4c7c-b586-fe56bde03dc5) to Async(loco) with arguments: #<GlobalID:0x00007f9524099cd0 @uri=#<URI::GID gid://dummy/User/872278135>>, "c6338220-7a8f-4760-9dfe-6f10034b9182", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 862c1734-d47c-4e81-b1fd-3a71ecec14f1) to Async(loco) with arguments: #<GlobalID:0x00007f952408e998 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "c6338220-7a8f-4760-9dfe-6f10034b9182", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:c6338220-7a8f-4760-9dfe-6f10034b9182
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [bdc1d58a-8dbc-4c7c-b586-fe56bde03dc5] Performing Loco::UuidJob (Job ID: bdc1d58a-8dbc-4c7c-b586-fe56bde03dc5) from Async(loco) with arguments: #<GlobalID:0x00007f951d6eac08 @uri=#<URI::GID gid://dummy/User/872278135>>, "c6338220-7a8f-4760-9dfe-6f10034b9182", "del"
+[ActiveJob] [Loco::UuidJob] [bdc1d58a-8dbc-4c7c-b586-fe56bde03dc5] Performed Loco::UuidJob (Job ID: bdc1d58a-8dbc-4c7c-b586-fe56bde03dc5) from Async(loco) in 0.23ms
+ [1m[36mAdmin Load (1.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [862c1734-d47c-4e81-b1fd-3a71ecec14f1] Performing Loco::UuidJob (Job ID: 862c1734-d47c-4e81-b1fd-3a71ecec14f1) from Async(loco) with arguments: #<GlobalID:0x00007f9521d1e300 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "c6338220-7a8f-4760-9dfe-6f10034b9182", "del"
+[ActiveJob] [Loco::UuidJob] [862c1734-d47c-4e81-b1fd-3a71ecec14f1] Performed Loco::UuidJob (Job ID: 862c1734-d47c-4e81-b1fd-3a71ecec14f1) from Async(loco) in 0.19ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (2.8ms)
+ [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (2.6ms)
+ Rendered user/articles/index.json.jbuilder (8.6ms)
+Completed 200 OK in 21ms (Views: 6.0ms | ActiveRecord: 6.4ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:54 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["672d9119-605f-44d3-9c32-2c533e8401e4", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$jG0gAVvjTZHN70jz051LEOL/DN/k9ob4fVd.n1wuJu8...", created_at: "2018-01-04 15:13:53", updated_at: "2018-01-04 15:13:53", confirmed_at: "2017-12-28 15:13:53">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$Eu.RPkewcyQUBrBfHRA/xOAha0ChnLA6OkA48vSSxmH...", created_at: "2018-01-04 15:13:53", updated_at: "2018-01-04 15:13:53">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: b5e23c40-4f40-4437-a36d-4b73c92430d6) to Async(loco) with arguments: "672d9119-605f-44d3-9c32-2c533e8401e4", {:loco=>{:uuid=>"672d9119-605f-44d3-9c32-2c533e8401e4"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: bb591456-c50b-4acc-a756-3654224d3a8c) to Async(loco) with arguments: #<GlobalID:0x00007f9521cd8350 @uri=#<URI::GID gid://dummy/User/872278135>>, "672d9119-605f-44d3-9c32-2c533e8401e4", "add"
+[ActiveJob] [Loco::SenderJob] [b5e23c40-4f40-4437-a36d-4b73c92430d6] Performing Loco::SenderJob (Job ID: b5e23c40-4f40-4437-a36d-4b73c92430d6) from Async(loco) with arguments: "672d9119-605f-44d3-9c32-2c533e8401e4", {:loco=>{:uuid=>"672d9119-605f-44d3-9c32-2c533e8401e4"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 875b82d9-5da5-4461-9197-50a06fd5d6e6) to Async(loco) with arguments: #<GlobalID:0x00007f951ce0c528 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "672d9119-605f-44d3-9c32-2c533e8401e4", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:672d9119-605f-44d3-9c32-2c533e8401e4
+[ActiveJob] [Loco::SenderJob] [b5e23c40-4f40-4437-a36d-4b73c92430d6] [ActionCable] Broadcasting to loco:notification_center:672d9119-605f-44d3-9c32-2c533e8401e4: {:loco=>{:uuid=>"672d9119-605f-44d3-9c32-2c533e8401e4"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::SenderJob] [b5e23c40-4f40-4437-a36d-4b73c92430d6] Performed Loco::SenderJob (Job ID: b5e23c40-4f40-4437-a36d-4b73c92430d6) from Async(loco) in 2.54ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"672d9119-605f-44d3-9c32-2c533e8401e4"}} (via streamed from loco:notification_center:672d9119-605f-44d3-9c32-2c533e8401e4)
+ [1m[36mAdmin Load (3.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mUser Load (4.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [875b82d9-5da5-4461-9197-50a06fd5d6e6] Performing Loco::UuidJob (Job ID: 875b82d9-5da5-4461-9197-50a06fd5d6e6) from Async(loco) with arguments: #<GlobalID:0x00007f951ce068f8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "672d9119-605f-44d3-9c32-2c533e8401e4", "add"
+[ActiveJob] [Loco::UuidJob] [bb591456-c50b-4acc-a756-3654224d3a8c] Performing Loco::UuidJob (Job ID: bb591456-c50b-4acc-a756-3654224d3a8c) from Async(loco) with arguments: #<GlobalID:0x00007f9521cc3e28 @uri=#<URI::GID gid://dummy/User/872278135>>, "672d9119-605f-44d3-9c32-2c533e8401e4", "add"
+[ActiveJob] [Loco::UuidJob] [875b82d9-5da5-4461-9197-50a06fd5d6e6] Performed Loco::UuidJob (Job ID: 875b82d9-5da5-4461-9197-50a06fd5d6e6) from Async(loco) in 0.74ms
+[ActiveJob] [Loco::UuidJob] [bb591456-c50b-4acc-a756-3654224d3a8c] Performed Loco::UuidJob (Job ID: bb591456-c50b-4acc-a756-3654224d3a8c) from Async(loco) in 0.63ms
+ [1m[36mArticle Load (2.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 980190962, '2018-01-04 15:13:55.349120', '2018-01-04 15:13:55.349120', 0, 0, 3)[0m
+ [1m[35m (13.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:13:55.369465', '2018-01-04 15:13:55.369465')[0m
+ [1m[35m (12.5ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 255b7fa4-2d3d-446c-b773-cd6545ec57e0) to Async(loco) with arguments: "672d9119-605f-44d3-9c32-2c533e8401e4", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [255b7fa4-2d3d-446c-b773-cd6545ec57e0] Performing Loco::SenderJob (Job ID: 255b7fa4-2d3d-446c-b773-cd6545ec57e0) from Async(loco) with arguments: "672d9119-605f-44d3-9c32-2c533e8401e4", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [255b7fa4-2d3d-446c-b773-cd6545ec57e0] [ActionCable] Broadcasting to loco:notification_center:672d9119-605f-44d3-9c32-2c533e8401e4: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [255b7fa4-2d3d-446c-b773-cd6545ec57e0] Performed Loco::SenderJob (Job ID: 255b7fa4-2d3d-446c-b773-cd6545ec57e0) from Async(loco) in 0.44ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:672d9119-605f-44d3-9c32-2c533e8401e4)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A54.794302Z&uuid=672d9119-605f-44d3-9c32-2c533e8401e4" for 127.0.0.1 at 2018-01-04 16:13:55 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:54.794302Z", "uuid"=>"672d9119-605f-44d3-9c32-2c533e8401e4"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:54.794302') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:54.794302') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:54.794302') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 7.0ms)
+ [1m[35m (1.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (2.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (45.4ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (56.6ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (40.0ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (50.0ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (50.2ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (60.0ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A55.410242Z&uuid=672d9119-605f-44d3-9c32-2c533e8401e4" for 127.0.0.1 at 2018-01-04 16:13:55 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:55.410242Z", "uuid"=>"672d9119-605f-44d3-9c32-2c533e8401e4"}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (15.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (49.6ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[36mCACHE Admin Load (0.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m [["id", 298486374], ["LIMIT", 1]]
+ [1m[36mLoco::Notification Load (2.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:55.410242') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:55.410242') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 32ms (Views: 0.3ms | ActiveRecord: 21.2ms)
+ [1m[35m (54.4ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$5GvH6Ro4nsYqRka.enOtpO6Xeb/Gs3TO7g.qmUJmrv01iR9acGbtK', '2018-01-04 15:13:55.891436', '2018-01-04 15:13:55.891436', 980190962)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$W4X6YD6d52/UltHyZ1set.X/zAn5NArkc2Q55GbcFHzhwPwSMPfyO', '2018-01-04 15:13:55.891436', '2018-01-04 15:13:55.891436', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$V.CWHyCmRu.Ee/sfRTbmX.ur1YKdpIRIvIAT1Y7JUZHraeSdHvfMy', '2017-12-28 15:13:55', '2018-01-04 15:13:55.897231', '2018-01-04 15:13:55.897231', 872278135)[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$GhJgzMz/32HvMEfTfkTbSu9oWXNBO7t/wxCA0TI97mk86dZki4dzy', '2018-01-04 15:13:55.897231', '2018-01-04 15:13:55.897231', 15595101)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:55', '2018-01-04 15:13:55.902876', '2018-01-04 15:13:55.902876', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:55.902876', '2018-01-04 15:13:55.902876', 298486374, 872278135)[0m
+ [1m[35m (11.5ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+----------------------------------------------------------------
+User::ArticlesListTest: test_should_update_published_on_the_list
+----------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:13:55 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (1.2ms)
+ Rendered layouts/_head.html.erb (3.7ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:55 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 7df9c201-e8a1-48f8-b826-de05b688407e) to Async(loco) with arguments: #<GlobalID:0x00007f9521cd8350 @uri=#<URI::GID gid://dummy/User/872278135>>, "672d9119-605f-44d3-9c32-2c533e8401e4", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 667147f0-d5ee-4b78-8a52-e9af7846b826) to Async(loco) with arguments: #<GlobalID:0x00007f951ce0c528 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "672d9119-605f-44d3-9c32-2c533e8401e4", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:672d9119-605f-44d3-9c32-2c533e8401e4
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [7df9c201-e8a1-48f8-b826-de05b688407e] Performing Loco::UuidJob (Job ID: 7df9c201-e8a1-48f8-b826-de05b688407e) from Async(loco) with arguments: #<GlobalID:0x00007f9521bdef08 @uri=#<URI::GID gid://dummy/User/872278135>>, "672d9119-605f-44d3-9c32-2c533e8401e4", "del"
+[ActiveJob] [Loco::UuidJob] [7df9c201-e8a1-48f8-b826-de05b688407e] Performed Loco::UuidJob (Job ID: 7df9c201-e8a1-48f8-b826-de05b688407e) from Async(loco) in 0.26ms
+ [1m[36mAdmin Load (2.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [667147f0-d5ee-4b78-8a52-e9af7846b826] Performing Loco::UuidJob (Job ID: 667147f0-d5ee-4b78-8a52-e9af7846b826) from Async(loco) with arguments: #<GlobalID:0x00007f9521bc9608 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "672d9119-605f-44d3-9c32-2c533e8401e4", "del"
+[ActiveJob] [Loco::UuidJob] [667147f0-d5ee-4b78-8a52-e9af7846b826] Performed Loco::UuidJob (Job ID: 667147f0-d5ee-4b78-8a52-e9af7846b826) from Async(loco) in 0.3ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:55 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:55 +0100
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:55 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Processing by Main::ArticlesController#index as JSON
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (2.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (5.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (8.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (10.6ms)
+ Rendered main/articles/index.json.jbuilder (22.6ms)
+Completed 200 OK in 29ms (Views: 7.8ms | ActiveRecord: 17.5ms)
+ [1m[36mUser Load (9.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (3.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["1470ec0c-6537-4407-bcf9-4f0b3c79938e", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$V.CWHyCmRu.Ee/sfRTbmX.ur1YKdpIRIvIAT1Y7JUZH...", created_at: "2018-01-04 15:13:55", updated_at: "2018-01-04 15:13:55", confirmed_at: "2017-12-28 15:13:55">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$W4X6YD6d52/UltHyZ1set.X/zAn5NArkc2Q55GbcFHz...", created_at: "2018-01-04 15:13:55", updated_at: "2018-01-04 15:13:55">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 6a0cbf1b-1d5a-4d57-ab6f-61c1d9a0bb81) to Async(loco) with arguments: "1470ec0c-6537-4407-bcf9-4f0b3c79938e", {:loco=>{:uuid=>"1470ec0c-6537-4407-bcf9-4f0b3c79938e"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: a84b9139-ee05-4d65-96b6-6158dd6b7076) to Async(loco) with arguments: #<GlobalID:0x00007f951d60cb10 @uri=#<URI::GID gid://dummy/User/872278135>>, "1470ec0c-6537-4407-bcf9-4f0b3c79938e", "add"
+[ActiveJob] [Loco::SenderJob] [6a0cbf1b-1d5a-4d57-ab6f-61c1d9a0bb81] Performing Loco::SenderJob (Job ID: 6a0cbf1b-1d5a-4d57-ab6f-61c1d9a0bb81) from Async(loco) with arguments: "1470ec0c-6537-4407-bcf9-4f0b3c79938e", {:loco=>{:uuid=>"1470ec0c-6537-4407-bcf9-4f0b3c79938e"}}
+[ActiveJob] [Loco::SenderJob] [6a0cbf1b-1d5a-4d57-ab6f-61c1d9a0bb81] [ActionCable] Broadcasting to loco:notification_center:1470ec0c-6537-4407-bcf9-4f0b3c79938e: {:loco=>{:uuid=>"1470ec0c-6537-4407-bcf9-4f0b3c79938e"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:1470ec0c-6537-4407-bcf9-4f0b3c79938e
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: d0224c9f-e3c9-400f-8160-15fcf1e2da5a) to Async(loco) with arguments: #<GlobalID:0x00007f951cda4ce8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "1470ec0c-6537-4407-bcf9-4f0b3c79938e", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [6a0cbf1b-1d5a-4d57-ab6f-61c1d9a0bb81] Performed Loco::SenderJob (Job ID: 6a0cbf1b-1d5a-4d57-ab6f-61c1d9a0bb81) from Async(loco) in 1.57ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"1470ec0c-6537-4407-bcf9-4f0b3c79938e"}} (via streamed from loco:notification_center:1470ec0c-6537-4407-bcf9-4f0b3c79938e)
+ [1m[36mAdmin Load (3.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [d0224c9f-e3c9-400f-8160-15fcf1e2da5a] Performing Loco::UuidJob (Job ID: d0224c9f-e3c9-400f-8160-15fcf1e2da5a) from Async(loco) with arguments: #<GlobalID:0x00007f951d5ef5d8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "1470ec0c-6537-4407-bcf9-4f0b3c79938e", "add"
+[ActiveJob] [Loco::UuidJob] [d0224c9f-e3c9-400f-8160-15fcf1e2da5a] Performed Loco::UuidJob (Job ID: d0224c9f-e3c9-400f-8160-15fcf1e2da5a) from Async(loco) in 0.56ms
+ [1m[36mUser Load (6.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [a84b9139-ee05-4d65-96b6-6158dd6b7076] Performing Loco::UuidJob (Job ID: a84b9139-ee05-4d65-96b6-6158dd6b7076) from Async(loco) with arguments: #<GlobalID:0x00007f951d5e4c28 @uri=#<URI::GID gid://dummy/User/872278135>>, "1470ec0c-6537-4407-bcf9-4f0b3c79938e", "add"
+[ActiveJob] [Loco::UuidJob] [a84b9139-ee05-4d65-96b6-6158dd6b7076] Performed Loco::UuidJob (Job ID: a84b9139-ee05-4d65-96b6-6158dd6b7076) from Async(loco) in 1.42ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (1.1ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.5ms)
+ Rendered layouts/_head.html.erb (2.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 6ms (ActiveRecord: 1.3ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (1.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 1.2ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 51b3b7db-f98b-4f57-9bbb-29cc5711314e) to Async(loco) with arguments: #<GlobalID:0x00007f951d60cb10 @uri=#<URI::GID gid://dummy/User/872278135>>, "1470ec0c-6537-4407-bcf9-4f0b3c79938e", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 1a0f7b76-d717-4a8a-b6b8-dc215831efe7) to Async(loco) with arguments: #<GlobalID:0x00007f951cda4ce8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "1470ec0c-6537-4407-bcf9-4f0b3c79938e", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:1470ec0c-6537-4407-bcf9-4f0b3c79938e
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [51b3b7db-f98b-4f57-9bbb-29cc5711314e] Performing Loco::UuidJob (Job ID: 51b3b7db-f98b-4f57-9bbb-29cc5711314e) from Async(loco) with arguments: #<GlobalID:0x00007f951d541ed8 @uri=#<URI::GID gid://dummy/User/872278135>>, "1470ec0c-6537-4407-bcf9-4f0b3c79938e", "del"
+[ActiveJob] [Loco::UuidJob] [51b3b7db-f98b-4f57-9bbb-29cc5711314e] Performed Loco::UuidJob (Job ID: 51b3b7db-f98b-4f57-9bbb-29cc5711314e) from Async(loco) in 0.23ms
+ [1m[36mAdmin Load (3.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [1a0f7b76-d717-4a8a-b6b8-dc215831efe7] Performing Loco::UuidJob (Job ID: 1a0f7b76-d717-4a8a-b6b8-dc215831efe7) from Async(loco) with arguments: #<GlobalID:0x00007f951ccbd3e8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "1470ec0c-6537-4407-bcf9-4f0b3c79938e", "del"
+[ActiveJob] [Loco::UuidJob] [1a0f7b76-d717-4a8a-b6b8-dc215831efe7] Performed Loco::UuidJob (Job ID: 1a0f7b76-d717-4a8a-b6b8-dc215831efe7) from Async(loco) in 0.3ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (3.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["3c52b6fc-e55f-49d2-a020-dfe441bc6ed3", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$V.CWHyCmRu.Ee/sfRTbmX.ur1YKdpIRIvIAT1Y7JUZH...", created_at: "2018-01-04 15:13:55", updated_at: "2018-01-04 15:13:55", confirmed_at: "2017-12-28 15:13:55">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$W4X6YD6d52/UltHyZ1set.X/zAn5NArkc2Q55GbcFHz...", created_at: "2018-01-04 15:13:55", updated_at: "2018-01-04 15:13:55">])
+ [1m[36mArticle Load (3.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (2.9ms)
+ [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (4.4ms)
+ Rendered user/articles/index.json.jbuilder (14.5ms)
+Completed 200 OK in 33ms (Views: 10.0ms | ActiveRecord: 11.2ms)
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: f4f731ff-c456-405a-8d7c-f15d1b6e577f) to Async(loco) with arguments: "3c52b6fc-e55f-49d2-a020-dfe441bc6ed3", {:loco=>{:uuid=>"3c52b6fc-e55f-49d2-a020-dfe441bc6ed3"}}
+[ActiveJob] [Loco::SenderJob] [f4f731ff-c456-405a-8d7c-f15d1b6e577f] Performing Loco::SenderJob (Job ID: f4f731ff-c456-405a-8d7c-f15d1b6e577f) from Async(loco) with arguments: "3c52b6fc-e55f-49d2-a020-dfe441bc6ed3", {:loco=>{:uuid=>"3c52b6fc-e55f-49d2-a020-dfe441bc6ed3"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 6a445175-1978-40e5-84ae-9af1c9bdf25c) to Async(loco) with arguments: #<GlobalID:0x00007f951d49db30 @uri=#<URI::GID gid://dummy/User/872278135>>, "3c52b6fc-e55f-49d2-a020-dfe441bc6ed3", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: a9f6794e-52bc-4055-8d0b-d30451f1bf35) to Async(loco) with arguments: #<GlobalID:0x00007f95215c4aa0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "3c52b6fc-e55f-49d2-a020-dfe441bc6ed3", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:3c52b6fc-e55f-49d2-a020-dfe441bc6ed3
+[ActiveJob] [Loco::SenderJob] [f4f731ff-c456-405a-8d7c-f15d1b6e577f] [ActionCable] Broadcasting to loco:notification_center:3c52b6fc-e55f-49d2-a020-dfe441bc6ed3: {:loco=>{:uuid=>"3c52b6fc-e55f-49d2-a020-dfe441bc6ed3"}}
+[ActiveJob] [Loco::SenderJob] [f4f731ff-c456-405a-8d7c-f15d1b6e577f] Performed Loco::SenderJob (Job ID: f4f731ff-c456-405a-8d7c-f15d1b6e577f) from Async(loco) in 2.59ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"3c52b6fc-e55f-49d2-a020-dfe441bc6ed3"}} (via streamed from loco:notification_center:3c52b6fc-e55f-49d2-a020-dfe441bc6ed3)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [6a445175-1978-40e5-84ae-9af1c9bdf25c] Performing Loco::UuidJob (Job ID: 6a445175-1978-40e5-84ae-9af1c9bdf25c) from Async(loco) with arguments: #<GlobalID:0x00007f951d48e888 @uri=#<URI::GID gid://dummy/User/872278135>>, "3c52b6fc-e55f-49d2-a020-dfe441bc6ed3", "add"
+[ActiveJob] [Loco::UuidJob] [6a445175-1978-40e5-84ae-9af1c9bdf25c] Performed Loco::UuidJob (Job ID: 6a445175-1978-40e5-84ae-9af1c9bdf25c) from Async(loco) in 0.62ms
+ [1m[36mAdmin Load (2.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [a9f6794e-52bc-4055-8d0b-d30451f1bf35] Performing Loco::UuidJob (Job ID: a9f6794e-52bc-4055-8d0b-d30451f1bf35) from Async(loco) with arguments: #<GlobalID:0x00007f9521a8cce0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "3c52b6fc-e55f-49d2-a020-dfe441bc6ed3", "add"
+[ActiveJob] [Loco::UuidJob] [a9f6794e-52bc-4055-8d0b-d30451f1bf35] Performed Loco::UuidJob (Job ID: a9f6794e-52bc-4055-8d0b-d30451f1bf35) from Async(loco) in 0.9ms
+Started GET "/user/articles" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (1.1ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 21ms (Views: 7.1ms | ActiveRecord: 3.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 329a7463-a750-4350-9aa1-8d0e46e2d2e3) to Async(loco) with arguments: #<GlobalID:0x00007f951d49db30 @uri=#<URI::GID gid://dummy/User/872278135>>, "3c52b6fc-e55f-49d2-a020-dfe441bc6ed3", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 379459d6-b770-4e05-9ead-2cf30d642c60) to Async(loco) with arguments: #<GlobalID:0x00007f95215c4aa0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "3c52b6fc-e55f-49d2-a020-dfe441bc6ed3", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:3c52b6fc-e55f-49d2-a020-dfe441bc6ed3
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (4.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [329a7463-a750-4350-9aa1-8d0e46e2d2e3] Performing Loco::UuidJob (Job ID: 329a7463-a750-4350-9aa1-8d0e46e2d2e3) from Async(loco) with arguments: #<GlobalID:0x00007f9521489c80 @uri=#<URI::GID gid://dummy/User/872278135>>, "3c52b6fc-e55f-49d2-a020-dfe441bc6ed3", "del"
+[ActiveJob] [Loco::UuidJob] [329a7463-a750-4350-9aa1-8d0e46e2d2e3] Performed Loco::UuidJob (Job ID: 329a7463-a750-4350-9aa1-8d0e46e2d2e3) from Async(loco) in 0.39ms
+ [1m[36mAdmin Load (1.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [379459d6-b770-4e05-9ead-2cf30d642c60] Performing Loco::UuidJob (Job ID: 379459d6-b770-4e05-9ead-2cf30d642c60) from Async(loco) with arguments: #<GlobalID:0x00007f952147b9f0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "3c52b6fc-e55f-49d2-a020-dfe441bc6ed3", "del"
+[ActiveJob] [Loco::UuidJob] [379459d6-b770-4e05-9ead-2cf30d642c60] Performed Loco::UuidJob (Job ID: 379459d6-b770-4e05-9ead-2cf30d642c60) from Async(loco) in 0.19ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (6.8ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:56 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mArticle Load (2.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (4.1ms)
+ [1m[36mUser Load (3.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (3.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (5.9ms)
+ Rendered user/articles/index.json.jbuilder (14.9ms)
+Completed 200 OK in 31ms (Views: 8.5ms | ActiveRecord: 15.5ms)
+ [1m[36mAdmin Load (9.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["d6eadf3e-0812-49bb-9ed5-74869e3e1a50", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$V.CWHyCmRu.Ee/sfRTbmX.ur1YKdpIRIvIAT1Y7JUZH...", created_at: "2018-01-04 15:13:55", updated_at: "2018-01-04 15:13:55", confirmed_at: "2017-12-28 15:13:55">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$W4X6YD6d52/UltHyZ1set.X/zAn5NArkc2Q55GbcFHz...", created_at: "2018-01-04 15:13:55", updated_at: "2018-01-04 15:13:55">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: a28a2f92-b056-4dda-85f3-bbb51163ab80) to Async(loco) with arguments: "d6eadf3e-0812-49bb-9ed5-74869e3e1a50", {:loco=>{:uuid=>"d6eadf3e-0812-49bb-9ed5-74869e3e1a50"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:d6eadf3e-0812-49bb-9ed5-74869e3e1a50
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: aa9b8f0a-b427-4181-bf36-4d6c293cb044) to Async(loco) with arguments: #<GlobalID:0x00007f9521958ce8 @uri=#<URI::GID gid://dummy/User/872278135>>, "d6eadf3e-0812-49bb-9ed5-74869e3e1a50", "add"
+[ActiveJob] [Loco::SenderJob] [a28a2f92-b056-4dda-85f3-bbb51163ab80] Performing Loco::SenderJob (Job ID: a28a2f92-b056-4dda-85f3-bbb51163ab80) from Async(loco) with arguments: "d6eadf3e-0812-49bb-9ed5-74869e3e1a50", {:loco=>{:uuid=>"d6eadf3e-0812-49bb-9ed5-74869e3e1a50"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 7b6615e4-6e5d-45e6-bf25-bbaac561d1ec) to Async(loco) with arguments: #<GlobalID:0x00007f951d438af0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d6eadf3e-0812-49bb-9ed5-74869e3e1a50", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [a28a2f92-b056-4dda-85f3-bbb51163ab80] [ActionCable] Broadcasting to loco:notification_center:d6eadf3e-0812-49bb-9ed5-74869e3e1a50: {:loco=>{:uuid=>"d6eadf3e-0812-49bb-9ed5-74869e3e1a50"}}
+[ActiveJob] [Loco::UuidJob] [aa9b8f0a-b427-4181-bf36-4d6c293cb044] Performing Loco::UuidJob (Job ID: aa9b8f0a-b427-4181-bf36-4d6c293cb044) from Async(loco) with arguments: #<GlobalID:0x00007f95213e1af8 @uri=#<URI::GID gid://dummy/User/872278135>>, "d6eadf3e-0812-49bb-9ed5-74869e3e1a50", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::UuidJob] [7b6615e4-6e5d-45e6-bf25-bbaac561d1ec] Performing Loco::UuidJob (Job ID: 7b6615e4-6e5d-45e6-bf25-bbaac561d1ec) from Async(loco) with arguments: #<GlobalID:0x00007f95213d9bc8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d6eadf3e-0812-49bb-9ed5-74869e3e1a50", "add"
+[ActiveJob] [Loco::UuidJob] [aa9b8f0a-b427-4181-bf36-4d6c293cb044] Performed Loco::UuidJob (Job ID: aa9b8f0a-b427-4181-bf36-4d6c293cb044) from Async(loco) in 0.64ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::UuidJob] [7b6615e4-6e5d-45e6-bf25-bbaac561d1ec] Performed Loco::UuidJob (Job ID: 7b6615e4-6e5d-45e6-bf25-bbaac561d1ec) from Async(loco) in 0.8ms
+[ActiveJob] [Loco::SenderJob] [a28a2f92-b056-4dda-85f3-bbb51163ab80] Performed Loco::SenderJob (Job ID: a28a2f92-b056-4dda-85f3-bbb51163ab80) from Async(loco) in 8.74ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"d6eadf3e-0812-49bb-9ed5-74869e3e1a50"}} (via streamed from loco:notification_center:d6eadf3e-0812-49bb-9ed5-74869e3e1a50)
+ [1m[36mArticle Load (2.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35mSQL (2.7ms)[0m [1m[33mUPDATE `articles` SET `published_at` = '2018-01-04 15:13:57', `updated_at` = '2018-01-04 15:13:57.444707' WHERE `articles`.`id` = 298486374[0m
+ [1m[35m (10.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updated', '{\"id\":298486374}', 'User', 872278135, '2018-01-04 15:13:57.465313', '2018-01-04 15:13:57.465313')[0m
+ [1m[35m (10.4ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 7d863fd1-e183-40a0-adab-2d947578560e) to Async(loco) with arguments: #<GlobalID:0x00007f9521379c00 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: c14d56ac-d9c8-4c22-8244-f0cc1f1c69e5) to Async(loco) with arguments: #<GlobalID:0x00007f9521369828 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:57.465313Z"}}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [7d863fd1-e183-40a0-adab-2d947578560e] Performing Loco::SenderJob (Job ID: 7d863fd1-e183-40a0-adab-2d947578560e) from Async(loco) with arguments: #<GlobalID:0x00007f9521348bf0 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [7d863fd1-e183-40a0-adab-2d947578560e] [ActionCable] Broadcasting to loco:notification_center:d6eadf3e-0812-49bb-9ed5-74869e3e1a50: {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [7d863fd1-e183-40a0-adab-2d947578560e] Performed Loco::SenderJob (Job ID: 7d863fd1-e183-40a0-adab-2d947578560e) from Async(loco) in 0.49ms
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updated", {"id"=>298486374}]}} (via streamed from loco:notification_center:d6eadf3e-0812-49bb-9ed5-74869e3e1a50)
+[ActiveJob] [Loco::SenderJob] [c14d56ac-d9c8-4c22-8244-f0cc1f1c69e5] Performing Loco::SenderJob (Job ID: c14d56ac-d9c8-4c22-8244-f0cc1f1c69e5) from Async(loco) with arguments: #<GlobalID:0x00007f95213321e8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:57.465313Z"}}
+[ActiveJob] [Loco::SenderJob] [c14d56ac-d9c8-4c22-8244-f0cc1f1c69e5] [ActionCable] Broadcasting to loco:notification_center:d6eadf3e-0812-49bb-9ed5-74869e3e1a50: {:loco=>{:sync_time=>"2018-01-04T15:13:57.465313Z"}}
+[ActiveJob] [Loco::SenderJob] [c14d56ac-d9c8-4c22-8244-f0cc1f1c69e5] Performed Loco::SenderJob (Job ID: c14d56ac-d9c8-4c22-8244-f0cc1f1c69e5) from Async(loco) in 0.42ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:13:57.465313Z"}} (via streamed from loco:notification_center:d6eadf3e-0812-49bb-9ed5-74869e3e1a50)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:13:57 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (3.7ms)
+ Rendered user/articles/show.json.jbuilder (4.4ms)
+Completed 200 OK in 14ms (Views: 3.9ms | ActiveRecord: 3.8ms)
+ [1m[35m (1.2ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (41.8ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (53.5ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (49.5ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (53.8ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (51.5ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A57.465313Z&uuid=d6eadf3e-0812-49bb-9ed5-74869e3e1a50" for 127.0.0.1 at 2018-01-04 16:13:57 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:57.465313Z", "uuid"=>"d6eadf3e-0812-49bb-9ed5-74869e3e1a50"}
+ [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mCACHE Admin Load (0.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m [["id", 298486374], ["LIMIT", 1]]
+ [1m[35m (57.3ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[36mLoco::Notification Load (21.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:57.465313') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:57.465313') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 40ms (Views: 0.2ms | ActiveRecord: 24.7ms)
+ [1m[35m (55.5ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (47.8ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$MshfAmJXArQvC8gcJhY4keV0CCwhf61l2xYF7tPxdXpmpZ4ixxfxa', '2018-01-04 15:13:58.063902', '2018-01-04 15:13:58.063902', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$ftDH/dAgKPji8X.38OZ5een.5Nuw3oNKQr0sKpvIVWe0iteXMj3HG', '2018-01-04 15:13:58.063902', '2018-01-04 15:13:58.063902', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$LEO36qO96k82R9Kz9u4EXuXALHh9ZQOkNuD9iHGXdvS7ugfKhK7qC', '2017-12-28 15:13:58', '2018-01-04 15:13:58.069445', '2018-01-04 15:13:58.069445', 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$Axn39vWKsQOsUNsq3/SGaOmQmhoTQo24sLWsbPUbiXiWxBLoJgDlS', '2018-01-04 15:13:58.069445', '2018-01-04 15:13:58.069445', 15595101)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:13:58', '2018-01-04 15:13:58.074507', '2018-01-04 15:13:58.074507', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:13:58.074507', '2018-01-04 15:13:58.074507', 298486374, 872278135)[0m
+ [1m[35m (9.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------------------------------------
+User::ArticlesListTest: test_should_update_title_of_updated_article_on_the_list
+-------------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 8ca58482-87e1-4528-9cab-8526eae8012e) to Async(loco) with arguments: #<GlobalID:0x00007f9521958ce8 @uri=#<URI::GID gid://dummy/User/872278135>>, "d6eadf3e-0812-49bb-9ed5-74869e3e1a50", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 4e88869f-2cb7-4ef8-8729-b832db210612) to Async(loco) with arguments: #<GlobalID:0x00007f951d438af0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d6eadf3e-0812-49bb-9ed5-74869e3e1a50", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:d6eadf3e-0812-49bb-9ed5-74869e3e1a50
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (5.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [8ca58482-87e1-4528-9cab-8526eae8012e] Performing Loco::UuidJob (Job ID: 8ca58482-87e1-4528-9cab-8526eae8012e) from Async(loco) with arguments: #<GlobalID:0x00007f9521923980 @uri=#<URI::GID gid://dummy/User/872278135>>, "d6eadf3e-0812-49bb-9ed5-74869e3e1a50", "del"
+[ActiveJob] [Loco::UuidJob] [8ca58482-87e1-4528-9cab-8526eae8012e] Performed Loco::UuidJob (Job ID: 8ca58482-87e1-4528-9cab-8526eae8012e) from Async(loco) in 0.8ms
+ [1m[36mAdmin Load (12.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [4e88869f-2cb7-4ef8-8729-b832db210612] Performing Loco::UuidJob (Job ID: 4e88869f-2cb7-4ef8-8729-b832db210612) from Async(loco) with arguments: #<GlobalID:0x00007f952191a2b8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "d6eadf3e-0812-49bb-9ed5-74869e3e1a50", "del"
+[ActiveJob] [Loco::UuidJob] [4e88869f-2cb7-4ef8-8729-b832db210612] Performed Loco::UuidJob (Job ID: 4e88869f-2cb7-4ef8-8729-b832db210612) from Async(loco) in 0.28ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (4.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (5.1ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (3.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mAdmin Load (21.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["fb4f0b91-4f80-41e6-ab2a-a2fc32658db5", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$LEO36qO96k82R9Kz9u4EXuXALHh9ZQOkNuD9iHGXdvS...", created_at: "2018-01-04 15:13:58", updated_at: "2018-01-04 15:13:58", confirmed_at: "2017-12-28 15:13:58">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$ftDH/dAgKPji8X.38OZ5een.5Nuw3oNKQr0sKpvIVWe...", created_at: "2018-01-04 15:13:58", updated_at: "2018-01-04 15:13:58">])
+ [1m[36mUser Load (13.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: ad15589e-e7b4-4e28-b4af-4599b3965925) to Async(loco) with arguments: "fb4f0b91-4f80-41e6-ab2a-a2fc32658db5", {:loco=>{:uuid=>"fb4f0b91-4f80-41e6-ab2a-a2fc32658db5"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 3ef5094d-f7f7-46b7-a81f-bab6b78fd2a6) to Async(loco) with arguments: #<GlobalID:0x00007f951cbfb450 @uri=#<URI::GID gid://dummy/User/872278135>>, "fb4f0b91-4f80-41e6-ab2a-a2fc32658db5", "add"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 105a8d84-1f94-4fa5-be38-6389be5b08e5) to Async(loco) with arguments: #<GlobalID:0x00007f951cbf83e0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "fb4f0b91-4f80-41e6-ab2a-a2fc32658db5", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [ad15589e-e7b4-4e28-b4af-4599b3965925] Performing Loco::SenderJob (Job ID: ad15589e-e7b4-4e28-b4af-4599b3965925) from Async(loco) with arguments: "fb4f0b91-4f80-41e6-ab2a-a2fc32658db5", {:loco=>{:uuid=>"fb4f0b91-4f80-41e6-ab2a-a2fc32658db5"}}
+ [1m[35m (7.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:fb4f0b91-4f80-41e6-ab2a-a2fc32658db5
+[ActiveJob] [Loco::SenderJob] [ad15589e-e7b4-4e28-b4af-4599b3965925] [ActionCable] Broadcasting to loco:notification_center:fb4f0b91-4f80-41e6-ab2a-a2fc32658db5: {:loco=>{:uuid=>"fb4f0b91-4f80-41e6-ab2a-a2fc32658db5"}}
+ Rendered main/articles/_article_for_list.json.jbuilder (11.0ms)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+ Rendered main/articles/index.json.jbuilder (35.0ms)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+Completed 200 OK in 51ms (Views: 12.4ms | ActiveRecord: 29.3ms)
+[ActiveJob] [Loco::SenderJob] [ad15589e-e7b4-4e28-b4af-4599b3965925] Performed Loco::SenderJob (Job ID: ad15589e-e7b4-4e28-b4af-4599b3965925) from Async(loco) in 3.6ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"fb4f0b91-4f80-41e6-ab2a-a2fc32658db5"}} (via streamed from loco:notification_center:fb4f0b91-4f80-41e6-ab2a-a2fc32658db5)
+ [1m[36mAdmin Load (11.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [105a8d84-1f94-4fa5-be38-6389be5b08e5] Performing Loco::UuidJob (Job ID: 105a8d84-1f94-4fa5-be38-6389be5b08e5) from Async(loco) with arguments: #<GlobalID:0x00007f951cbe5f60 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "fb4f0b91-4f80-41e6-ab2a-a2fc32658db5", "add"
+[ActiveJob] [Loco::UuidJob] [105a8d84-1f94-4fa5-be38-6389be5b08e5] Performed Loco::UuidJob (Job ID: 105a8d84-1f94-4fa5-be38-6389be5b08e5) from Async(loco) in 0.86ms
+ [1m[36mUser Load (14.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [3ef5094d-f7f7-46b7-a81f-bab6b78fd2a6] Performing Loco::UuidJob (Job ID: 3ef5094d-f7f7-46b7-a81f-bab6b78fd2a6) from Async(loco) with arguments: #<GlobalID:0x00007f951d3fdce8 @uri=#<URI::GID gid://dummy/User/872278135>>, "fb4f0b91-4f80-41e6-ab2a-a2fc32658db5", "add"
+[ActiveJob] [Loco::UuidJob] [3ef5094d-f7f7-46b7-a81f-bab6b78fd2a6] Performed Loco::UuidJob (Job ID: 3ef5094d-f7f7-46b7-a81f-bab6b78fd2a6) from Async(loco) in 0.81ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.6ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.1ms)
+ Rendered layouts/_head.html.erb (1.4ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (1.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 1.1ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 56bec8a2-58ac-454b-bc75-7545c5c8f7e6) to Async(loco) with arguments: #<GlobalID:0x00007f951cbfb450 @uri=#<URI::GID gid://dummy/User/872278135>>, "fb4f0b91-4f80-41e6-ab2a-a2fc32658db5", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 961bcd5f-43b5-4190-84db-e279757682a7) to Async(loco) with arguments: #<GlobalID:0x00007f951cbf83e0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "fb4f0b91-4f80-41e6-ab2a-a2fc32658db5", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:fb4f0b91-4f80-41e6-ab2a-a2fc32658db5
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [56bec8a2-58ac-454b-bc75-7545c5c8f7e6] Performing Loco::UuidJob (Job ID: 56bec8a2-58ac-454b-bc75-7545c5c8f7e6) from Async(loco) with arguments: #<GlobalID:0x00007f951d2adde8 @uri=#<URI::GID gid://dummy/User/872278135>>, "fb4f0b91-4f80-41e6-ab2a-a2fc32658db5", "del"
+[ActiveJob] [Loco::UuidJob] [56bec8a2-58ac-454b-bc75-7545c5c8f7e6] Performed Loco::UuidJob (Job ID: 56bec8a2-58ac-454b-bc75-7545c5c8f7e6) from Async(loco) in 0.31ms
+ [1m[36mAdmin Load (2.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [961bcd5f-43b5-4190-84db-e279757682a7] Performing Loco::UuidJob (Job ID: 961bcd5f-43b5-4190-84db-e279757682a7) from Async(loco) with arguments: #<GlobalID:0x00007f951ca8f2d8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "fb4f0b91-4f80-41e6-ab2a-a2fc32658db5", "del"
+[ActiveJob] [Loco::UuidJob] [961bcd5f-43b5-4190-84db-e279757682a7] Performed Loco::UuidJob (Job ID: 961bcd5f-43b5-4190-84db-e279757682a7) from Async(loco) in 0.21ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (2.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (5.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (8.4ms)
+ [1m[36mUser Load (3.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ [1m[36mAdmin Load (1.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (4.5ms)
+[AC] [-] [872278135] [298486374] Registered connection (["aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$LEO36qO96k82R9Kz9u4EXuXALHh9ZQOkNuD9iHGXdvS...", created_at: "2018-01-04 15:13:58", updated_at: "2018-01-04 15:13:58", confirmed_at: "2017-12-28 15:13:58">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$ftDH/dAgKPji8X.38OZ5een.5Nuw3oNKQr0sKpvIVWe...", created_at: "2018-01-04 15:13:58", updated_at: "2018-01-04 15:13:58">])
+ Rendered user/articles/index.json.jbuilder (19.9ms)
+Completed 200 OK in 36ms (Views: 15.3ms | ActiveRecord: 12.3ms)
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: c852c040-9878-4875-9f78-3a7a53df5df8) to Async(loco) with arguments: "aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7", {:loco=>{:uuid=>"aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7
+[ActiveJob] [Loco::SenderJob] [c852c040-9878-4875-9f78-3a7a53df5df8] Performing Loco::SenderJob (Job ID: c852c040-9878-4875-9f78-3a7a53df5df8) from Async(loco) with arguments: "aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7", {:loco=>{:uuid=>"aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: a3b3af9e-8d40-4077-b710-48575934eb3e) to Async(loco) with arguments: #<GlobalID:0x00007f951f6e3b18 @uri=#<URI::GID gid://dummy/User/872278135>>, "aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7", "add"
+[ActiveJob] [Loco::SenderJob] [c852c040-9878-4875-9f78-3a7a53df5df8] [ActionCable] Broadcasting to loco:notification_center:aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7: {:loco=>{:uuid=>"aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7"}}
+ [1m[36mUser Load (3.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 2c0254b6-bc6d-4071-8e72-fc2c30306e4e) to Async(loco) with arguments: #<GlobalID:0x00007f951beeace8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [a3b3af9e-8d40-4077-b710-48575934eb3e] Performing Loco::UuidJob (Job ID: a3b3af9e-8d40-4077-b710-48575934eb3e) from Async(loco) with arguments: #<GlobalID:0x00007f951c9229e0 @uri=#<URI::GID gid://dummy/User/872278135>>, "aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7", "add"
+[ActiveJob] [Loco::SenderJob] [c852c040-9878-4875-9f78-3a7a53df5df8] Performed Loco::SenderJob (Job ID: c852c040-9878-4875-9f78-3a7a53df5df8) from Async(loco) in 9.53ms
+[ActiveJob] [Loco::UuidJob] [2c0254b6-bc6d-4071-8e72-fc2c30306e4e] Performing Loco::UuidJob (Job ID: 2c0254b6-bc6d-4071-8e72-fc2c30306e4e) from Async(loco) with arguments: #<GlobalID:0x00007f951c929038 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7", "add"
+[ActiveJob] [Loco::UuidJob] [2c0254b6-bc6d-4071-8e72-fc2c30306e4e] Performed Loco::UuidJob (Job ID: 2c0254b6-bc6d-4071-8e72-fc2c30306e4e) from Async(loco) in 0.77ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7"}} (via streamed from loco:notification_center:aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7)
+[ActiveJob] [Loco::UuidJob] [a3b3af9e-8d40-4077-b710-48575934eb3e] Performed Loco::UuidJob (Job ID: a3b3af9e-8d40-4077-b710-48575934eb3e) from Async(loco) in 0.95ms
+Started GET "/user/articles" for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (2.2ms)
+ Rendered layouts/_flash.html.erb (0.4ms)
+Completed 200 OK in 12ms (Views: 6.1ms | ActiveRecord: 2.3ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:58 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 2cc587f8-2db3-4429-8272-4d038fbbb5f1) to Async(loco) with arguments: #<GlobalID:0x00007f951f6e3b18 @uri=#<URI::GID gid://dummy/User/872278135>>, "aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 6af83b2d-fe49-4358-a99b-f63b1688453c) to Async(loco) with arguments: #<GlobalID:0x00007f951beeace8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [2cc587f8-2db3-4429-8272-4d038fbbb5f1] Performing Loco::UuidJob (Job ID: 2cc587f8-2db3-4429-8272-4d038fbbb5f1) from Async(loco) with arguments: #<GlobalID:0x00007f9524132ed0 @uri=#<URI::GID gid://dummy/User/872278135>>, "aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7", "del"
+[ActiveJob] [Loco::UuidJob] [2cc587f8-2db3-4429-8272-4d038fbbb5f1] Performed Loco::UuidJob (Job ID: 2cc587f8-2db3-4429-8272-4d038fbbb5f1) from Async(loco) in 0.29ms
+ [1m[36mAdmin Load (2.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [6af83b2d-fe49-4358-a99b-f63b1688453c] Performing Loco::UuidJob (Job ID: 6af83b2d-fe49-4358-a99b-f63b1688453c) from Async(loco) with arguments: #<GlobalID:0x00007f95239482d8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "aa7d8822-7131-4ac3-90ee-0eaccf8b7dc7", "del"
+[ActiveJob] [Loco::UuidJob] [6af83b2d-fe49-4358-a99b-f63b1688453c] Performed Loco::UuidJob (Job ID: 6af83b2d-fe49-4358-a99b-f63b1688453c) from Async(loco) in 0.24ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:59 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:13:59 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:13:59 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:13:59 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:13:59 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mArticle Load (6.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (2.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (5.0ms)
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (4.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (6.1ms)
+ Rendered user/articles/index.json.jbuilder (22.2ms)
+Completed 200 OK in 33ms (Views: 9.6ms | ActiveRecord: 17.3ms)
+ [1m[36mAdmin Load (6.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["06de6ac2-26cb-49d0-8fd0-476cab9578a6", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$LEO36qO96k82R9Kz9u4EXuXALHh9ZQOkNuD9iHGXdvS...", created_at: "2018-01-04 15:13:58", updated_at: "2018-01-04 15:13:58", confirmed_at: "2017-12-28 15:13:58">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$ftDH/dAgKPji8X.38OZ5een.5Nuw3oNKQr0sKpvIVWe...", created_at: "2018-01-04 15:13:58", updated_at: "2018-01-04 15:13:58">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 3470d5ac-b388-4dd3-8bab-d467bf310e49) to Async(loco) with arguments: "06de6ac2-26cb-49d0-8fd0-476cab9578a6", {:loco=>{:uuid=>"06de6ac2-26cb-49d0-8fd0-476cab9578a6"}}
+[ActiveJob] [Loco::SenderJob] [3470d5ac-b388-4dd3-8bab-d467bf310e49] Performing Loco::SenderJob (Job ID: 3470d5ac-b388-4dd3-8bab-d467bf310e49) from Async(loco) with arguments: "06de6ac2-26cb-49d0-8fd0-476cab9578a6", {:loco=>{:uuid=>"06de6ac2-26cb-49d0-8fd0-476cab9578a6"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: d55de949-7724-4b8e-b70d-e72f7d1cd20d) to Async(loco) with arguments: #<GlobalID:0x00007f952409ace8 @uri=#<URI::GID gid://dummy/User/872278135>>, "06de6ac2-26cb-49d0-8fd0-476cab9578a6", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:06de6ac2-26cb-49d0-8fd0-476cab9578a6
+[ActiveJob] [Loco::SenderJob] [3470d5ac-b388-4dd3-8bab-d467bf310e49] [ActionCable] Broadcasting to loco:notification_center:06de6ac2-26cb-49d0-8fd0-476cab9578a6: {:loco=>{:uuid=>"06de6ac2-26cb-49d0-8fd0-476cab9578a6"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: b3063354-b16b-47ed-8e8d-295ef7bfdec9) to Async(loco) with arguments: #<GlobalID:0x00007f9523419cd0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "06de6ac2-26cb-49d0-8fd0-476cab9578a6", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[ActiveJob] [Loco::SenderJob] [3470d5ac-b388-4dd3-8bab-d467bf310e49] Performed Loco::SenderJob (Job ID: 3470d5ac-b388-4dd3-8bab-d467bf310e49) from Async(loco) in 4.49ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"06de6ac2-26cb-49d0-8fd0-476cab9578a6"}} (via streamed from loco:notification_center:06de6ac2-26cb-49d0-8fd0-476cab9578a6)
+ [1m[36mUser Load (3.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [d55de949-7724-4b8e-b70d-e72f7d1cd20d] Performing Loco::UuidJob (Job ID: d55de949-7724-4b8e-b70d-e72f7d1cd20d) from Async(loco) with arguments: #<GlobalID:0x00007f95238bb108 @uri=#<URI::GID gid://dummy/User/872278135>>, "06de6ac2-26cb-49d0-8fd0-476cab9578a6", "add"
+[ActiveJob] [Loco::UuidJob] [d55de949-7724-4b8e-b70d-e72f7d1cd20d] Performed Loco::UuidJob (Job ID: d55de949-7724-4b8e-b70d-e72f7d1cd20d) from Async(loco) in 0.57ms
+ [1m[36mAdmin Load (2.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [b3063354-b16b-47ed-8e8d-295ef7bfdec9] Performing Loco::UuidJob (Job ID: b3063354-b16b-47ed-8e8d-295ef7bfdec9) from Async(loco) with arguments: #<GlobalID:0x00007f9523405050 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "06de6ac2-26cb-49d0-8fd0-476cab9578a6", "add"
+[ActiveJob] [Loco::UuidJob] [b3063354-b16b-47ed-8e8d-295ef7bfdec9] Performed Loco::UuidJob (Job ID: b3063354-b16b-47ed-8e8d-295ef7bfdec9) from Async(loco) in 0.57ms
+ [1m[36mArticle Load (2.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35mSQL (1.6ms)[0m [1m[33mUPDATE `articles` SET `title` = 'WiAR', `text` = 'Lorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum II', `updated_at` = '2018-01-04 15:13:59.584442' WHERE `articles`.`id` = 298486374[0m
+ [1m[35m (13.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updated', '{\"id\":298486374}', 'User', 872278135, '2018-01-04 15:13:59.606969', '2018-01-04 15:13:59.606969')[0m
+ [1m[35m (11.2ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 868c448f-7343-4cc8-b3b3-0346b95695d4) to Async(loco) with arguments: #<GlobalID:0x00007f9521fee5a8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: ce0db3fe-a04a-40a9-a524-4a8425403914) to Async(loco) with arguments: #<GlobalID:0x00007f9521fe4f58 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:59.606969Z"}}
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [ce0db3fe-a04a-40a9-a524-4a8425403914] Performing Loco::SenderJob (Job ID: ce0db3fe-a04a-40a9-a524-4a8425403914) from Async(loco) with arguments: #<GlobalID:0x00007f9524046800 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:13:59.606969Z"}}
+ [1m[36mUser Load (3.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [ce0db3fe-a04a-40a9-a524-4a8425403914] [ActionCable] Broadcasting to loco:notification_center:06de6ac2-26cb-49d0-8fd0-476cab9578a6: {:loco=>{:sync_time=>"2018-01-04T15:13:59.606969Z"}}
+[ActiveJob] [Loco::SenderJob] [ce0db3fe-a04a-40a9-a524-4a8425403914] Performed Loco::SenderJob (Job ID: ce0db3fe-a04a-40a9-a524-4a8425403914) from Async(loco) in 1.69ms
+[ActiveJob] [Loco::SenderJob] [868c448f-7343-4cc8-b3b3-0346b95695d4] Performing Loco::SenderJob (Job ID: 868c448f-7343-4cc8-b3b3-0346b95695d4) from Async(loco) with arguments: #<GlobalID:0x00007f95233c5040 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:13:59.606969Z"}} (via streamed from loco:notification_center:06de6ac2-26cb-49d0-8fd0-476cab9578a6)
+[ActiveJob] [Loco::SenderJob] [868c448f-7343-4cc8-b3b3-0346b95695d4] [ActionCable] Broadcasting to loco:notification_center:06de6ac2-26cb-49d0-8fd0-476cab9578a6: {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [868c448f-7343-4cc8-b3b3-0346b95695d4] Performed Loco::SenderJob (Job ID: 868c448f-7343-4cc8-b3b3-0346b95695d4) from Async(loco) in 0.93ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updated", {"id"=>298486374}]}} (via streamed from loco:notification_center:06de6ac2-26cb-49d0-8fd0-476cab9578a6)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:13:59 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (3.1ms)
+ Rendered user/articles/show.json.jbuilder (3.7ms)
+Completed 200 OK in 13ms (Views: 3.0ms | ActiveRecord: 4.5ms)
+ [1m[35m (1.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (42.1ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (52.5ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (46.4ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (57.8ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (62.6ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (52.3ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A13%3A59.606969Z&uuid=06de6ac2-26cb-49d0-8fd0-476cab9578a6" for 127.0.0.1 at 2018-01-04 16:14:00 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:13:59.606969Z", "uuid"=>"06de6ac2-26cb-49d0-8fd0-476cab9578a6"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mCACHE Admin Load (0.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m [["id", 298486374], ["LIMIT", 1]]
+ [1m[35m (43.4ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[36mLoco::Notification Load (17.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:59.606969') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:13:59.606969') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 32ms (Views: 0.2ms | ActiveRecord: 21.5ms)
+ [1m[35m (52.2ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$C1LO3ZHgiUu1xtF1E9TW4uwQyNSldS9.OjJR2lZL7kF57WOjvnY9W', '2018-01-04 15:14:00.137082', '2018-01-04 15:14:00.137082', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$Cbx1VSXwjp8VQIuBPNp3RuSv9Fttz1C1BojhWPU/mWw80bu6zkc5O', '2018-01-04 15:14:00.137082', '2018-01-04 15:14:00.137082', 298486374)[0m
+ [1m[36mFixture Delete (1.3ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$xQmoR57bI8KDX0P2F0Z1G.Ie9Wgp793d6dlL.sjNpVWTciUSVOYbG', '2017-12-28 15:14:00', '2018-01-04 15:14:00.142713', '2018-01-04 15:14:00.142713', 872278135)[0m
+ [1m[36mFixture Insert (1.6ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$xSITM4CSDFYV3Eom9VMk0eJj7YM9Jw8QX2VsIJhig.ydmcKNZ8FCe', '2018-01-04 15:14:00.142713', '2018-01-04 15:14:00.142713', 15595101)[0m
+ [1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.4ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:14:00', '2018-01-04 15:14:00.149341', '2018-01-04 15:14:00.149341', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:14:00.149341', '2018-01-04 15:14:00.149341', 298486374, 872278135)[0m
+ [1m[35m (9.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+--------------------------------------------------------------------------------
+User::ArticlesListTest: test_should_update_number_of_comments_if_one_was_deleted
+--------------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:14:00 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.2ms)
+ Rendered layouts/_head.html.erb (2.7ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:00 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 1491a9e7-0c8c-4d00-afd2-4778b04b509a) to Async(loco) with arguments: #<GlobalID:0x00007f952409ace8 @uri=#<URI::GID gid://dummy/User/872278135>>, "06de6ac2-26cb-49d0-8fd0-476cab9578a6", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 74c1c7d6-96b3-4549-a802-55631c95da92) to Async(loco) with arguments: #<GlobalID:0x00007f9523419cd0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "06de6ac2-26cb-49d0-8fd0-476cab9578a6", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:06de6ac2-26cb-49d0-8fd0-476cab9578a6
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:00 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:00 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (29.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:00 +0100
+ [1m[36mAdmin Load (21.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [74c1c7d6-96b3-4549-a802-55631c95da92] Performing Loco::UuidJob (Job ID: 74c1c7d6-96b3-4549-a802-55631c95da92) from Async(loco) with arguments: #<GlobalID:0x00007f9523110e30 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "06de6ac2-26cb-49d0-8fd0-476cab9578a6", "del"
+[ActiveJob] [Loco::UuidJob] [1491a9e7-0c8c-4d00-afd2-4778b04b509a] Performing Loco::UuidJob (Job ID: 1491a9e7-0c8c-4d00-afd2-4778b04b509a) from Async(loco) with arguments: #<GlobalID:0x00007f952311bba0 @uri=#<URI::GID gid://dummy/User/872278135>>, "06de6ac2-26cb-49d0-8fd0-476cab9578a6", "del"
+Processing by Main::ArticlesController#index as JSON
+[ActiveJob] [Loco::UuidJob] [74c1c7d6-96b3-4549-a802-55631c95da92] Performed Loco::UuidJob (Job ID: 74c1c7d6-96b3-4549-a802-55631c95da92) from Async(loco) in 0.87ms
+[ActiveJob] [Loco::UuidJob] [1491a9e7-0c8c-4d00-afd2-4778b04b509a] Performed Loco::UuidJob (Job ID: 1491a9e7-0c8c-4d00-afd2-4778b04b509a) from Async(loco) in 0.29ms
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[35m (7.6ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (2.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:00 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:00 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (8.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[36mUser Load (5.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (3.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (5.7ms)
+ Rendered main/articles/index.json.jbuilder (21.3ms)
+Completed 200 OK in 36ms (Views: 8.4ms | ActiveRecord: 21.5ms)
+ [1m[36mAdmin Load (20.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["f910163e-5485-4ffc-97b7-c84b44cbb33e", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$xQmoR57bI8KDX0P2F0Z1G.Ie9Wgp793d6dlL.sjNpVW...", created_at: "2018-01-04 15:14:00", updated_at: "2018-01-04 15:14:00", confirmed_at: "2017-12-28 15:14:00">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$Cbx1VSXwjp8VQIuBPNp3RuSv9Fttz1C1BojhWPU/mWw...", created_at: "2018-01-04 15:14:00", updated_at: "2018-01-04 15:14:00">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: ff09c51a-b4e7-4cf7-a3ae-da0db6d1c3f3) to Async(loco) with arguments: "f910163e-5485-4ffc-97b7-c84b44cbb33e", {:loco=>{:uuid=>"f910163e-5485-4ffc-97b7-c84b44cbb33e"}}
+[ActiveJob] [Loco::SenderJob] [ff09c51a-b4e7-4cf7-a3ae-da0db6d1c3f3] Performing Loco::SenderJob (Job ID: ff09c51a-b4e7-4cf7-a3ae-da0db6d1c3f3) from Async(loco) with arguments: "f910163e-5485-4ffc-97b7-c84b44cbb33e", {:loco=>{:uuid=>"f910163e-5485-4ffc-97b7-c84b44cbb33e"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:f910163e-5485-4ffc-97b7-c84b44cbb33e
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 5fc3a4c7-5dad-4d4a-a038-12cf53290ac9) to Async(loco) with arguments: #<GlobalID:0x00007f95230d5e48 @uri=#<URI::GID gid://dummy/User/872278135>>, "f910163e-5485-4ffc-97b7-c84b44cbb33e", "add"
+[ActiveJob] [Loco::SenderJob] [ff09c51a-b4e7-4cf7-a3ae-da0db6d1c3f3] [ActionCable] Broadcasting to loco:notification_center:f910163e-5485-4ffc-97b7-c84b44cbb33e: {:loco=>{:uuid=>"f910163e-5485-4ffc-97b7-c84b44cbb33e"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 1e08eac8-c0bf-4f84-86fe-9ed9fc89408d) to Async(loco) with arguments: #<GlobalID:0x00007f951d69fd48 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "f910163e-5485-4ffc-97b7-c84b44cbb33e", "add"
+[ActiveJob] [Loco::SenderJob] [ff09c51a-b4e7-4cf7-a3ae-da0db6d1c3f3] Performed Loco::SenderJob (Job ID: ff09c51a-b4e7-4cf7-a3ae-da0db6d1c3f3) from Async(loco) in 3.45ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"f910163e-5485-4ffc-97b7-c84b44cbb33e"}} (via streamed from loco:notification_center:f910163e-5485-4ffc-97b7-c84b44cbb33e)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (4.7ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [1e08eac8-c0bf-4f84-86fe-9ed9fc89408d] Performing Loco::UuidJob (Job ID: 1e08eac8-c0bf-4f84-86fe-9ed9fc89408d) from Async(loco) with arguments: #<GlobalID:0x00007f95230cc370 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "f910163e-5485-4ffc-97b7-c84b44cbb33e", "add"
+[ActiveJob] [Loco::UuidJob] [1e08eac8-c0bf-4f84-86fe-9ed9fc89408d] Performed Loco::UuidJob (Job ID: 1e08eac8-c0bf-4f84-86fe-9ed9fc89408d) from Async(loco) in 1.31ms
+ [1m[36mUser Load (4.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [5fc3a4c7-5dad-4d4a-a038-12cf53290ac9] Performing Loco::UuidJob (Job ID: 5fc3a4c7-5dad-4d4a-a038-12cf53290ac9) from Async(loco) with arguments: #<GlobalID:0x00007f95230c6da8 @uri=#<URI::GID gid://dummy/User/872278135>>, "f910163e-5485-4ffc-97b7-c84b44cbb33e", "add"
+[ActiveJob] [Loco::UuidJob] [5fc3a4c7-5dad-4d4a-a038-12cf53290ac9] Performed Loco::UuidJob (Job ID: 5fc3a4c7-5dad-4d4a-a038-12cf53290ac9) from Async(loco) in 0.84ms
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:14:00 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.4ms)
+ Rendered user/sessions/new.html.erb within layouts/application (0.9ms)
+ Rendered layouts/_head.html.erb (1.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:00 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:14:00 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 8ms (ActiveRecord: 1.8ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:14:00 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.3ms)
+ Rendered layouts/_head.html.erb (2.7ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 12ms (Views: 6.1ms | ActiveRecord: 2.3ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 7bf28eab-4f2b-4ec3-bedb-f9fc11e06f4f) to Async(loco) with arguments: #<GlobalID:0x00007f95230d5e48 @uri=#<URI::GID gid://dummy/User/872278135>>, "f910163e-5485-4ffc-97b7-c84b44cbb33e", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 195ad58b-1256-4534-95d6-61a09bacca66) to Async(loco) with arguments: #<GlobalID:0x00007f951d69fd48 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "f910163e-5485-4ffc-97b7-c84b44cbb33e", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:f910163e-5485-4ffc-97b7-c84b44cbb33e
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [7bf28eab-4f2b-4ec3-bedb-f9fc11e06f4f] Performing Loco::UuidJob (Job ID: 7bf28eab-4f2b-4ec3-bedb-f9fc11e06f4f) from Async(loco) with arguments: #<GlobalID:0x00007f9521bc8b68 @uri=#<URI::GID gid://dummy/User/872278135>>, "f910163e-5485-4ffc-97b7-c84b44cbb33e", "del"
+[ActiveJob] [Loco::UuidJob] [7bf28eab-4f2b-4ec3-bedb-f9fc11e06f4f] Performed Loco::UuidJob (Job ID: 7bf28eab-4f2b-4ec3-bedb-f9fc11e06f4f) from Async(loco) in 0.33ms
+ [1m[36mAdmin Load (1.9ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [195ad58b-1256-4534-95d6-61a09bacca66] Performing Loco::UuidJob (Job ID: 195ad58b-1256-4534-95d6-61a09bacca66) from Async(loco) with arguments: #<GlobalID:0x00007f95217db8e8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "f910163e-5485-4ffc-97b7-c84b44cbb33e", "del"
+[ActiveJob] [Loco::UuidJob] [195ad58b-1256-4534-95d6-61a09bacca66] Performed Loco::UuidJob (Job ID: 195ad58b-1256-4534-95d6-61a09bacca66) from Async(loco) in 0.23ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (4.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (2.6ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (3.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (4.4ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (3.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (5.8ms)
+ Rendered user/articles/index.json.jbuilder (17.2ms)
+Completed 200 OK in 33ms (Views: 9.2ms | ActiveRecord: 15.7ms)
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["fe0b9aec-c5ba-49b8-ba74-098699171b26", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$xQmoR57bI8KDX0P2F0Z1G.Ie9Wgp793d6dlL.sjNpVW...", created_at: "2018-01-04 15:14:00", updated_at: "2018-01-04 15:14:00", confirmed_at: "2017-12-28 15:14:00">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$Cbx1VSXwjp8VQIuBPNp3RuSv9Fttz1C1BojhWPU/mWw...", created_at: "2018-01-04 15:14:00", updated_at: "2018-01-04 15:14:00">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: e6ff9e29-b96d-4f75-9cd9-c0d8ae53f317) to Async(loco) with arguments: "fe0b9aec-c5ba-49b8-ba74-098699171b26", {:loco=>{:uuid=>"fe0b9aec-c5ba-49b8-ba74-098699171b26"}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:fe0b9aec-c5ba-49b8-ba74-098699171b26
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 8e40c628-2f64-4572-b612-9eb97f8e3c25) to Async(loco) with arguments: #<GlobalID:0x00007f951d6044b0 @uri=#<URI::GID gid://dummy/User/872278135>>, "fe0b9aec-c5ba-49b8-ba74-098699171b26", "add"
+[ActiveJob] [Loco::SenderJob] [e6ff9e29-b96d-4f75-9cd9-c0d8ae53f317] Performing Loco::SenderJob (Job ID: e6ff9e29-b96d-4f75-9cd9-c0d8ae53f317) from Async(loco) with arguments: "fe0b9aec-c5ba-49b8-ba74-098699171b26", {:loco=>{:uuid=>"fe0b9aec-c5ba-49b8-ba74-098699171b26"}}
+[ActiveJob] [Loco::SenderJob] [e6ff9e29-b96d-4f75-9cd9-c0d8ae53f317] [ActionCable] Broadcasting to loco:notification_center:fe0b9aec-c5ba-49b8-ba74-098699171b26: {:loco=>{:uuid=>"fe0b9aec-c5ba-49b8-ba74-098699171b26"}}
+[ActiveJob] [Loco::SenderJob] [e6ff9e29-b96d-4f75-9cd9-c0d8ae53f317] Performed Loco::SenderJob (Job ID: e6ff9e29-b96d-4f75-9cd9-c0d8ae53f317) from Async(loco) in 0.44ms
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: fae1b066-5254-4d67-a5ef-4f6250a78a1f) to Async(loco) with arguments: #<GlobalID:0x00007f9521b54038 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "fe0b9aec-c5ba-49b8-ba74-098699171b26", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"fe0b9aec-c5ba-49b8-ba74-098699171b26"}} (via streamed from loco:notification_center:fe0b9aec-c5ba-49b8-ba74-098699171b26)
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+ [1m[36mAdmin Load (6.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [fae1b066-5254-4d67-a5ef-4f6250a78a1f] Performing Loco::UuidJob (Job ID: fae1b066-5254-4d67-a5ef-4f6250a78a1f) from Async(loco) with arguments: #<GlobalID:0x00007f951d5ee2f0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "fe0b9aec-c5ba-49b8-ba74-098699171b26", "add"
+[ActiveJob] [Loco::UuidJob] [fae1b066-5254-4d67-a5ef-4f6250a78a1f] Performed Loco::UuidJob (Job ID: fae1b066-5254-4d67-a5ef-4f6250a78a1f) from Async(loco) in 0.74ms
+ [1m[36mUser Load (14.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [8e40c628-2f64-4572-b612-9eb97f8e3c25] Performing Loco::UuidJob (Job ID: 8e40c628-2f64-4572-b612-9eb97f8e3c25) from Async(loco) with arguments: #<GlobalID:0x00007f9521b33b30 @uri=#<URI::GID gid://dummy/User/872278135>>, "fe0b9aec-c5ba-49b8-ba74-098699171b26", "add"
+[ActiveJob] [Loco::UuidJob] [8e40c628-2f64-4572-b612-9eb97f8e3c25] Performed Loco::UuidJob (Job ID: 8e40c628-2f64-4572-b612-9eb97f8e3c25) from Async(loco) in 0.69ms
+ [1m[36mArticle Load (1.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 980190962 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 980190962, '2018-01-04 15:14:01.234298', '2018-01-04 15:14:01.234298', 0, 0, 3)[0m
+ [1m[35m (13.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:14:01.252459', '2018-01-04 15:14:01.252459')[0m
+ [1m[35m (11.9ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [304d6237-7886-4e88-858b-7e7e3548894f] Performing Loco::SenderJob (Job ID: 304d6237-7886-4e88-858b-7e7e3548894f) from Async(loco) with arguments: "fe0b9aec-c5ba-49b8-ba74-098699171b26", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [304d6237-7886-4e88-858b-7e7e3548894f] [ActionCable] Broadcasting to loco:notification_center:fe0b9aec-c5ba-49b8-ba74-098699171b26: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [304d6237-7886-4e88-858b-7e7e3548894f] Performed Loco::SenderJob (Job ID: 304d6237-7886-4e88-858b-7e7e3548894f) from Async(loco) in 0.19ms
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 304d6237-7886-4e88-858b-7e7e3548894f) to Async(loco) with arguments: "fe0b9aec-c5ba-49b8-ba74-098699171b26", {:loco=>{:xhr_notifications=>true}}
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:fe0b9aec-c5ba-49b8-ba74-098699171b26)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A01.050830Z&uuid=fe0b9aec-c5ba-49b8-ba74-098699171b26" for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:01.050830Z", "uuid"=>"fe0b9aec-c5ba-49b8-ba74-098699171b26"}
+ [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:01.050830') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:01.050830') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:01.050830') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 6.5ms)
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (0.9ms)[0m [1m[31mDELETE FROM `comments` WHERE `comments`.`id` = 1[0m
+ [1m[35m (11.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'destroyed', '{\"article_id\":980190962,\"id\":1}', '2018-01-04 15:14:01.340205', '2018-01-04 15:14:01.340205')[0m
+ [1m[35m (11.3ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: ed788932-6981-4d93-8278-49badfb355bf) to Async(loco) with arguments: "fe0b9aec-c5ba-49b8-ba74-098699171b26", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [ed788932-6981-4d93-8278-49badfb355bf] Performing Loco::SenderJob (Job ID: ed788932-6981-4d93-8278-49badfb355bf) from Async(loco) with arguments: "fe0b9aec-c5ba-49b8-ba74-098699171b26", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [ed788932-6981-4d93-8278-49badfb355bf] [ActionCable] Broadcasting to loco:notification_center:fe0b9aec-c5ba-49b8-ba74-098699171b26: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [ed788932-6981-4d93-8278-49badfb355bf] Performed Loco::SenderJob (Job ID: ed788932-6981-4d93-8278-49badfb355bf) from Async(loco) in 0.38ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:fe0b9aec-c5ba-49b8-ba74-098699171b26)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A01.287066Z&uuid=fe0b9aec-c5ba-49b8-ba74-098699171b26" for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:01.287066Z", "uuid"=>"fe0b9aec-c5ba-49b8-ba74-098699171b26"}
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:01.287066') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:01.287066') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:01.287066') AND (recipient_class = 'Admin' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 9.4ms)
+ [1m[35m (2.2ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.3ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (44.9ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (55.0ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (43.6ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (53.2ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (50.5ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (70.5ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (62.8ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (65.6ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (2.3ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (2.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$v7ykh3iY/WMEiciPnfJ3lec7TrADdBCkuLGpCzi4PzzmXzN3nq8te', '2018-01-04 15:14:01.873645', '2018-01-04 15:14:01.873645', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$hnL40gXVzVyaaFlBLz4bOegqJxSfpeWoJFbevx/mvZSzTGnfcaoKy', '2018-01-04 15:14:01.873645', '2018-01-04 15:14:01.873645', 298486374)[0m
+ [1m[36mFixture Delete (2.2ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$v8Yzk/3zARap5U6EEVUSY.taAo0Eok3lV7HObGNTs8ny7uoL79lDm', '2017-12-28 15:14:01', '2018-01-04 15:14:01.879046', '2018-01-04 15:14:01.879046', 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$m1QH6iaNA5yKZHORrrIpkOAEAfL5vc4YR7zVLj26EiYkbC7ChTGSa', '2018-01-04 15:14:01.879046', '2018-01-04 15:14:01.879046', 15595101)[0m
+ [1m[36mFixture Delete (1.3ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:14:01', '2018-01-04 15:14:01.886926', '2018-01-04 15:14:01.886926', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:14:01.886926', '2018-01-04 15:14:01.886926', 298486374, 872278135)[0m
+ [1m[35m (14.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.5ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-----------------------------------------------------------------------------
+DisconnectionTest: test_should_show_alert_about_disconnection_from_the_server
+-----------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 2dac0475-f234-44dc-b68c-80f6884b5326) to Async(loco) with arguments: #<GlobalID:0x00007f951d6044b0 @uri=#<URI::GID gid://dummy/User/872278135>>, "fe0b9aec-c5ba-49b8-ba74-098699171b26", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 710e931d-8556-451a-8379-258e9bc3b29a) to Async(loco) with arguments: #<GlobalID:0x00007f9521b54038 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "fe0b9aec-c5ba-49b8-ba74-098699171b26", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:fe0b9aec-c5ba-49b8-ba74-098699171b26
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+ [1m[36mUser Load (7.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [2dac0475-f234-44dc-b68c-80f6884b5326] Performing Loco::UuidJob (Job ID: 2dac0475-f234-44dc-b68c-80f6884b5326) from Async(loco) with arguments: #<GlobalID:0x00007f95215e6a10 @uri=#<URI::GID gid://dummy/User/872278135>>, "fe0b9aec-c5ba-49b8-ba74-098699171b26", "del"
+[ActiveJob] [Loco::UuidJob] [2dac0475-f234-44dc-b68c-80f6884b5326] Performed Loco::UuidJob (Job ID: 2dac0475-f234-44dc-b68c-80f6884b5326) from Async(loco) in 0.24ms
+ [1m[36mAdmin Load (4.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [710e931d-8556-451a-8379-258e9bc3b29a] Performing Loco::UuidJob (Job ID: 710e931d-8556-451a-8379-258e9bc3b29a) from Async(loco) with arguments: #<GlobalID:0x00007f95215e2000 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "fe0b9aec-c5ba-49b8-ba74-098699171b26", "del"
+[ActiveJob] [Loco::UuidJob] [710e931d-8556-451a-8379-258e9bc3b29a] Performed Loco::UuidJob (Job ID: 710e931d-8556-451a-8379-258e9bc3b29a) from Async(loco) in 0.26ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:01 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (4.4ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (4.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:02 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:02 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (7.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[36mUser Load (5.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (4.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (6.5ms)
+ Rendered main/articles/index.json.jbuilder (24.0ms)
+Completed 200 OK in 34ms (Views: 8.7ms | ActiveRecord: 20.8ms)
+ [1m[36mAdmin Load (10.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] [298486374] Registered connection (["12c9e340-d11e-4978-928a-6d7f3b8ba9c6", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$v8Yzk/3zARap5U6EEVUSY.taAo0Eok3lV7HObGNTs8n...", created_at: "2018-01-04 15:14:01", updated_at: "2018-01-04 15:14:01", confirmed_at: "2017-12-28 15:14:01">, #<Admin id: 298486374, email: "zbigniew.humeniuk@motteq.com", password_digest: "$2a$04$hnL40gXVzVyaaFlBLz4bOegqJxSfpeWoJFbevx/mvZS...", created_at: "2018-01-04 15:14:01", updated_at: "2018-01-04 15:14:01">])
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::SenderJob (Job ID: fcbc3e5f-4f0d-4d4a-a6a6-ad8527840c2f) to Async(loco) with arguments: "12c9e340-d11e-4978-928a-6d7f3b8ba9c6", {:loco=>{:uuid=>"12c9e340-d11e-4978-928a-6d7f3b8ba9c6"}}
+[ActiveJob] [Loco::SenderJob] [fcbc3e5f-4f0d-4d4a-a6a6-ad8527840c2f] Performing Loco::SenderJob (Job ID: fcbc3e5f-4f0d-4d4a-a6a6-ad8527840c2f) from Async(loco) with arguments: "12c9e340-d11e-4978-928a-6d7f3b8ba9c6", {:loco=>{:uuid=>"12c9e340-d11e-4978-928a-6d7f3b8ba9c6"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 46134c3e-c516-4b7b-99a1-815081c27a8d) to Async(loco) with arguments: #<GlobalID:0x00007f951d4a24f0 @uri=#<URI::GID gid://dummy/User/872278135>>, "12c9e340-d11e-4978-928a-6d7f3b8ba9c6", "add"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:12c9e340-d11e-4978-928a-6d7f3b8ba9c6
+[ActiveJob] [Loco::SenderJob] [fcbc3e5f-4f0d-4d4a-a6a6-ad8527840c2f] [ActionCable] Broadcasting to loco:notification_center:12c9e340-d11e-4978-928a-6d7f3b8ba9c6: {:loco=>{:uuid=>"12c9e340-d11e-4978-928a-6d7f3b8ba9c6"}}
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 2e18391d-f89c-43d1-908a-78b9e417958b) to Async(loco) with arguments: #<GlobalID:0x00007f951d49d4a0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "12c9e340-d11e-4978-928a-6d7f3b8ba9c6", "add"
+[ActiveJob] [Loco::SenderJob] [fcbc3e5f-4f0d-4d4a-a6a6-ad8527840c2f] Performed Loco::SenderJob (Job ID: fcbc3e5f-4f0d-4d4a-a6a6-ad8527840c2f) from Async(loco) in 3.26ms
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel is streaming from loco:notification_center:admin:298486374
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"12c9e340-d11e-4978-928a-6d7f3b8ba9c6"}} (via streamed from loco:notification_center:12c9e340-d11e-4978-928a-6d7f3b8ba9c6)
+ [1m[36mUser Load (4.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [46134c3e-c516-4b7b-99a1-815081c27a8d] Performing Loco::UuidJob (Job ID: 46134c3e-c516-4b7b-99a1-815081c27a8d) from Async(loco) with arguments: #<GlobalID:0x00007f95215c0270 @uri=#<URI::GID gid://dummy/User/872278135>>, "12c9e340-d11e-4978-928a-6d7f3b8ba9c6", "add"
+[ActiveJob] [Loco::UuidJob] [46134c3e-c516-4b7b-99a1-815081c27a8d] Performed Loco::UuidJob (Job ID: 46134c3e-c516-4b7b-99a1-815081c27a8d) from Async(loco) in 3.08ms
+ [1m[36mAdmin Load (3.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [2e18391d-f89c-43d1-908a-78b9e417958b] Performing Loco::UuidJob (Job ID: 2e18391d-f89c-43d1-908a-78b9e417958b) from Async(loco) with arguments: #<GlobalID:0x00007f9521a8c4e8 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "12c9e340-d11e-4978-928a-6d7f3b8ba9c6", "add"
+[ActiveJob] [Loco::UuidJob] [2e18391d-f89c-43d1-908a-78b9e417958b] Performed Loco::UuidJob (Job ID: 2e18391d-f89c-43d1-908a-78b9e417958b) from Async(loco) in 0.69ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:02 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (8.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (83.5ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (84.6ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (86.5ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (72.3ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (61.5ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (43.4ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (55.5ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (42.4ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$RkO8nZBY1fM7Ptcf7aixJ.W1cRgTaatRmVNoxpa52VZJoV4RwJUcu', '2018-01-04 15:14:04.851838', '2018-01-04 15:14:04.851838', 980190962)[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$Rndx6RipYdV8awohIkh4BeHWZrU1XjsEq2RbOdF/ZDBsMvUnNWgda', '2018-01-04 15:14:04.851838', '2018-01-04 15:14:04.851838', 298486374)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$hOGgzpbdK0VkTI.c.E.3sebMQ/g3Hg4C8GeTTzZYBmVlMb3SEy1x.', '2017-12-28 15:14:04', '2018-01-04 15:14:04.856977', '2018-01-04 15:14:04.856977', 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$HLKGQpH7LXh.5Q.IC5kjleAiaL21tG39ffk9W4eWVRSPhnVMDy.0u', '2018-01-04 15:14:04.856977', '2018-01-04 15:14:04.856977', 15595101)[0m
+ [1m[36mFixture Delete (1.4ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:14:04', '2018-01-04 15:14:04.862497', '2018-01-04 15:14:04.862497', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.2ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:14:04.862497', '2018-01-04 15:14:04.862497', 298486374, 872278135)[0m
+ [1m[35m (12.6ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-------------------------------------------------------------
+User::ArticleShowPageTest: test_should_auto_load_new_comments
+-------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:14:04 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.2ms)
+ Rendered layouts/_head.html.erb (2.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] [298486374] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:04 +0100
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 4b4bbd3e-8e16-4ba7-8cfc-c82d3062f4d3) to Async(loco) with arguments: #<GlobalID:0x00007f951d4a24f0 @uri=#<URI::GID gid://dummy/User/872278135>>, "12c9e340-d11e-4978-928a-6d7f3b8ba9c6", "del"
+[AC] [-] [872278135] [298486374] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 94163811-d6f1-4abe-99cc-a275450e42a1) to Async(loco) with arguments: #<GlobalID:0x00007f951d49d4a0 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "12c9e340-d11e-4978-928a-6d7f3b8ba9c6", "del"
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:12c9e340-d11e-4978-928a-6d7f3b8ba9c6
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] [298486374] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:admin:298486374
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:04 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mAdmin Load (15.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` = 298486374 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [94163811-d6f1-4abe-99cc-a275450e42a1] Performing Loco::UuidJob (Job ID: 94163811-d6f1-4abe-99cc-a275450e42a1) from Async(loco) with arguments: #<GlobalID:0x00007f951f7bf460 @uri=#<URI::GID gid://dummy/Admin/298486374>>, "12c9e340-d11e-4978-928a-6d7f3b8ba9c6", "del"
+[ActiveJob] [Loco::UuidJob] [94163811-d6f1-4abe-99cc-a275450e42a1] Performed Loco::UuidJob (Job ID: 94163811-d6f1-4abe-99cc-a275450e42a1) from Async(loco) in 0.29ms
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:04 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:04 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+[ActiveJob] [Loco::UuidJob] [4b4bbd3e-8e16-4ba7-8cfc-c82d3062f4d3] Performing Loco::UuidJob (Job ID: 4b4bbd3e-8e16-4ba7-8cfc-c82d3062f4d3) from Async(loco) with arguments: #<GlobalID:0x00007f951d30e418 @uri=#<URI::GID gid://dummy/User/872278135>>, "12c9e340-d11e-4978-928a-6d7f3b8ba9c6", "del"
+ Rendering main/articles/index.json.jbuilder
+[ActiveJob] [Loco::UuidJob] [4b4bbd3e-8e16-4ba7-8cfc-c82d3062f4d3] Performed Loco::UuidJob (Job ID: 4b4bbd3e-8e16-4ba7-8cfc-c82d3062f4d3) from Async(loco) in 0.37ms
+ [1m[36mArticle Load (9.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:04 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:04 +0100
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (8.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` IS NULL LIMIT 1[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (14.8ms)
+ Rendered main/articles/index.json.jbuilder (36.3ms)
+Completed 200 OK in 53ms (Views: 16.8ms | ActiveRecord: 22.7ms)
+ [1m[36mAdmin Load (2.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] Registered connection (["1ea4992d-73b6-4530-92fa-a90f15e697f9", nil, nil])
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 9e60c047-ba51-40ed-a414-fba53e1742c9) to Async(loco) with arguments: "1ea4992d-73b6-4530-92fa-a90f15e697f9", {:loco=>{:uuid=>"1ea4992d-73b6-4530-92fa-a90f15e697f9"}}
+[ActiveJob] [Loco::SenderJob] [9e60c047-ba51-40ed-a414-fba53e1742c9] Performing Loco::SenderJob (Job ID: 9e60c047-ba51-40ed-a414-fba53e1742c9) from Async(loco) with arguments: "1ea4992d-73b6-4530-92fa-a90f15e697f9", {:loco=>{:uuid=>"1ea4992d-73b6-4530-92fa-a90f15e697f9"}}
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 2a568e45-54f2-41fb-b86a-2f7165ad775d) to Async(loco) with arguments: "1ea4992d-73b6-4530-92fa-a90f15e697f9", {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [2a568e45-54f2-41fb-b86a-2f7165ad775d] Performing Loco::SenderJob (Job ID: 2a568e45-54f2-41fb-b86a-2f7165ad775d) from Async(loco) with arguments: "1ea4992d-73b6-4530-92fa-a90f15e697f9", {:loco=>{:start_ajax_polling=>true}}
+[AC] [-] Loco::NotificationCenterChannel is streaming from loco:notification_center:1ea4992d-73b6-4530-92fa-a90f15e697f9
+[ActiveJob] [Loco::SenderJob] [9e60c047-ba51-40ed-a414-fba53e1742c9] [ActionCable] Broadcasting to loco:notification_center:1ea4992d-73b6-4530-92fa-a90f15e697f9: {:loco=>{:uuid=>"1ea4992d-73b6-4530-92fa-a90f15e697f9"}}
+[AC] [-] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::SenderJob] [2a568e45-54f2-41fb-b86a-2f7165ad775d] [ActionCable] Broadcasting to loco:notification_center:1ea4992d-73b6-4530-92fa-a90f15e697f9: {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [9e60c047-ba51-40ed-a414-fba53e1742c9] Performed Loco::SenderJob (Job ID: 9e60c047-ba51-40ed-a414-fba53e1742c9) from Async(loco) in 2.12ms
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"1ea4992d-73b6-4530-92fa-a90f15e697f9"}} (via streamed from loco:notification_center:1ea4992d-73b6-4530-92fa-a90f15e697f9)
+[ActiveJob] [Loco::SenderJob] [2a568e45-54f2-41fb-b86a-2f7165ad775d] Performed Loco::SenderJob (Job ID: 2a568e45-54f2-41fb-b86a-2f7165ad775d) from Async(loco) in 2.27ms
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"start_ajax_polling"=>true}} (via streamed from loco:notification_center:1ea4992d-73b6-4530-92fa-a90f15e697f9)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.6ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.0ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (1.3ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 1.1ms)
+[AC] [-] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+[AC] [-] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:1ea4992d-73b6-4530-92fa-a90f15e697f9
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mArticle Load (3.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (2.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (4.4ms)
+ [1m[36mAdmin Load (2.3ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["a61ee6f7-b364-4957-b09d-ef5d576c2cbc", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$hOGgzpbdK0VkTI.c.E.3sebMQ/g3Hg4C8GeTTzZYBmV...", created_at: "2018-01-04 15:14:04", updated_at: "2018-01-04 15:14:04", confirmed_at: "2017-12-28 15:14:04">, nil])
+ [1m[35m (2.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (4.3ms)
+ Rendered user/articles/index.json.jbuilder (14.2ms)
+Completed 200 OK in 23ms (Views: 6.8ms | ActiveRecord: 10.9ms)
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 5692e71a-8358-4ef5-9ce6-3b664794348e) to Async(loco) with arguments: "a61ee6f7-b364-4957-b09d-ef5d576c2cbc", {:loco=>{:uuid=>"a61ee6f7-b364-4957-b09d-ef5d576c2cbc"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 879c43c6-2a21-4509-848b-882fe471b495) to Async(loco) with arguments: #<GlobalID:0x00007f9521fba168 @uri=#<URI::GID gid://dummy/User/872278135>>, "a61ee6f7-b364-4957-b09d-ef5d576c2cbc", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:a61ee6f7-b364-4957-b09d-ef5d576c2cbc
+[ActiveJob] [Loco::SenderJob] [5692e71a-8358-4ef5-9ce6-3b664794348e] Performing Loco::SenderJob (Job ID: 5692e71a-8358-4ef5-9ce6-3b664794348e) from Async(loco) with arguments: "a61ee6f7-b364-4957-b09d-ef5d576c2cbc", {:loco=>{:uuid=>"a61ee6f7-b364-4957-b09d-ef5d576c2cbc"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::SenderJob] [5692e71a-8358-4ef5-9ce6-3b664794348e] [ActionCable] Broadcasting to loco:notification_center:a61ee6f7-b364-4957-b09d-ef5d576c2cbc: {:loco=>{:uuid=>"a61ee6f7-b364-4957-b09d-ef5d576c2cbc"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [5692e71a-8358-4ef5-9ce6-3b664794348e] Performed Loco::SenderJob (Job ID: 5692e71a-8358-4ef5-9ce6-3b664794348e) from Async(loco) in 1.13ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"a61ee6f7-b364-4957-b09d-ef5d576c2cbc"}} (via streamed from loco:notification_center:a61ee6f7-b364-4957-b09d-ef5d576c2cbc)
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [879c43c6-2a21-4509-848b-882fe471b495] Performing Loco::UuidJob (Job ID: 879c43c6-2a21-4509-848b-882fe471b495) from Async(loco) with arguments: #<GlobalID:0x00007f95233b6ea0 @uri=#<URI::GID gid://dummy/User/872278135>>, "a61ee6f7-b364-4957-b09d-ef5d576c2cbc", "add"
+[ActiveJob] [Loco::UuidJob] [879c43c6-2a21-4509-848b-882fe471b495] Performed Loco::UuidJob (Job ID: 879c43c6-2a21-4509-848b-882fe471b495) from Async(loco) in 0.55ms
+ [1m[36mArticle Load (1.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Processing by User::ArticlesController#show as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/show.html.erb within layouts/user
+ Rendered user/articles/show.html.erb within layouts/user (1.2ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 16ms (Views: 10.0ms | ActiveRecord: 2.2ms)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:05 +0100
+Processing by User::ArticlesController#show as JSON
+Processing by User::CommentsController#index as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[36mArticle Load (5.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[36mComment Load (5.2ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/index.json.jbuilder (6.1ms)
+Completed 200 OK in 18ms (Views: 1.6ms | ActiveRecord: 9.9ms)
+ [1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (5.7ms)
+ Rendered user/articles/show.json.jbuilder (6.3ms)
+Completed 200 OK in 21ms (Views: 5.0ms | ActiveRecord: 10.9ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A05.806192Z&uuid=a61ee6f7-b364-4957-b09d-ef5d576c2cbc" for 127.0.0.1 at 2018-01-04 16:14:06 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:05.806192Z", "uuid"=>"a61ee6f7-b364-4957-b09d-ef5d576c2cbc"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:05.806192') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:05.806192') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.1ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A06.605408Z&uuid=a61ee6f7-b364-4957-b09d-ef5d576c2cbc" for 127.0.0.1 at 2018-01-04 16:14:07 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:06.605408Z", "uuid"=>"a61ee6f7-b364-4957-b09d-ef5d576c2cbc"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:06.605408') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:06.605408') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.2ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A07.612827Z&uuid=a61ee6f7-b364-4957-b09d-ef5d576c2cbc" for 127.0.0.1 at 2018-01-04 16:14:08 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:07.612827Z", "uuid"=>"a61ee6f7-b364-4957-b09d-ef5d576c2cbc"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:07.612827') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:07.612827') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.0ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A08.607028Z&uuid=a61ee6f7-b364-4957-b09d-ef5d576c2cbc" for 127.0.0.1 at 2018-01-04 16:14:09 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:08.607028Z", "uuid"=>"a61ee6f7-b364-4957-b09d-ef5d576c2cbc"}
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:08.607028') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:08.607028') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 5.7ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A09.614033Z&uuid=a61ee6f7-b364-4957-b09d-ef5d576c2cbc" for 127.0.0.1 at 2018-01-04 16:14:10 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:09.614033Z", "uuid"=>"a61ee6f7-b364-4957-b09d-ef5d576c2cbc"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:09.614033') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:09.614033') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 4.5ms)
+ [1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 298486374, '2018-01-04 15:14:10.900103', '2018-01-04 15:14:10.900103', 0, 0, 3)[0m
+ [1m[35m (10.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":298486374,\"id\":1}', '2018-01-04 15:14:10.916458', '2018-01-04 15:14:10.916458')[0m
+ [1m[35m (9.2ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [a08b64d4-33f9-4333-94c8-24c8a8d274c9] Performing Loco::SenderJob (Job ID: a08b64d4-33f9-4333-94c8-24c8a8d274c9) from Async(loco) with arguments: "a61ee6f7-b364-4957-b09d-ef5d576c2cbc", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: a08b64d4-33f9-4333-94c8-24c8a8d274c9) to Async(loco) with arguments: "a61ee6f7-b364-4957-b09d-ef5d576c2cbc", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [a08b64d4-33f9-4333-94c8-24c8a8d274c9] [ActionCable] Broadcasting to loco:notification_center:a61ee6f7-b364-4957-b09d-ef5d576c2cbc: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [a08b64d4-33f9-4333-94c8-24c8a8d274c9] Performed Loco::SenderJob (Job ID: a08b64d4-33f9-4333-94c8-24c8a8d274c9) from Async(loco) in 0.73ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:a61ee6f7-b364-4957-b09d-ef5d576c2cbc)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A10.607536Z&uuid=a61ee6f7-b364-4957-b09d-ef5d576c2cbc" for 127.0.0.1 at 2018-01-04 16:14:10 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:10.607536Z", "uuid"=>"a61ee6f7-b364-4957-b09d-ef5d576c2cbc"}
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:10.607536') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:10.607536') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 6.7ms)
+Started GET "/user/articles/298486374/comments/1" for 127.0.0.1 at 2018-01-04 16:14:10 +0100
+Processing by User::CommentsController#show as JSON
+ Parameters: {"article_id"=>"298486374", "id"=>"1", "comment"=>{}}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mComment Load (3.5ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering user/comments/show.json.jbuilder
+ Rendered user/comments/_comment.json.jbuilder (0.3ms)
+ Rendered user/comments/show.json.jbuilder (5.2ms)
+Completed 200 OK in 32ms (Views: 9.5ms | ActiveRecord: 7.3ms)
+ [1m[35m (2.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (53.3ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (42.7ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (57.3ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (46.4ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (54.1ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (41.0ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (53.8ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (38.6ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$CEms7VstUblt1/HlJy9TteJgEHH/LQAbI8ZQSduncKXx/JKpKnfY6', '2018-01-04 15:14:11.473752', '2018-01-04 15:14:11.473752', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$XyMCQ5qTSZIPSMW08zRz2.6wNfxgQw/fle8WTOEl3mGEHL4xCPc8a', '2018-01-04 15:14:11.473752', '2018-01-04 15:14:11.473752', 298486374)[0m
+ [1m[36mFixture Delete (1.5ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$/dVascxyd.L4xwdfFZCt4OPlXejEhZ/dbY.QeXIGBQwoCFE9C2Wke', '2017-12-28 15:14:11', '2018-01-04 15:14:11.478721', '2018-01-04 15:14:11.478721', 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$/rP1hg93krUEkNG.sfYsveQMQS2k8iN0NiDDe.DHmhq/CxxavfLk6', '2018-01-04 15:14:11.478721', '2018-01-04 15:14:11.478721', 15595101)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:14:11', '2018-01-04 15:14:11.484710', '2018-01-04 15:14:11.484710', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.5ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:14:11.484710', '2018-01-04 15:14:11.484710', 298486374, 872278135)[0m
+ [1m[35m (13.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+----------------------------------------------------------
+User::ArticleShowPageTest: test_should_auto_update_article
+----------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:14:11 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.4ms)
+ Rendered layouts/_head.html.erb (1.7ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:11 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 3698017b-79fd-46a8-8ffe-37aa2d1bd1cb) to Async(loco) with arguments: #<GlobalID:0x00007f9521fba168 @uri=#<URI::GID gid://dummy/User/872278135>>, "a61ee6f7-b364-4957-b09d-ef5d576c2cbc", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:a61ee6f7-b364-4957-b09d-ef5d576c2cbc
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [3698017b-79fd-46a8-8ffe-37aa2d1bd1cb] Performing Loco::UuidJob (Job ID: 3698017b-79fd-46a8-8ffe-37aa2d1bd1cb) from Async(loco) with arguments: #<GlobalID:0x00007f951d38f298 @uri=#<URI::GID gid://dummy/User/872278135>>, "a61ee6f7-b364-4957-b09d-ef5d576c2cbc", "del"
+[ActiveJob] [Loco::UuidJob] [3698017b-79fd-46a8-8ffe-37aa2d1bd1cb] Performed Loco::UuidJob (Job ID: 3698017b-79fd-46a8-8ffe-37aa2d1bd1cb) from Async(loco) in 0.3ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:11 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:11 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:11 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:11 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:11 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (3.7ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ [1m[36mUser Load (5.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` IS NULL LIMIT 1[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mAdmin Load (3.8ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+ [1m[36mArticle Load (3.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+[AC] [-] Registered connection (["a79a1332-59fc-45f0-bddb-f88af8977a15", nil, nil])
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 9638b055-28d5-481a-9e8d-c7977746126f) to Async(loco) with arguments: "a79a1332-59fc-45f0-bddb-f88af8977a15", {:loco=>{:uuid=>"a79a1332-59fc-45f0-bddb-f88af8977a15"}}
+[AC] [-] Loco::NotificationCenterChannel is streaming from loco:notification_center:a79a1332-59fc-45f0-bddb-f88af8977a15
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 32f225df-f71b-4265-b49b-d6b7f1d37800) to Async(loco) with arguments: "a79a1332-59fc-45f0-bddb-f88af8977a15", {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [9638b055-28d5-481a-9e8d-c7977746126f] Performing Loco::SenderJob (Job ID: 9638b055-28d5-481a-9e8d-c7977746126f) from Async(loco) with arguments: "a79a1332-59fc-45f0-bddb-f88af8977a15", {:loco=>{:uuid=>"a79a1332-59fc-45f0-bddb-f88af8977a15"}}
+[ActiveJob] [Loco::SenderJob] [32f225df-f71b-4265-b49b-d6b7f1d37800] Performing Loco::SenderJob (Job ID: 32f225df-f71b-4265-b49b-d6b7f1d37800) from Async(loco) with arguments: "a79a1332-59fc-45f0-bddb-f88af8977a15", {:loco=>{:start_ajax_polling=>true}}
+ [1m[35m (4.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[AC] [-] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::SenderJob] [9638b055-28d5-481a-9e8d-c7977746126f] [ActionCable] Broadcasting to loco:notification_center:a79a1332-59fc-45f0-bddb-f88af8977a15: {:loco=>{:uuid=>"a79a1332-59fc-45f0-bddb-f88af8977a15"}}
+[ActiveJob] [Loco::SenderJob] [32f225df-f71b-4265-b49b-d6b7f1d37800] [ActionCable] Broadcasting to loco:notification_center:a79a1332-59fc-45f0-bddb-f88af8977a15: {:loco=>{:start_ajax_polling=>true}}
+ Rendered main/articles/_article_for_list.json.jbuilder (7.6ms)
+ Rendered main/articles/index.json.jbuilder (20.2ms)
+[ActiveJob] [Loco::SenderJob] [9638b055-28d5-481a-9e8d-c7977746126f] Performed Loco::SenderJob (Job ID: 9638b055-28d5-481a-9e8d-c7977746126f) from Async(loco) in 1.53ms
+[ActiveJob] [Loco::SenderJob] [32f225df-f71b-4265-b49b-d6b7f1d37800] Performed Loco::SenderJob (Job ID: 32f225df-f71b-4265-b49b-d6b7f1d37800) from Async(loco) in 2.34ms
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"a79a1332-59fc-45f0-bddb-f88af8977a15"}} (via streamed from loco:notification_center:a79a1332-59fc-45f0-bddb-f88af8977a15)
+Completed 200 OK in 31ms (Views: 13.0ms | ActiveRecord: 12.9ms)
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"start_ajax_polling"=>true}} (via streamed from loco:notification_center:a79a1332-59fc-45f0-bddb-f88af8977a15)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:11 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:14:11 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (1.5ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.9ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:11 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:14:12 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 6ms (ActiveRecord: 1.6ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:14:12 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 1.9ms)
+[AC] [-] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:12 +0100
+[AC] [-] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:a79a1332-59fc-45f0-bddb-f88af8977a15
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:12 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:12 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:12 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (2.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (4.3ms)
+ [1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.6ms)
+ Rendered user/articles/index.json.jbuilder (12.3ms)
+Completed 200 OK in 29ms (Views: 7.5ms | ActiveRecord: 9.4ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:12 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:12 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["9ef95fd9-a57e-4de3-9654-afc008da1239", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$/dVascxyd.L4xwdfFZCt4OPlXejEhZ/dbY.QeXIGBQw...", created_at: "2018-01-04 15:14:11", updated_at: "2018-01-04 15:14:11", confirmed_at: "2017-12-28 15:14:11">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 8bf43b06-29fa-4c5d-9d23-ed89145f0a60) to Async(loco) with arguments: "9ef95fd9-a57e-4de3-9654-afc008da1239", {:loco=>{:uuid=>"9ef95fd9-a57e-4de3-9654-afc008da1239"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: a4f72a7b-8d52-43b5-bd79-6cdd2e2b92d0) to Async(loco) with arguments: #<GlobalID:0x00007f95238774d0 @uri=#<URI::GID gid://dummy/User/872278135>>, "9ef95fd9-a57e-4de3-9654-afc008da1239", "add"
+[ActiveJob] [Loco::SenderJob] [8bf43b06-29fa-4c5d-9d23-ed89145f0a60] Performing Loco::SenderJob (Job ID: 8bf43b06-29fa-4c5d-9d23-ed89145f0a60) from Async(loco) with arguments: "9ef95fd9-a57e-4de3-9654-afc008da1239", {:loco=>{:uuid=>"9ef95fd9-a57e-4de3-9654-afc008da1239"}}
+[ActiveJob] [Loco::SenderJob] [8bf43b06-29fa-4c5d-9d23-ed89145f0a60] [ActionCable] Broadcasting to loco:notification_center:9ef95fd9-a57e-4de3-9654-afc008da1239: {:loco=>{:uuid=>"9ef95fd9-a57e-4de3-9654-afc008da1239"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:9ef95fd9-a57e-4de3-9654-afc008da1239
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [8bf43b06-29fa-4c5d-9d23-ed89145f0a60] Performed Loco::SenderJob (Job ID: 8bf43b06-29fa-4c5d-9d23-ed89145f0a60) from Async(loco) in 1.66ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"9ef95fd9-a57e-4de3-9654-afc008da1239"}} (via streamed from loco:notification_center:9ef95fd9-a57e-4de3-9654-afc008da1239)
+ [1m[36mUser Load (4.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [a4f72a7b-8d52-43b5-bd79-6cdd2e2b92d0] Performing Loco::UuidJob (Job ID: a4f72a7b-8d52-43b5-bd79-6cdd2e2b92d0) from Async(loco) with arguments: #<GlobalID:0x00007f95240118d0 @uri=#<URI::GID gid://dummy/User/872278135>>, "9ef95fd9-a57e-4de3-9654-afc008da1239", "add"
+[ActiveJob] [Loco::UuidJob] [a4f72a7b-8d52-43b5-bd79-6cdd2e2b92d0] Performed Loco::UuidJob (Job ID: a4f72a7b-8d52-43b5-bd79-6cdd2e2b92d0) from Async(loco) in 0.8ms
+ [1m[36mArticle Load (6.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:12 +0100
+Processing by User::ArticlesController#show as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/show.html.erb within layouts/user
+ Rendered user/articles/show.html.erb within layouts/user (0.4ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 12ms (Views: 5.6ms | ActiveRecord: 1.4ms)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:12 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:14:12 +0100
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:12 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (3.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (7.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (4.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (3.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (4.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[35m (3.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (6.0ms)
+ Rendered user/articles/show.json.jbuilder (8.4ms)
+Completed 200 OK in 36ms (Views: 6.1ms | ActiveRecord: 14.5ms)
+ [1m[36mComment Load (5.8ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/index.json.jbuilder (7.8ms)
+Completed 200 OK in 35ms (Views: 3.3ms | ActiveRecord: 18.1ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A12.669159Z&uuid=9ef95fd9-a57e-4de3-9654-afc008da1239" for 127.0.0.1 at 2018-01-04 16:14:13 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:12.669159Z", "uuid"=>"9ef95fd9-a57e-4de3-9654-afc008da1239"}
+ [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:12.669159') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:12.669159') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 7.0ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A13.439705Z&uuid=9ef95fd9-a57e-4de3-9654-afc008da1239" for 127.0.0.1 at 2018-01-04 16:14:14 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:13.439705Z", "uuid"=>"9ef95fd9-a57e-4de3-9654-afc008da1239"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:13.439705') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:13.439705') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 4.8ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A14.434739Z&uuid=9ef95fd9-a57e-4de3-9654-afc008da1239" for 127.0.0.1 at 2018-01-04 16:14:15 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:14.434739Z", "uuid"=>"9ef95fd9-a57e-4de3-9654-afc008da1239"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:14.434739') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:14.434739') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 5.1ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A15.434994Z&uuid=9ef95fd9-a57e-4de3-9654-afc008da1239" for 127.0.0.1 at 2018-01-04 16:14:16 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:15.434994Z", "uuid"=>"9ef95fd9-a57e-4de3-9654-afc008da1239"}
+ [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:15.434994') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:15.434994') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 5.9ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A16.436546Z&uuid=9ef95fd9-a57e-4de3-9654-afc008da1239" for 127.0.0.1 at 2018-01-04 16:14:17 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:16.436546Z", "uuid"=>"9ef95fd9-a57e-4de3-9654-afc008da1239"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:16.436546') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:16.436546') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.1ms)
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35mSQL (1.7ms)[0m [1m[33mUPDATE `articles` SET `title` = 'WiAR', `text` = 'Lorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum IILorem Ipsum II', `updated_at` = '2018-01-04 15:14:17.747491' WHERE `articles`.`id` = 298486374[0m
+ [1m[35m (11.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updated', '{\"id\":298486374}', 'User', 872278135, '2018-01-04 15:14:17.769799', '2018-01-04 15:14:17.769799')[0m
+ [1m[35m (10.3ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 4cfaf932-d9a0-4a25-8026-7a41f7cd6af5) to Async(loco) with arguments: #<GlobalID:0x00007f951f787f60 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 078b20c0-febf-4a1f-83a6-6402b7b2c412) to Async(loco) with arguments: #<GlobalID:0x00007f951d2f5a30 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:14:17.769799Z"}}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [4cfaf932-d9a0-4a25-8026-7a41f7cd6af5] Performing Loco::SenderJob (Job ID: 4cfaf932-d9a0-4a25-8026-7a41f7cd6af5) from Async(loco) with arguments: #<GlobalID:0x00007f951f777b10 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [4cfaf932-d9a0-4a25-8026-7a41f7cd6af5] [ActionCable] Broadcasting to loco:notification_center:9ef95fd9-a57e-4de3-9654-afc008da1239: {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [4cfaf932-d9a0-4a25-8026-7a41f7cd6af5] Performed Loco::SenderJob (Job ID: 4cfaf932-d9a0-4a25-8026-7a41f7cd6af5) from Async(loco) in 0.49ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updated", {"id"=>298486374}]}} (via streamed from loco:notification_center:9ef95fd9-a57e-4de3-9654-afc008da1239)
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [078b20c0-febf-4a1f-83a6-6402b7b2c412] Performing Loco::SenderJob (Job ID: 078b20c0-febf-4a1f-83a6-6402b7b2c412) from Async(loco) with arguments: #<GlobalID:0x00007f951d2a65e8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:14:17.769799Z"}}
+[ActiveJob] [Loco::SenderJob] [078b20c0-febf-4a1f-83a6-6402b7b2c412] [ActionCable] Broadcasting to loco:notification_center:9ef95fd9-a57e-4de3-9654-afc008da1239: {:loco=>{:sync_time=>"2018-01-04T15:14:17.769799Z"}}
+[ActiveJob] [Loco::SenderJob] [078b20c0-febf-4a1f-83a6-6402b7b2c412] Performed Loco::SenderJob (Job ID: 078b20c0-febf-4a1f-83a6-6402b7b2c412) from Async(loco) in 0.38ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:14:17.769799Z"}} (via streamed from loco:notification_center:9ef95fd9-a57e-4de3-9654-afc008da1239)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:17 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (3.1ms)
+ Rendered user/articles/show.json.jbuilder (3.6ms)
+Completed 200 OK in 12ms (Views: 3.0ms | ActiveRecord: 3.9ms)
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (60.1ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (59.7ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (51.0ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (42.8ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (48.6ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (43.9ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (47.8ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (40.0ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.9ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$J5azZBDOd64gpJ3XxMzcDuBFqnf.2aFCxjIj6rUEM56dmOKzWL57q', '2018-01-04 15:14:18.313893', '2018-01-04 15:14:18.313893', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$E6RudYiZiMeqKUyiNMAKeOViRUyY90oWyLmupZikwu/KtbRZiMQXq', '2018-01-04 15:14:18.313893', '2018-01-04 15:14:18.313893', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$MpYxJ6SRrLZelkksF6qkYe.Lz3P7RFWNeQGQ8RjL6xm61yf2m1HKa', '2017-12-28 15:14:18', '2018-01-04 15:14:18.319582', '2018-01-04 15:14:18.319582', 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$aSJR6lMB0ZJiWKmn0Z3D4uLAYw6Q664K9N6ygpcW6jUZ3mB2fmsHq', '2018-01-04 15:14:18.319582', '2018-01-04 15:14:18.319582', 15595101)[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:14:18', '2018-01-04 15:14:18.325108', '2018-01-04 15:14:18.325108', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:14:18.325108', '2018-01-04 15:14:18.325108', 298486374, 872278135)[0m
+ [1m[35m (12.2ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.1ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+------------------------------------------------------
+User::ArticleShowPageTest: test_should_publish_article
+------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:14:18 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:18 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: aa7361fd-3826-4afe-8af1-5298ccac446f) to Async(loco) with arguments: #<GlobalID:0x00007f95238774d0 @uri=#<URI::GID gid://dummy/User/872278135>>, "9ef95fd9-a57e-4de3-9654-afc008da1239", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:9ef95fd9-a57e-4de3-9654-afc008da1239
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [aa7361fd-3826-4afe-8af1-5298ccac446f] Performing Loco::UuidJob (Job ID: aa7361fd-3826-4afe-8af1-5298ccac446f) from Async(loco) with arguments: #<GlobalID:0x00007f951bb96998 @uri=#<URI::GID gid://dummy/User/872278135>>, "9ef95fd9-a57e-4de3-9654-afc008da1239", "del"
+[ActiveJob] [Loco::UuidJob] [aa7361fd-3826-4afe-8af1-5298ccac446f] Performed Loco::UuidJob (Job ID: aa7361fd-3826-4afe-8af1-5298ccac446f) from Async(loco) in 0.3ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:18 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:18 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:18 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` IS NULL LIMIT 1[0m
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:18 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:18 +0100
+ [1m[36mAdmin Load (3.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+Processing by Loco::NotificationCenterController#sync_time as */*
+[AC] [-] Registered connection (["a0e67250-6906-45d8-add7-bd1003660cd5", nil, nil])
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.6ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: fbb4aae6-3b19-4f8c-9734-c4deed152861) to Async(loco) with arguments: "a0e67250-6906-45d8-add7-bd1003660cd5", {:loco=>{:uuid=>"a0e67250-6906-45d8-add7-bd1003660cd5"}}
+[AC] [-] Loco::NotificationCenterChannel is streaming from loco:notification_center:a0e67250-6906-45d8-add7-bd1003660cd5
+[ActiveJob] [Loco::SenderJob] [fbb4aae6-3b19-4f8c-9734-c4deed152861] Performing Loco::SenderJob (Job ID: fbb4aae6-3b19-4f8c-9734-c4deed152861) from Async(loco) with arguments: "a0e67250-6906-45d8-add7-bd1003660cd5", {:loco=>{:uuid=>"a0e67250-6906-45d8-add7-bd1003660cd5"}}
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 2de150ba-fdcd-41d6-8d0b-90dd9679615c) to Async(loco) with arguments: "a0e67250-6906-45d8-add7-bd1003660cd5", {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [2de150ba-fdcd-41d6-8d0b-90dd9679615c] Performing Loco::SenderJob (Job ID: 2de150ba-fdcd-41d6-8d0b-90dd9679615c) from Async(loco) with arguments: "a0e67250-6906-45d8-add7-bd1003660cd5", {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [fbb4aae6-3b19-4f8c-9734-c4deed152861] [ActionCable] Broadcasting to loco:notification_center:a0e67250-6906-45d8-add7-bd1003660cd5: {:loco=>{:uuid=>"a0e67250-6906-45d8-add7-bd1003660cd5"}}
+[AC] [-] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::SenderJob] [2de150ba-fdcd-41d6-8d0b-90dd9679615c] [ActionCable] Broadcasting to loco:notification_center:a0e67250-6906-45d8-add7-bd1003660cd5: {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [fbb4aae6-3b19-4f8c-9734-c4deed152861] Performed Loco::SenderJob (Job ID: fbb4aae6-3b19-4f8c-9734-c4deed152861) from Async(loco) in 0.78ms
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"a0e67250-6906-45d8-add7-bd1003660cd5"}} (via streamed from loco:notification_center:a0e67250-6906-45d8-add7-bd1003660cd5)
+[ActiveJob] [Loco::SenderJob] [2de150ba-fdcd-41d6-8d0b-90dd9679615c] Performed Loco::SenderJob (Job ID: 2de150ba-fdcd-41d6-8d0b-90dd9679615c) from Async(loco) in 4.03ms
+ [1m[35m (10.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"start_ajax_polling"=>true}} (via streamed from loco:notification_center:a0e67250-6906-45d8-add7-bd1003660cd5)
+ Rendered main/articles/_article_for_list.json.jbuilder (16.0ms)
+ Rendered main/articles/index.json.jbuilder (25.4ms)
+Completed 200 OK in 36ms (Views: 13.4ms | ActiveRecord: 16.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:18 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:14:18 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (2.4ms)
+ Rendered user/sessions/new.html.erb within layouts/application (5.9ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:18 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 9ms (ActiveRecord: 2.3ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (1.7ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 1.1ms)
+[AC] [-] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+[AC] [-] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:a0e67250-6906-45d8-add7-bd1003660cd5
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (3.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.4ms)
+ [1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (3.1ms)
+ Rendered user/articles/index.json.jbuilder (11.6ms)
+Completed 200 OK in 33ms (Views: 8.1ms | ActiveRecord: 9.5ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (4.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["3227ea20-d494-43ac-bcdd-7115169387dd", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$MpYxJ6SRrLZelkksF6qkYe.Lz3P7RFWNeQGQ8RjL6xm...", created_at: "2018-01-04 15:14:18", updated_at: "2018-01-04 15:14:18", confirmed_at: "2017-12-28 15:14:18">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: e981d55e-a23d-45c9-9797-0b5385bad5e1) to Async(loco) with arguments: "3227ea20-d494-43ac-bcdd-7115169387dd", {:loco=>{:uuid=>"3227ea20-d494-43ac-bcdd-7115169387dd"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 481468b9-a267-4038-82e3-c04aec7f27d3) to Async(loco) with arguments: #<GlobalID:0x00007f951ce16118 @uri=#<URI::GID gid://dummy/User/872278135>>, "3227ea20-d494-43ac-bcdd-7115169387dd", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:3227ea20-d494-43ac-bcdd-7115169387dd
+[ActiveJob] [Loco::SenderJob] [e981d55e-a23d-45c9-9797-0b5385bad5e1] Performing Loco::SenderJob (Job ID: e981d55e-a23d-45c9-9797-0b5385bad5e1) from Async(loco) with arguments: "3227ea20-d494-43ac-bcdd-7115169387dd", {:loco=>{:uuid=>"3227ea20-d494-43ac-bcdd-7115169387dd"}}
+[ActiveJob] [Loco::SenderJob] [e981d55e-a23d-45c9-9797-0b5385bad5e1] [ActionCable] Broadcasting to loco:notification_center:3227ea20-d494-43ac-bcdd-7115169387dd: {:loco=>{:uuid=>"3227ea20-d494-43ac-bcdd-7115169387dd"}}
+[ActiveJob] [Loco::SenderJob] [e981d55e-a23d-45c9-9797-0b5385bad5e1] Performed Loco::SenderJob (Job ID: e981d55e-a23d-45c9-9797-0b5385bad5e1) from Async(loco) in 0.34ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"3227ea20-d494-43ac-bcdd-7115169387dd"}} (via streamed from loco:notification_center:3227ea20-d494-43ac-bcdd-7115169387dd)
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [481468b9-a267-4038-82e3-c04aec7f27d3] Performing Loco::UuidJob (Job ID: 481468b9-a267-4038-82e3-c04aec7f27d3) from Async(loco) with arguments: #<GlobalID:0x00007f95215b1928 @uri=#<URI::GID gid://dummy/User/872278135>>, "3227ea20-d494-43ac-bcdd-7115169387dd", "add"
+[ActiveJob] [Loco::UuidJob] [481468b9-a267-4038-82e3-c04aec7f27d3] Performed Loco::UuidJob (Job ID: 481468b9-a267-4038-82e3-c04aec7f27d3) from Async(loco) in 0.82ms
+ [1m[36mArticle Load (2.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Processing by User::ArticlesController#show as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (6.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/show.html.erb within layouts/user
+ Rendered user/articles/show.html.erb within layouts/user (0.6ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 18ms (Views: 6.0ms | ActiveRecord: 6.1ms)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (3.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (3.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mArticle Load (2.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (4.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[35m (2.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (5.0ms)
+ Rendered user/articles/show.json.jbuilder (5.7ms)
+Completed 200 OK in 29ms (Views: 4.4ms | ActiveRecord: 9.3ms)
+ [1m[36mComment Load (2.3ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/index.json.jbuilder (3.4ms)
+Completed 200 OK in 28ms (Views: 2.7ms | ActiveRecord: 13.2ms)
+Started PUT "/user/articles/298486374/publish" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Processing by User::ArticlesController#publish as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.2ms)[0m [1m[33mUPDATE `articles` SET `published_at` = '2018-01-04 15:14:19', `updated_at` = '2018-01-04 15:14:19.643415' WHERE `articles`.`id` = 298486374[0m
+ [1m[35m (13.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (2.3ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'published', '{\"id\":298486374}', '2018-01-04 15:14:19.661934', '2018-01-04 15:14:19.661934')[0m
+ [1m[35m (8.9ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: c7e0cdd3-fb0d-4131-b7be-83b280997c93) to Async(loco) with arguments: "3227ea20-d494-43ac-bcdd-7115169387dd", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [c7e0cdd3-fb0d-4131-b7be-83b280997c93] Performing Loco::SenderJob (Job ID: c7e0cdd3-fb0d-4131-b7be-83b280997c93) from Async(loco) with arguments: "3227ea20-d494-43ac-bcdd-7115169387dd", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [c7e0cdd3-fb0d-4131-b7be-83b280997c93] [ActionCable] Broadcasting to loco:notification_center:3227ea20-d494-43ac-bcdd-7115169387dd: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [c7e0cdd3-fb0d-4131-b7be-83b280997c93] Performed Loco::SenderJob (Job ID: c7e0cdd3-fb0d-4131-b7be-83b280997c93) from Async(loco) in 0.26ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:3227ea20-d494-43ac-bcdd-7115169387dd)
+ [1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A19.498480Z&uuid=3227ea20-d494-43ac-bcdd-7115169387dd" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+ [1m[35mSQL (2.2ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'updated', '{\"id\":298486374}', 'User', 872278135, '2018-01-04 15:14:19.679500', '2018-01-04 15:14:19.679500')[0m
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:19.498480Z", "uuid"=>"3227ea20-d494-43ac-bcdd-7115169387dd"}
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:19.498480') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[35m (9.9ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 85b67931-37eb-4b6f-a70c-f179db215c5c) to Async(loco) with arguments: #<GlobalID:0x00007f9521c209a8 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+ [1m[36mLoco::Notification Load (3.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:19.498480') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 0a39a85f-5767-4f35-b840-07a9e99838d5) to Async(loco) with arguments: #<GlobalID:0x00007f9521bef538 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:14:19.679500Z"}}
+Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 7.5ms)
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Completed 200 OK in 70ms (Views: 0.3ms | ActiveRecord: 44.1ms)
+[ActiveJob] [Loco::SenderJob] [85b67931-37eb-4b6f-a70c-f179db215c5c] Performing Loco::SenderJob (Job ID: 85b67931-37eb-4b6f-a70c-f179db215c5c) from Async(loco) with arguments: #<GlobalID:0x00007f9521be56f0 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [85b67931-37eb-4b6f-a70c-f179db215c5c] [ActionCable] Broadcasting to loco:notification_center:3227ea20-d494-43ac-bcdd-7115169387dd: {:loco=>{:notification=>["Article", 298486374, "updated", {"id"=>298486374}]}}
+ [1m[36mUser Load (3.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [85b67931-37eb-4b6f-a70c-f179db215c5c] Performed Loco::SenderJob (Job ID: 85b67931-37eb-4b6f-a70c-f179db215c5c) from Async(loco) in 0.56ms
+[ActiveJob] [Loco::SenderJob] [0a39a85f-5767-4f35-b840-07a9e99838d5] Performing Loco::SenderJob (Job ID: 0a39a85f-5767-4f35-b840-07a9e99838d5) from Async(loco) with arguments: #<GlobalID:0x00007f9521bdc708 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:14:19.679500Z"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "updated", {"id"=>298486374}]}} (via streamed from loco:notification_center:3227ea20-d494-43ac-bcdd-7115169387dd)
+[ActiveJob] [Loco::SenderJob] [0a39a85f-5767-4f35-b840-07a9e99838d5] [ActionCable] Broadcasting to loco:notification_center:3227ea20-d494-43ac-bcdd-7115169387dd: {:loco=>{:sync_time=>"2018-01-04T15:14:19.679500Z"}}
+[ActiveJob] [Loco::SenderJob] [0a39a85f-5767-4f35-b840-07a9e99838d5] Performed Loco::SenderJob (Job ID: 0a39a85f-5767-4f35-b840-07a9e99838d5) from Async(loco) in 1.1ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:14:19.679500Z"}} (via streamed from loco:notification_center:3227ea20-d494-43ac-bcdd-7115169387dd)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:19 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (2.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (6.1ms)
+ Rendered user/articles/show.json.jbuilder (7.0ms)
+Completed 200 OK in 16ms (Views: 5.2ms | ActiveRecord: 5.9ms)
+ [1m[35m (1.0ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (50.7ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (59.6ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (48.9ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (58.7ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (52.0ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (43.5ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (44.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (55.5ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.3ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.7ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$uPwsyS3krUx1bzXtapylAOsARQsxZMfJMoHaL3FHRfP6Qu3D4AjKm', '2018-01-04 15:14:20.225883', '2018-01-04 15:14:20.225883', 980190962)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$UrCD01dRB//glQkefyiNiewaaKWudvBduiS2S9Vipt/YEcpvAQeMe', '2018-01-04 15:14:20.225883', '2018-01-04 15:14:20.225883', 298486374)[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$W3Kp7dcjvRcUCP69V9hKhOMdVMOwG/bVfx5g9Lxamq8m1tkH8n8b.', '2017-12-28 15:14:20', '2018-01-04 15:14:20.230282', '2018-01-04 15:14:20.230282', 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$AsRmb2xzgaphsLxZLy9eWOJ2uxiqpCAbaO65II6Cvx1wMbHPQSE2C', '2018-01-04 15:14:20.230282', '2018-01-04 15:14:20.230282', 15595101)[0m
+ [1m[36mFixture Delete (1.1ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:14:20', '2018-01-04 15:14:20.236974', '2018-01-04 15:14:20.236974', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:14:20.236974', '2018-01-04 15:14:20.236974', 298486374, 872278135)[0m
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A19.679500Z&uuid=3227ea20-d494-43ac-bcdd-7115169387dd" for 127.0.0.1 at 2018-01-04 16:14:20 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ [1m[35m (9.5ms)[0m [1m[35mCOMMIT[0m
+ Parameters: {"synced_at"=>"2018-01-04T15:14:19.679500Z", "uuid"=>"3227ea20-d494-43ac-bcdd-7115169387dd"}
+ [1m[35m (1.4ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+---------------------------------------------------------------------------
+User::ArticleShowPageTest: test_should_auto_remove_comment_if_was_destroyed
+---------------------------------------------------------------------------
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (3.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:19.679500') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:19.679500') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 25ms (Views: 0.4ms | ActiveRecord: 7.2ms)
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:14:20 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.4ms)
+ Rendered layouts/_head.html.erb (1.0ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:20 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: f146d69d-052b-4c72-9368-156caa0f5218) to Async(loco) with arguments: #<GlobalID:0x00007f951ce16118 @uri=#<URI::GID gid://dummy/User/872278135>>, "3227ea20-d494-43ac-bcdd-7115169387dd", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:3227ea20-d494-43ac-bcdd-7115169387dd
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [f146d69d-052b-4c72-9368-156caa0f5218] Performing Loco::UuidJob (Job ID: f146d69d-052b-4c72-9368-156caa0f5218) from Async(loco) with arguments: #<GlobalID:0x00007f951cd71fc8 @uri=#<URI::GID gid://dummy/User/872278135>>, "3227ea20-d494-43ac-bcdd-7115169387dd", "del"
+[ActiveJob] [Loco::UuidJob] [f146d69d-052b-4c72-9368-156caa0f5218] Performed Loco::UuidJob (Job ID: f146d69d-052b-4c72-9368-156caa0f5218) from Async(loco) in 0.27ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:20 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:20 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:20 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[35m (3.0ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (3.5ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (13.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:20 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:20 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (27.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` IS NULL LIMIT 1[0m
+ [1m[35m (39.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (42.0ms)
+ Rendered main/articles/index.json.jbuilder (63.5ms)
+Completed 200 OK in 71ms (Views: 8.8ms | ActiveRecord: 58.7ms)
+ [1m[36mAdmin Load (15.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] Registered connection (["de78699a-fd5a-4026-8428-33e454a1459d", nil, nil])
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 9eff1f33-2508-4ff2-9e17-d711ed078bac) to Async(loco) with arguments: "de78699a-fd5a-4026-8428-33e454a1459d", {:loco=>{:uuid=>"de78699a-fd5a-4026-8428-33e454a1459d"}}
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 2a8bdf5a-30b9-4a00-a41a-504840088c9e) to Async(loco) with arguments: "de78699a-fd5a-4026-8428-33e454a1459d", {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [2a8bdf5a-30b9-4a00-a41a-504840088c9e] Performing Loco::SenderJob (Job ID: 2a8bdf5a-30b9-4a00-a41a-504840088c9e) from Async(loco) with arguments: "de78699a-fd5a-4026-8428-33e454a1459d", {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [2a8bdf5a-30b9-4a00-a41a-504840088c9e] [ActionCable] Broadcasting to loco:notification_center:de78699a-fd5a-4026-8428-33e454a1459d: {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [2a8bdf5a-30b9-4a00-a41a-504840088c9e] Performed Loco::SenderJob (Job ID: 2a8bdf5a-30b9-4a00-a41a-504840088c9e) from Async(loco) in 0.3ms
+[AC] [-] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] Loco::NotificationCenterChannel is streaming from loco:notification_center:de78699a-fd5a-4026-8428-33e454a1459d
+[ActiveJob] [Loco::SenderJob] [9eff1f33-2508-4ff2-9e17-d711ed078bac] Performing Loco::SenderJob (Job ID: 9eff1f33-2508-4ff2-9e17-d711ed078bac) from Async(loco) with arguments: "de78699a-fd5a-4026-8428-33e454a1459d", {:loco=>{:uuid=>"de78699a-fd5a-4026-8428-33e454a1459d"}}
+[ActiveJob] [Loco::SenderJob] [9eff1f33-2508-4ff2-9e17-d711ed078bac] [ActionCable] Broadcasting to loco:notification_center:de78699a-fd5a-4026-8428-33e454a1459d: {:loco=>{:uuid=>"de78699a-fd5a-4026-8428-33e454a1459d"}}
+[ActiveJob] [Loco::SenderJob] [9eff1f33-2508-4ff2-9e17-d711ed078bac] Performed Loco::SenderJob (Job ID: 9eff1f33-2508-4ff2-9e17-d711ed078bac) from Async(loco) in 0.37ms
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"de78699a-fd5a-4026-8428-33e454a1459d"}} (via streamed from loco:notification_center:de78699a-fd5a-4026-8428-33e454a1459d)
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:14:20 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.8ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.4ms)
+ Rendered layouts/_head.html.erb (2.4ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:20 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 11ms (ActiveRecord: 2.9ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.3ms)
+ Rendered layouts/_head.html.erb (3.1ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 15ms (Views: 7.3ms | ActiveRecord: 1.6ms)
+[AC] [-] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+[AC] [-] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:de78699a-fd5a-4026-8428-33e454a1459d
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+Processing by User::ArticlesController#index as JSON
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+ Parameters: {"page"=>"1", "article"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (2.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+ [1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ Rendered user/articles/_article_for_list.json.jbuilder (5.3ms)
+ [1m[35m (15.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ [1m[36mArticle Load (14.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (23.9ms)
+ Rendered user/articles/index.json.jbuilder (40.4ms)
+ [1m[36mUser Load (3.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Completed 200 OK in 53ms (Views: 21.8ms | ActiveRecord: 23.4ms)
+ [1m[36mAdmin Load (9.0ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["a89e6075-8a3e-4baa-a5aa-54c0d7c71e83", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$W3Kp7dcjvRcUCP69V9hKhOMdVMOwG/bVfx5g9Lxamq8...", created_at: "2018-01-04 15:14:20", updated_at: "2018-01-04 15:14:20", confirmed_at: "2017-12-28 15:14:20">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 922c552a-3855-4556-9431-9d43b16c98ed) to Async(loco) with arguments: "a89e6075-8a3e-4baa-a5aa-54c0d7c71e83", {:loco=>{:uuid=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}}
+[ActiveJob] [Loco::SenderJob] [922c552a-3855-4556-9431-9d43b16c98ed] Performing Loco::SenderJob (Job ID: 922c552a-3855-4556-9431-9d43b16c98ed) from Async(loco) with arguments: "a89e6075-8a3e-4baa-a5aa-54c0d7c71e83", {:loco=>{:uuid=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: e05dc05c-68e5-4171-bc1c-73247e101b86) to Async(loco) with arguments: #<GlobalID:0x00007f952141ab50 @uri=#<URI::GID gid://dummy/User/872278135>>, "a89e6075-8a3e-4baa-a5aa-54c0d7c71e83", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:a89e6075-8a3e-4baa-a5aa-54c0d7c71e83
+[ActiveJob] [Loco::SenderJob] [922c552a-3855-4556-9431-9d43b16c98ed] [ActionCable] Broadcasting to loco:notification_center:a89e6075-8a3e-4baa-a5aa-54c0d7c71e83: {:loco=>{:uuid=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [922c552a-3855-4556-9431-9d43b16c98ed] Performed Loco::SenderJob (Job ID: 922c552a-3855-4556-9431-9d43b16c98ed) from Async(loco) in 1.48ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}} (via streamed from loco:notification_center:a89e6075-8a3e-4baa-a5aa-54c0d7c71e83)
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [e05dc05c-68e5-4171-bc1c-73247e101b86] Performing Loco::UuidJob (Job ID: e05dc05c-68e5-4171-bc1c-73247e101b86) from Async(loco) with arguments: #<GlobalID:0x00007f95213f8fa0 @uri=#<URI::GID gid://dummy/User/872278135>>, "a89e6075-8a3e-4baa-a5aa-54c0d7c71e83", "add"
+[ActiveJob] [Loco::UuidJob] [e05dc05c-68e5-4171-bc1c-73247e101b86] Performed Loco::UuidJob (Job ID: e05dc05c-68e5-4171-bc1c-73247e101b86) from Async(loco) in 0.72ms
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+Processing by User::ArticlesController#show as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/show.html.erb within layouts/user
+ Rendered user/articles/show.html.erb within layouts/user (0.3ms)
+ Rendered layouts/_head.html.erb (3.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 15ms (Views: 6.3ms | ActiveRecord: 2.1ms)
+ [1m[35m (2.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (4.4ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 298486374, '2018-01-04 15:14:21.496852', '2018-01-04 15:14:21.496852', 0, 0, 3)[0m
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+ [1m[35m (18.2ms)[0m [1m[35mCOMMIT[0m
+Processing by Loco::NotificationCenterController#sync_time as */*
+Processing by User::ArticlesController#show as JSON
+ [1m[36mUser Load (4.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (2.0ms)[0m [1m[35mBEGIN[0m
+ [1m[36mArticle Load (8.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[35mSQL (3.9ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":298486374,\"id\":1}', '2018-01-04 15:14:21.537609', '2018-01-04 15:14:21.537609')[0m
+ [1m[35m (5.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[36mComment Load (2.2ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendered user/comments/_comment.json.jbuilder (0.4ms)
+ Rendered user/comments/index.json.jbuilder (14.6ms)
+Completed 200 OK in 45ms (Views: 13.7ms | ActiveRecord: 20.3ms)
+ [1m[35m (19.1ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: c46f3a8b-851d-4f16-adbf-dd1f2fda5359) to Async(loco) with arguments: "a89e6075-8a3e-4baa-a5aa-54c0d7c71e83", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [c46f3a8b-851d-4f16-adbf-dd1f2fda5359] Performing Loco::SenderJob (Job ID: c46f3a8b-851d-4f16-adbf-dd1f2fda5359) from Async(loco) with arguments: "a89e6075-8a3e-4baa-a5aa-54c0d7c71e83", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [c46f3a8b-851d-4f16-adbf-dd1f2fda5359] [ActionCable] Broadcasting to loco:notification_center:a89e6075-8a3e-4baa-a5aa-54c0d7c71e83: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [c46f3a8b-851d-4f16-adbf-dd1f2fda5359] Performed Loco::SenderJob (Job ID: c46f3a8b-851d-4f16-adbf-dd1f2fda5359) from Async(loco) in 0.38ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:a89e6075-8a3e-4baa-a5aa-54c0d7c71e83)
+ [1m[36mArticle Load (8.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A21.528720Z&uuid=a89e6075-8a3e-4baa-a5aa-54c0d7c71e83" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:21.528720Z", "uuid"=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}
+ [1m[35m (3.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (6.9ms)
+ Rendered user/articles/show.json.jbuilder (12.3ms)
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Completed 200 OK in 48ms (Views: 14.1ms | ActiveRecord: 12.9ms)
+ [1m[36mLoco::Notification Load (2.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:21.528720') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (3.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:21.528720') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 8.2ms)
+Started GET "/user/articles/298486374/comments/1" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+Processing by User::CommentsController#show as JSON
+ Parameters: {"article_id"=>"298486374", "id"=>"1", "comment"=>{}}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (3.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mComment Load (1.6ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering user/comments/show.json.jbuilder
+ Rendered user/comments/_comment.json.jbuilder (0.3ms)
+ Rendered user/comments/show.json.jbuilder (1.1ms)
+Completed 200 OK in 18ms (Views: 2.1ms | ActiveRecord: 6.7ms)
+ [1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.6ms)[0m [1m[31mDELETE FROM `comments` WHERE `comments`.`id` = 1[0m
+ [1m[35m (14.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'destroyed', '{\"article_id\":298486374,\"id\":1}', '2018-01-04 15:14:21.706143', '2018-01-04 15:14:21.706143')[0m
+ [1m[35m (10.6ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [37ad0c40-46f1-426a-af3a-b88b183064b2] Performing Loco::SenderJob (Job ID: 37ad0c40-46f1-426a-af3a-b88b183064b2) from Async(loco) with arguments: "a89e6075-8a3e-4baa-a5aa-54c0d7c71e83", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [37ad0c40-46f1-426a-af3a-b88b183064b2] [ActionCable] Broadcasting to loco:notification_center:a89e6075-8a3e-4baa-a5aa-54c0d7c71e83: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [37ad0c40-46f1-426a-af3a-b88b183064b2] Performed Loco::SenderJob (Job ID: 37ad0c40-46f1-426a-af3a-b88b183064b2) from Async(loco) in 0.2ms
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 37ad0c40-46f1-426a-af3a-b88b183064b2) to Async(loco) with arguments: "a89e6075-8a3e-4baa-a5aa-54c0d7c71e83", {:loco=>{:xhr_notifications=>true}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:a89e6075-8a3e-4baa-a5aa-54c0d7c71e83)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A21.603062Z&uuid=a89e6075-8a3e-4baa-a5aa-54c0d7c71e83" for 127.0.0.1 at 2018-01-04 16:14:21 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:21.603062Z", "uuid"=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:21.603062') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:21.603062') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 4.6ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A21.735274Z&uuid=a89e6075-8a3e-4baa-a5aa-54c0d7c71e83" for 127.0.0.1 at 2018-01-04 16:14:22 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:21.735274Z", "uuid"=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:21.735274') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:21.735274') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.7ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A22.245697Z&uuid=a89e6075-8a3e-4baa-a5aa-54c0d7c71e83" for 127.0.0.1 at 2018-01-04 16:14:23 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:22.245697Z", "uuid"=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:22.245697') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:22.245697') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.5ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A23.245645Z&uuid=a89e6075-8a3e-4baa-a5aa-54c0d7c71e83" for 127.0.0.1 at 2018-01-04 16:14:24 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:23.245645Z", "uuid"=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:23.245645') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:23.245645') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 4.5ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A24.243963Z&uuid=a89e6075-8a3e-4baa-a5aa-54c0d7c71e83" for 127.0.0.1 at 2018-01-04 16:14:25 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:24.243963Z", "uuid"=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}
+ [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:24.243963') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:24.243963') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.0ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A25.238767Z&uuid=a89e6075-8a3e-4baa-a5aa-54c0d7c71e83" for 127.0.0.1 at 2018-01-04 16:14:26 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:25.238767Z", "uuid"=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:25.238767') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:25.238767') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.4ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A26.241522Z&uuid=a89e6075-8a3e-4baa-a5aa-54c0d7c71e83" for 127.0.0.1 at 2018-01-04 16:14:27 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:26.241522Z", "uuid"=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:26.241522') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:26.241522') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.3ms)
+ [1m[35m (1.2ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (50.0ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (34.4ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (50.4ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (39.0ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (61.4ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (49.1ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (51.5ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (43.2ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$00qXODDGcIx96kfChkLmc.ergD2dS2u34PnUvU8Ygus.nOGMFZtzi', '2018-01-04 15:14:28.181234', '2018-01-04 15:14:28.181234', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$IzzYMdeNyZs7L9ACMq1ez.P8x69aH.Hv08ju0LFv3kPVWayzGBpda', '2018-01-04 15:14:28.181234', '2018-01-04 15:14:28.181234', 298486374)[0m
+ [1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$qtZZOUYS/ud5Ui/EknTf1e4wrwgfIfC54su.DDYtQrP1zJ6RMCvVa', '2017-12-28 15:14:28', '2018-01-04 15:14:28.186275', '2018-01-04 15:14:28.186275', 872278135)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$yqTVX6aF0rcFWiPRiIh6COm67EXfjpUBgfVxTKziJ7Oh/mRxTE5Ai', '2018-01-04 15:14:28.186275', '2018-01-04 15:14:28.186275', 15595101)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:14:28', '2018-01-04 15:14:28.191353', '2018-01-04 15:14:28.191353', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:14:28.191353', '2018-01-04 15:14:28.191353', 298486374, 872278135)[0m
+ [1m[35m (12.4ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (2.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+----------------------------------------------------------
+User::ArticleShowPageTest: test_should_auto_update_comment
+----------------------------------------------------------
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A27.241855Z&uuid=a89e6075-8a3e-4baa-a5aa-54c0d7c71e83" for 127.0.0.1 at 2018-01-04 16:14:28 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:27.241855Z", "uuid"=>"a89e6075-8a3e-4baa-a5aa-54c0d7c71e83"}
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:14:28 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
+ [1m[36mLoco::Notification Load (3.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:27.241855') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 3.7ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:28 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: a8b3943b-1598-4ef6-98bf-e3b1065d70c4) to Async(loco) with arguments: #<GlobalID:0x00007f952141ab50 @uri=#<URI::GID gid://dummy/User/872278135>>, "a89e6075-8a3e-4baa-a5aa-54c0d7c71e83", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:a89e6075-8a3e-4baa-a5aa-54c0d7c71e83
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [a8b3943b-1598-4ef6-98bf-e3b1065d70c4] Performing Loco::UuidJob (Job ID: a8b3943b-1598-4ef6-98bf-e3b1065d70c4) from Async(loco) with arguments: #<GlobalID:0x00007f95216d90a8 @uri=#<URI::GID gid://dummy/User/872278135>>, "a89e6075-8a3e-4baa-a5aa-54c0d7c71e83", "del"
+[ActiveJob] [Loco::UuidJob] [a8b3943b-1598-4ef6-98bf-e3b1065d70c4] Performed Loco::UuidJob (Job ID: a8b3943b-1598-4ef6-98bf-e3b1065d70c4) from Async(loco) in 0.36ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:28 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:28 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:28 +0100
+Processing by Main::ArticlesController#index as JSON
+Processing by Loco::NotificationCenterController#sync_time as */*
+ Parameters: {"page"=>"1", "article"=>{}}
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (3.5ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (3.2ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (5.8ms)
+ Rendered main/articles/index.json.jbuilder (15.7ms)
+Completed 200 OK in 24ms (Views: 8.5ms | ActiveRecord: 11.7ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:28 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:28 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (3.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` IS NULL LIMIT 1[0m
+ [1m[36mAdmin Load (8.4ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] Registered connection (["c0bab395-8394-4c63-9968-dfe4d9b71000", nil, nil])
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 7b9f13fe-f77c-454e-820a-498eaeff12aa) to Async(loco) with arguments: "c0bab395-8394-4c63-9968-dfe4d9b71000", {:loco=>{:uuid=>"c0bab395-8394-4c63-9968-dfe4d9b71000"}}
+[ActiveJob] [Loco::SenderJob] [7b9f13fe-f77c-454e-820a-498eaeff12aa] Performing Loco::SenderJob (Job ID: 7b9f13fe-f77c-454e-820a-498eaeff12aa) from Async(loco) with arguments: "c0bab395-8394-4c63-9968-dfe4d9b71000", {:loco=>{:uuid=>"c0bab395-8394-4c63-9968-dfe4d9b71000"}}
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: fe1dccac-1383-47ff-8ce1-71ba56b3e873) to Async(loco) with arguments: "c0bab395-8394-4c63-9968-dfe4d9b71000", {:loco=>{:start_ajax_polling=>true}}
+[AC] [-] Loco::NotificationCenterChannel is streaming from loco:notification_center:c0bab395-8394-4c63-9968-dfe4d9b71000
+[ActiveJob] [Loco::SenderJob] [fe1dccac-1383-47ff-8ce1-71ba56b3e873] Performing Loco::SenderJob (Job ID: fe1dccac-1383-47ff-8ce1-71ba56b3e873) from Async(loco) with arguments: "c0bab395-8394-4c63-9968-dfe4d9b71000", {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [7b9f13fe-f77c-454e-820a-498eaeff12aa] [ActionCable] Broadcasting to loco:notification_center:c0bab395-8394-4c63-9968-dfe4d9b71000: {:loco=>{:uuid=>"c0bab395-8394-4c63-9968-dfe4d9b71000"}}
+[AC] [-] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::SenderJob] [fe1dccac-1383-47ff-8ce1-71ba56b3e873] [ActionCable] Broadcasting to loco:notification_center:c0bab395-8394-4c63-9968-dfe4d9b71000: {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [7b9f13fe-f77c-454e-820a-498eaeff12aa] Performed Loco::SenderJob (Job ID: 7b9f13fe-f77c-454e-820a-498eaeff12aa) from Async(loco) in 0.83ms
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"c0bab395-8394-4c63-9968-dfe4d9b71000"}} (via streamed from loco:notification_center:c0bab395-8394-4c63-9968-dfe4d9b71000)
+[ActiveJob] [Loco::SenderJob] [fe1dccac-1383-47ff-8ce1-71ba56b3e873] Performed Loco::SenderJob (Job ID: fe1dccac-1383-47ff-8ce1-71ba56b3e873) from Async(loco) in 1.67ms
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"start_ajax_polling"=>true}} (via streamed from loco:notification_center:c0bab395-8394-4c63-9968-dfe4d9b71000)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:28 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:14:28 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.6ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.1ms)
+ Rendered layouts/_head.html.erb (4.5ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:28 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:14:28 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 8ms (ActiveRecord: 1.8ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.6ms)
+ Rendered layouts/_head.html.erb (2.2ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 15ms (Views: 6.8ms | ActiveRecord: 2.4ms)
+[AC] [-] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+[AC] [-] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:c0bab395-8394-4c63-9968-dfe4d9b71000
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (4.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (3.0ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mArticle Load (5.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (3.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (5.8ms)
+ [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (3.4ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (5.2ms)
+ Rendered user/articles/index.json.jbuilder (19.8ms)
+Completed 200 OK in 39ms (Views: 7.7ms | ActiveRecord: 20.8ms)
+ [1m[36mAdmin Load (4.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["b25c7f38-d97f-49f2-bdb9-e37784e38149", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$qtZZOUYS/ud5Ui/EknTf1e4wrwgfIfC54su.DDYtQrP...", created_at: "2018-01-04 15:14:28", updated_at: "2018-01-04 15:14:28", confirmed_at: "2017-12-28 15:14:28">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 475397e1-5605-4566-84f9-d4190b5a03ea) to Async(loco) with arguments: "b25c7f38-d97f-49f2-bdb9-e37784e38149", {:loco=>{:uuid=>"b25c7f38-d97f-49f2-bdb9-e37784e38149"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 7fdad920-1235-4ed1-9be5-5dc2caad1694) to Async(loco) with arguments: #<GlobalID:0x00007f95213ea108 @uri=#<URI::GID gid://dummy/User/872278135>>, "b25c7f38-d97f-49f2-bdb9-e37784e38149", "add"
+[ActiveJob] [Loco::SenderJob] [475397e1-5605-4566-84f9-d4190b5a03ea] Performing Loco::SenderJob (Job ID: 475397e1-5605-4566-84f9-d4190b5a03ea) from Async(loco) with arguments: "b25c7f38-d97f-49f2-bdb9-e37784e38149", {:loco=>{:uuid=>"b25c7f38-d97f-49f2-bdb9-e37784e38149"}}
+[ActiveJob] [Loco::SenderJob] [475397e1-5605-4566-84f9-d4190b5a03ea] [ActionCable] Broadcasting to loco:notification_center:b25c7f38-d97f-49f2-bdb9-e37784e38149: {:loco=>{:uuid=>"b25c7f38-d97f-49f2-bdb9-e37784e38149"}}
+[ActiveJob] [Loco::SenderJob] [475397e1-5605-4566-84f9-d4190b5a03ea] Performed Loco::SenderJob (Job ID: 475397e1-5605-4566-84f9-d4190b5a03ea) from Async(loco) in 0.43ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:b25c7f38-d97f-49f2-bdb9-e37784e38149
+ [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [7fdad920-1235-4ed1-9be5-5dc2caad1694] Performing Loco::UuidJob (Job ID: 7fdad920-1235-4ed1-9be5-5dc2caad1694) from Async(loco) with arguments: #<GlobalID:0x00007f95213c26f8 @uri=#<URI::GID gid://dummy/User/872278135>>, "b25c7f38-d97f-49f2-bdb9-e37784e38149", "add"
+[ActiveJob] [Loco::UuidJob] [7fdad920-1235-4ed1-9be5-5dc2caad1694] Performed Loco::UuidJob (Job ID: 7fdad920-1235-4ed1-9be5-5dc2caad1694) from Async(loco) in 0.83ms
+ [1m[36mArticle Load (1.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Processing by User::ArticlesController#show as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/show.html.erb within layouts/user
+ Rendered user/articles/show.html.erb within layouts/user (0.3ms)
+ Rendered layouts/_head.html.erb (1.3ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 10ms (Views: 4.1ms | ActiveRecord: 1.2ms)
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[35mSQL (5.6ms)[0m [1m[32mINSERT INTO `comments` (`author`, `text`, `article_id`, `created_at`, `updated_at`, `emotion`, `pinned`, `admin_rate`) VALUES ('Ryan', 'Some nice thoughts dude', 298486374, '2018-01-04 15:14:29.306466', '2018-01-04 15:14:29.306466', 0, 0, 3)[0m
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+ [1m[36mUser Load (3.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (4.4ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[36mArticle Load (4.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (24.0ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (3.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (6.2ms)
+ Rendered user/articles/show.json.jbuilder (7.3ms)
+Completed 200 OK in 31ms (Views: 4.5ms | ActiveRecord: 11.6ms)
+ [1m[35m (4.0ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[35m (6.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mComment Load (5.3ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/_comment.json.jbuilder (0.3ms)
+ Rendered user/comments/index.json.jbuilder (8.3ms)
+Completed 200 OK in 33ms (Views: 4.3ms | ActiveRecord: 15.1ms)
+ [1m[35mSQL (5.5ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'created', '{\"article_id\":298486374,\"id\":1}', '2018-01-04 15:14:29.349163', '2018-01-04 15:14:29.349163')[0m
+ [1m[35m (13.7ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: c0fb3a42-471e-476a-b1ad-b0a3789d3cc3) to Async(loco) with arguments: "b25c7f38-d97f-49f2-bdb9-e37784e38149", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [c0fb3a42-471e-476a-b1ad-b0a3789d3cc3] Performing Loco::SenderJob (Job ID: c0fb3a42-471e-476a-b1ad-b0a3789d3cc3) from Async(loco) with arguments: "b25c7f38-d97f-49f2-bdb9-e37784e38149", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [c0fb3a42-471e-476a-b1ad-b0a3789d3cc3] [ActionCable] Broadcasting to loco:notification_center:b25c7f38-d97f-49f2-bdb9-e37784e38149: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [c0fb3a42-471e-476a-b1ad-b0a3789d3cc3] Performed Loco::SenderJob (Job ID: c0fb3a42-471e-476a-b1ad-b0a3789d3cc3) from Async(loco) in 0.41ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:b25c7f38-d97f-49f2-bdb9-e37784e38149)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A29.318132Z" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:29.318132Z"}
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Processing by User::ArticlesController#show as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (3.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/show.html.erb within layouts/user
+ Rendered user/articles/show.html.erb within layouts/user (0.5ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ [1m[36mLoco::Notification Load (7.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:29.318132') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 14ms (Views: 6.9ms | ActiveRecord: 1.3ms)
+ [1m[36mLoco::Notification Load (2.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:29.318132') AND ((recipient_class = 'User' AND recipient_id = 872278135) OR (recipient_class = 'User' AND recipient_id IS NULL)) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 25ms (Views: 0.4ms | ActiveRecord: 13.6ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: e6c1338d-641d-44a1-a944-1518c2b1b84a) to Async(loco) with arguments: #<GlobalID:0x00007f95213ea108 @uri=#<URI::GID gid://dummy/User/872278135>>, "b25c7f38-d97f-49f2-bdb9-e37784e38149", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:b25c7f38-d97f-49f2-bdb9-e37784e38149
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (3.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [e6c1338d-641d-44a1-a944-1518c2b1b84a] Performing Loco::UuidJob (Job ID: e6c1338d-641d-44a1-a944-1518c2b1b84a) from Async(loco) with arguments: #<GlobalID:0x00007f952117b548 @uri=#<URI::GID gid://dummy/User/872278135>>, "b25c7f38-d97f-49f2-bdb9-e37784e38149", "del"
+[ActiveJob] [Loco::UuidJob] [e6c1338d-641d-44a1-a944-1518c2b1b84a] Performed Loco::UuidJob (Job ID: e6c1338d-641d-44a1-a944-1518c2b1b84a) from Async(loco) in 0.32ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+ [1m[36mUser Load (5.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+ [1m[36mArticle Load (3.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (24.1ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[36mComment Load (5.6ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendered user/comments/_comment.json.jbuilder (0.4ms)
+ Rendered user/comments/index.json.jbuilder (8.4ms)
+Completed 200 OK in 57ms (Views: 4.3ms | ActiveRecord: 38.8ms)
+ [1m[36mUser Load (36.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.9ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ Rendering user/articles/show.json.jbuilder
+ [1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (6.1ms)
+ Rendered user/articles/show.json.jbuilder (7.1ms)
+Completed 200 OK in 62ms (Views: 6.3ms | ActiveRecord: 40.7ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:29 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["f2531fa9-6477-4663-8103-b1b46ed9fceb", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$qtZZOUYS/ud5Ui/EknTf1e4wrwgfIfC54su.DDYtQrP...", created_at: "2018-01-04 15:14:28", updated_at: "2018-01-04 15:14:28", confirmed_at: "2017-12-28 15:14:28">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 95938c89-fa45-4434-8c83-d61a31c5dbfa) to Async(loco) with arguments: "f2531fa9-6477-4663-8103-b1b46ed9fceb", {:loco=>{:uuid=>"f2531fa9-6477-4663-8103-b1b46ed9fceb"}}
+[ActiveJob] [Loco::SenderJob] [95938c89-fa45-4434-8c83-d61a31c5dbfa] Performing Loco::SenderJob (Job ID: 95938c89-fa45-4434-8c83-d61a31c5dbfa) from Async(loco) with arguments: "f2531fa9-6477-4663-8103-b1b46ed9fceb", {:loco=>{:uuid=>"f2531fa9-6477-4663-8103-b1b46ed9fceb"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: e700b86b-3e99-45b5-b70f-4107767f5ed6) to Async(loco) with arguments: #<GlobalID:0x00007f95210e8658 @uri=#<URI::GID gid://dummy/User/872278135>>, "f2531fa9-6477-4663-8103-b1b46ed9fceb", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:f2531fa9-6477-4663-8103-b1b46ed9fceb
+[ActiveJob] [Loco::SenderJob] [95938c89-fa45-4434-8c83-d61a31c5dbfa] [ActionCable] Broadcasting to loco:notification_center:f2531fa9-6477-4663-8103-b1b46ed9fceb: {:loco=>{:uuid=>"f2531fa9-6477-4663-8103-b1b46ed9fceb"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [95938c89-fa45-4434-8c83-d61a31c5dbfa] Performed Loco::SenderJob (Job ID: 95938c89-fa45-4434-8c83-d61a31c5dbfa) from Async(loco) in 2.04ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"f2531fa9-6477-4663-8103-b1b46ed9fceb"}} (via streamed from loco:notification_center:f2531fa9-6477-4663-8103-b1b46ed9fceb)
+ [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [e700b86b-3e99-45b5-b70f-4107767f5ed6] Performing Loco::UuidJob (Job ID: e700b86b-3e99-45b5-b70f-4107767f5ed6) from Async(loco) with arguments: #<GlobalID:0x00007f95210c3ec0 @uri=#<URI::GID gid://dummy/User/872278135>>, "f2531fa9-6477-4663-8103-b1b46ed9fceb", "add"
+[ActiveJob] [Loco::UuidJob] [e700b86b-3e99-45b5-b70f-4107767f5ed6] Performed Loco::UuidJob (Job ID: e700b86b-3e99-45b5-b70f-4107767f5ed6) from Async(loco) in 0.7ms
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A29.454598Z&uuid=f2531fa9-6477-4663-8103-b1b46ed9fceb" for 127.0.0.1 at 2018-01-04 16:14:30 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:29.454598Z", "uuid"=>"f2531fa9-6477-4663-8103-b1b46ed9fceb"}
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:29.454598') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.5ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:29.454598') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 4.2ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A30.460591Z&uuid=f2531fa9-6477-4663-8103-b1b46ed9fceb" for 127.0.0.1 at 2018-01-04 16:14:31 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:30.460591Z", "uuid"=>"f2531fa9-6477-4663-8103-b1b46ed9fceb"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:30.460591') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.2ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:30.460591') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 4.5ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A31.461235Z&uuid=f2531fa9-6477-4663-8103-b1b46ed9fceb" for 127.0.0.1 at 2018-01-04 16:14:32 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:31.461235Z", "uuid"=>"f2531fa9-6477-4663-8103-b1b46ed9fceb"}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:31.461235') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:31.461235') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 5.1ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A32.462643Z&uuid=f2531fa9-6477-4663-8103-b1b46ed9fceb" for 127.0.0.1 at 2018-01-04 16:14:33 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:32.462643Z", "uuid"=>"f2531fa9-6477-4663-8103-b1b46ed9fceb"}
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (2.1ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:32.462643') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:32.462643') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 6.9ms)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A33.465773Z&uuid=f2531fa9-6477-4663-8103-b1b46ed9fceb" for 127.0.0.1 at 2018-01-04 16:14:34 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:33.465773Z", "uuid"=>"f2531fa9-6477-4663-8103-b1b46ed9fceb"}
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:33.465773') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.8ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:33.465773') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 4.6ms)
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.2ms)[0m [1m[33mUPDATE `comments` SET `text` = 'Some nice thoughts dude (edited)', `updated_at` = '2018-01-04 15:14:34.556697' WHERE `comments`.`id` = 1[0m
+ [1m[35m (28.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `created_at`, `updated_at`) VALUES ('Comment', 1, 'updated', '{\"article_id\":298486374,\"id\":1}', '2018-01-04 15:14:34.589992', '2018-01-04 15:14:34.589992')[0m
+ [1m[35m (7.7ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [242d6b19-ace2-474b-8069-461e1a3695c8] Performing Loco::SenderJob (Job ID: 242d6b19-ace2-474b-8069-461e1a3695c8) from Async(loco) with arguments: "f2531fa9-6477-4663-8103-b1b46ed9fceb", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 242d6b19-ace2-474b-8069-461e1a3695c8) to Async(loco) with arguments: "f2531fa9-6477-4663-8103-b1b46ed9fceb", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [242d6b19-ace2-474b-8069-461e1a3695c8] [ActionCable] Broadcasting to loco:notification_center:f2531fa9-6477-4663-8103-b1b46ed9fceb: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [242d6b19-ace2-474b-8069-461e1a3695c8] Performed Loco::SenderJob (Job ID: 242d6b19-ace2-474b-8069-461e1a3695c8) from Async(loco) in 0.62ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:f2531fa9-6477-4663-8103-b1b46ed9fceb)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A34.457955Z&uuid=f2531fa9-6477-4663-8103-b1b46ed9fceb" for 127.0.0.1 at 2018-01-04 16:14:34 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:34.457955Z", "uuid"=>"f2531fa9-6477-4663-8103-b1b46ed9fceb"}
+ [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:34.457955') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.7ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:34.457955') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 4.8ms)
+Started GET "/user/articles/298486374/comments/1" for 127.0.0.1 at 2018-01-04 16:14:34 +0100
+Processing by User::CommentsController#show as JSON
+ Parameters: {"article_id"=>"298486374", "id"=>"1", "comment"=>{}}
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (1.7ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mComment Load (1.4ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 AND `comments`.`id` = 1 LIMIT 1[0m
+ Rendering user/comments/show.json.jbuilder
+ Rendered user/comments/_comment.json.jbuilder (0.2ms)
+ Rendered user/comments/show.json.jbuilder (1.2ms)
+Completed 200 OK in 14ms (Views: 2.3ms | ActiveRecord: 4.8ms)
+ [1m[35m (1.2ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (55.6ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (40.0ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (46.9ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (42.5ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (39.8ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (61.3ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (50.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (49.0ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.7ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$S9hCCqytTVqfrKJT0IEgneXD3SSDjRqnIK3QNGIM0AS1bkH8Wc8Ke', '2018-01-04 15:14:35.136608', '2018-01-04 15:14:35.136608', 980190962)[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$JrDKUAY5NFl31TusVWttwu3yyOVhIsOqYod2qi3qTVi3I1yhijwba', '2018-01-04 15:14:35.136608', '2018-01-04 15:14:35.136608', 298486374)[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$fiinLVGyttJbrB6oAQUux.df3pj31BoCnanbOjQpJ19WcYr9jRwTm', '2017-12-28 15:14:35', '2018-01-04 15:14:35.141635', '2018-01-04 15:14:35.141635', 872278135)[0m
+ [1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$H.nZmuEeQPXFYkWBYUSlyu.My21pb.QtbEwiBhzmEDxId50dw4Vma', '2018-01-04 15:14:35.141635', '2018-01-04 15:14:35.141635', 15595101)[0m
+ [1m[36mFixture Delete (0.9ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:14:35', '2018-01-04 15:14:35.146996', '2018-01-04 15:14:35.146996', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:14:35.146996', '2018-01-04 15:14:35.146996', 298486374, 872278135)[0m
+ [1m[35m (9.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.4ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+----------------------------------------------------------------------------------------------------
+User::ArticleShowPageTest: test_should_auto_redirect_to_list_of_articles_if_article_has_been_deleted
+----------------------------------------------------------------------------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:14:35 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.4ms)
+ Rendered layouts/_head.html.erb (2.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:35 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 5a9cbd6a-eece-4d71-abcd-9114f08a68d9) to Async(loco) with arguments: #<GlobalID:0x00007f95210e8658 @uri=#<URI::GID gid://dummy/User/872278135>>, "f2531fa9-6477-4663-8103-b1b46ed9fceb", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:f2531fa9-6477-4663-8103-b1b46ed9fceb
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (7.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [5a9cbd6a-eece-4d71-abcd-9114f08a68d9] Performing Loco::UuidJob (Job ID: 5a9cbd6a-eece-4d71-abcd-9114f08a68d9) from Async(loco) with arguments: #<GlobalID:0x00007f951d4bb748 @uri=#<URI::GID gid://dummy/User/872278135>>, "f2531fa9-6477-4663-8103-b1b46ed9fceb", "del"
+[ActiveJob] [Loco::UuidJob] [5a9cbd6a-eece-4d71-abcd-9114f08a68d9] Performed Loco::UuidJob (Job ID: 5a9cbd6a-eece-4d71-abcd-9114f08a68d9) from Async(loco) in 0.25ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:35 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:35 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:35 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (5.7ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (4.3ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (3.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (6.1ms)
+ Rendered main/articles/index.json.jbuilder (15.9ms)
+Completed 200 OK in 28ms (Views: 7.1ms | ActiveRecord: 15.5ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:35 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:35 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` IS NULL LIMIT 1[0m
+ [1m[36mAdmin Load (28.5ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] Registered connection (["d145566f-6a80-411d-b996-b69b5830a586", nil, nil])
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: e17d2950-5407-4df9-8a24-e5b0abc177bc) to Async(loco) with arguments: "d145566f-6a80-411d-b996-b69b5830a586", {:loco=>{:uuid=>"d145566f-6a80-411d-b996-b69b5830a586"}}
+[AC] [-] [ActiveJob] Enqueued Loco::SenderJob (Job ID: d802b922-2004-49ee-b6ac-77c8dc5090fb) to Async(loco) with arguments: "d145566f-6a80-411d-b996-b69b5830a586", {:loco=>{:start_ajax_polling=>true}}
+[AC] [-] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::SenderJob] [d802b922-2004-49ee-b6ac-77c8dc5090fb] Performing Loco::SenderJob (Job ID: d802b922-2004-49ee-b6ac-77c8dc5090fb) from Async(loco) with arguments: "d145566f-6a80-411d-b996-b69b5830a586", {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [e17d2950-5407-4df9-8a24-e5b0abc177bc] Performing Loco::SenderJob (Job ID: e17d2950-5407-4df9-8a24-e5b0abc177bc) from Async(loco) with arguments: "d145566f-6a80-411d-b996-b69b5830a586", {:loco=>{:uuid=>"d145566f-6a80-411d-b996-b69b5830a586"}}
+[AC] [-] Loco::NotificationCenterChannel is streaming from loco:notification_center:d145566f-6a80-411d-b996-b69b5830a586
+[ActiveJob] [Loco::SenderJob] [d802b922-2004-49ee-b6ac-77c8dc5090fb] [ActionCable] Broadcasting to loco:notification_center:d145566f-6a80-411d-b996-b69b5830a586: {:loco=>{:start_ajax_polling=>true}}
+[ActiveJob] [Loco::SenderJob] [e17d2950-5407-4df9-8a24-e5b0abc177bc] [ActionCable] Broadcasting to loco:notification_center:d145566f-6a80-411d-b996-b69b5830a586: {:loco=>{:uuid=>"d145566f-6a80-411d-b996-b69b5830a586"}}
+[ActiveJob] [Loco::SenderJob] [d802b922-2004-49ee-b6ac-77c8dc5090fb] Performed Loco::SenderJob (Job ID: d802b922-2004-49ee-b6ac-77c8dc5090fb) from Async(loco) in 1.54ms
+[ActiveJob] [Loco::SenderJob] [e17d2950-5407-4df9-8a24-e5b0abc177bc] Performed Loco::SenderJob (Job ID: e17d2950-5407-4df9-8a24-e5b0abc177bc) from Async(loco) in 0.95ms
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"start_ajax_polling"=>true}} (via streamed from loco:notification_center:d145566f-6a80-411d-b996-b69b5830a586)
+[AC] [-] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"d145566f-6a80-411d-b996-b69b5830a586"}} (via streamed from loco:notification_center:d145566f-6a80-411d-b996-b69b5830a586)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:35 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/user/sessions/new" for 127.0.0.1 at 2018-01-04 16:14:35 +0100
+Processing by User::SessionsController#new as HTML
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (1.3ms)
+ Rendered user/sessions/new.html.erb within layouts/application (1.9ms)
+ Rendered layouts/_head.html.erb (1.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:35 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started POST "/user/sessions" for 127.0.0.1 at 2018-01-04 16:14:35 +0100
+Processing by User::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "email"=>"zbigniew.humeniuk@example.com", "password"=>"[FILTERED]", "commit"=>"Sign In"}
+ [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'zbigniew.humeniuk@example.com' LIMIT 1[0m
+Redirected to http://127.0.0.1:59678/user
+Completed 302 Found in 9ms (ActiveRecord: 2.3ms)
+Started GET "/user" for 127.0.0.1 at 2018-01-04 16:14:35 +0100
+Processing by User::ArticlesController#index as HTML
+ [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.3ms)
+ Rendered layouts/_head.html.erb (1.7ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 20ms (Views: 12.1ms | ActiveRecord: 1.2ms)
+[AC] [-] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+[AC] [-] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:d145566f-6a80-411d-b996-b69b5830a586
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (7.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[35m (7.7ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (8.2ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[36mUser Load (16.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (2.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["eea48ed3-d622-4f7e-8f98-bbe16e6096ca", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$fiinLVGyttJbrB6oAQUux.df3pj31BoCnanbOjQpJ19...", created_at: "2018-01-04 15:14:35", updated_at: "2018-01-04 15:14:35", confirmed_at: "2017-12-28 15:14:35">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: b14a1f30-7cb6-4639-bd20-21d4334781bb) to Async(loco) with arguments: "eea48ed3-d622-4f7e-8f98-bbe16e6096ca", {:loco=>{:uuid=>"eea48ed3-d622-4f7e-8f98-bbe16e6096ca"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 554fa247-1f35-4daa-8315-0b507d4ae604) to Async(loco) with arguments: #<GlobalID:0x00007f95212133e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "eea48ed3-d622-4f7e-8f98-bbe16e6096ca", "add"
+[ActiveJob] [Loco::SenderJob] [b14a1f30-7cb6-4639-bd20-21d4334781bb] Performing Loco::SenderJob (Job ID: b14a1f30-7cb6-4639-bd20-21d4334781bb) from Async(loco) with arguments: "eea48ed3-d622-4f7e-8f98-bbe16e6096ca", {:loco=>{:uuid=>"eea48ed3-d622-4f7e-8f98-bbe16e6096ca"}}
+ [1m[36mArticle Load (5.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`id` = 298486374 LIMIT 1[0m
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:eea48ed3-d622-4f7e-8f98-bbe16e6096ca
+ [1m[35m (18.7ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+[ActiveJob] [Loco::SenderJob] [b14a1f30-7cb6-4639-bd20-21d4334781bb] [ActionCable] Broadcasting to loco:notification_center:eea48ed3-d622-4f7e-8f98-bbe16e6096ca: {:loco=>{:uuid=>"eea48ed3-d622-4f7e-8f98-bbe16e6096ca"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [b14a1f30-7cb6-4639-bd20-21d4334781bb] Performed Loco::SenderJob (Job ID: b14a1f30-7cb6-4639-bd20-21d4334781bb) from Async(loco) in 4.18ms
+ Rendered user/articles/_article_for_list.json.jbuilder (27.0ms)
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"eea48ed3-d622-4f7e-8f98-bbe16e6096ca"}} (via streamed from loco:notification_center:eea48ed3-d622-4f7e-8f98-bbe16e6096ca)
+ [1m[35m (4.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (7.0ms)
+ Rendered user/articles/index.json.jbuilder (48.7ms)
+ [1m[36mUser Load (11.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+Completed 200 OK in 75ms (Views: 18.3ms | ActiveRecord: 46.7ms)
+[ActiveJob] [Loco::UuidJob] [554fa247-1f35-4daa-8315-0b507d4ae604] Performing Loco::UuidJob (Job ID: 554fa247-1f35-4daa-8315-0b507d4ae604) from Async(loco) with arguments: #<GlobalID:0x00007f95211baf18 @uri=#<URI::GID gid://dummy/User/872278135>>, "eea48ed3-d622-4f7e-8f98-bbe16e6096ca", "add"
+[ActiveJob] [Loco::UuidJob] [554fa247-1f35-4daa-8315-0b507d4ae604] Performed Loco::UuidJob (Job ID: 554fa247-1f35-4daa-8315-0b507d4ae604) from Async(loco) in 0.77ms
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Processing by User::ArticlesController#show as HTML
+ Parameters: {"id"=>"298486374"}
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/show.html.erb within layouts/user
+ Rendered user/articles/show.html.erb within layouts/user (0.5ms)
+ Rendered layouts/_head.html.erb (1.6ms)
+ Rendered layouts/_flash.html.erb (0.2ms)
+Completed 200 OK in 22ms (Views: 8.3ms | ActiveRecord: 1.6ms)
+Started GET "/user/articles/298486374" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Processing by User::ArticlesController#show as JSON
+ Parameters: {"id"=>"298486374", "article"=>{}}
+Started GET "/user/articles/298486374/comments?page=1" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Processing by User::CommentsController#index as JSON
+ Parameters: {"page"=>"1", "article_id"=>"298486374", "comment"=>{}}
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (4.3ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mUser Load (6.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mArticle Load (2.1ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[35m (4.3ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendering user/comments/index.json.jbuilder
+ [1m[36mArticle Load (2.8ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 AND `articles`.`id` = 298486374 LIMIT 1[0m
+ [1m[36mComment Load (1.6ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374 ORDER BY created_at ASC LIMIT 10 OFFSET 0[0m
+ Rendering user/articles/show.json.jbuilder
+ Rendered user/comments/index.json.jbuilder (5.2ms)
+Completed 200 OK in 30ms (Views: 9.4ms | ActiveRecord: 12.2ms)
+ [1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ Rendered user/articles/_article.json.jbuilder (5.6ms)
+ Rendered user/articles/show.json.jbuilder (7.4ms)
+Completed 200 OK in 39ms (Views: 8.1ms | ActiveRecord: 11.6ms)
+ [1m[35m (2.4ms)[0m [1m[35mBEGIN[0m
+ [1m[36mComment Load (1.7ms)[0m [1m[34mSELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 298486374[0m
+ [1m[35mSQL (1.7ms)[0m [1m[31mDELETE FROM `articles` WHERE `articles`.`id` = 298486374[0m
+ [1m[35m (15.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `recipient_id`, `created_at`, `updated_at`) VALUES ('Article', 298486374, 'destroyed', '{\"id\":298486374}', 'User', 872278135, '2018-01-04 15:14:36.477189', '2018-01-04 15:14:36.477189')[0m
+ [1m[35m (9.7ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: acd08f1a-c0a6-423f-a376-12c6158e5d09) to Async(loco) with arguments: #<GlobalID:0x00007f95210f2f40 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "destroyed", {"id"=>298486374}]}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: be1920e4-3065-4445-bf71-1e93d8a73a80) to Async(loco) with arguments: #<GlobalID:0x00007f95210e84f0 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:14:36.477189Z"}}
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [acd08f1a-c0a6-423f-a376-12c6158e5d09] Performing Loco::SenderJob (Job ID: acd08f1a-c0a6-423f-a376-12c6158e5d09) from Async(loco) with arguments: #<GlobalID:0x00007f95210c8560 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:notification=>["Article", 298486374, "destroyed", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [acd08f1a-c0a6-423f-a376-12c6158e5d09] [ActionCable] Broadcasting to loco:notification_center:eea48ed3-d622-4f7e-8f98-bbe16e6096ca: {:loco=>{:notification=>["Article", 298486374, "destroyed", {"id"=>298486374}]}}
+[ActiveJob] [Loco::SenderJob] [acd08f1a-c0a6-423f-a376-12c6158e5d09] Performed Loco::SenderJob (Job ID: acd08f1a-c0a6-423f-a376-12c6158e5d09) from Async(loco) in 0.58ms
+ [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::SenderJob] [be1920e4-3065-4445-bf71-1e93d8a73a80] Performing Loco::SenderJob (Job ID: be1920e4-3065-4445-bf71-1e93d8a73a80) from Async(loco) with arguments: #<GlobalID:0x00007f951cbd6010 @uri=#<URI::GID gid://dummy/User/872278135>>, {:loco=>{:sync_time=>"2018-01-04T15:14:36.477189Z"}}
+[ActiveJob] [Loco::SenderJob] [be1920e4-3065-4445-bf71-1e93d8a73a80] [ActionCable] Broadcasting to loco:notification_center:eea48ed3-d622-4f7e-8f98-bbe16e6096ca: {:loco=>{:sync_time=>"2018-01-04T15:14:36.477189Z"}}
+[ActiveJob] [Loco::SenderJob] [be1920e4-3065-4445-bf71-1e93d8a73a80] Performed Loco::SenderJob (Job ID: be1920e4-3065-4445-bf71-1e93d8a73a80) from Async(loco) in 0.36ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"notification"=>["Article", 298486374, "destroyed", {"id"=>298486374}]}} (via streamed from loco:notification_center:eea48ed3-d622-4f7e-8f98-bbe16e6096ca)
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"sync_time"=>"2018-01-04T15:14:36.477189Z"}} (via streamed from loco:notification_center:eea48ed3-d622-4f7e-8f98-bbe16e6096ca)
+Started GET "/user/articles?message=deleted" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Processing by User::ArticlesController#index as HTML
+ Parameters: {"message"=>"deleted"}
+ [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ Rendering user/articles/index.html.erb within layouts/user
+ Rendered user/articles/index.html.erb within layouts/user (0.2ms)
+ Rendered layouts/_head.html.erb (3.3ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.9ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: dd30cad6-ff76-409b-8b65-e805e687c4ad) to Async(loco) with arguments: #<GlobalID:0x00007f95212133e8 @uri=#<URI::GID gid://dummy/User/872278135>>, "eea48ed3-d622-4f7e-8f98-bbe16e6096ca", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:eea48ed3-d622-4f7e-8f98-bbe16e6096ca
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [dd30cad6-ff76-409b-8b65-e805e687c4ad] Performing Loco::UuidJob (Job ID: dd30cad6-ff76-409b-8b65-e805e687c4ad) from Async(loco) with arguments: #<GlobalID:0x00007f952108a670 @uri=#<URI::GID gid://dummy/User/872278135>>, "eea48ed3-d622-4f7e-8f98-bbe16e6096ca", "del"
+[ActiveJob] [Loco::UuidJob] [dd30cad6-ff76-409b-8b65-e805e687c4ad] Performed Loco::UuidJob (Job ID: dd30cad6-ff76-409b-8b65-e805e687c4ad) from Async(loco) in 0.28ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+Started GET "/user/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Processing by User::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+ [1m[36mUser Load (3.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE `articles`.`user_id` = 872278135[0m
+ Rendering user/articles/index.json.jbuilder
+ [1m[36mArticle Load (1.6ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE `articles`.`user_id` = 872278135 ORDER BY created_at ASC LIMIT 5 OFFSET 0[0m
+ [1m[35m (3.8ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered user/articles/_article_for_list.json.jbuilder (7.2ms)
+ Rendered user/articles/index.json.jbuilder (11.3ms)
+Completed 200 OK in 33ms (Views: 7.0ms | ActiveRecord: 11.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:36 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.2ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$fiinLVGyttJbrB6oAQUux.df3pj31BoCnanbOjQpJ19...", created_at: "2018-01-04 15:14:35", updated_at: "2018-01-04 15:14:35", confirmed_at: "2017-12-28 15:14:35">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: 4e29e178-dd88-454b-baa5-0accfe45a560) to Async(loco) with arguments: "fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef", {:loco=>{:uuid=>"fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef"}}
+[ActiveJob] [Loco::SenderJob] [4e29e178-dd88-454b-baa5-0accfe45a560] Performing Loco::SenderJob (Job ID: 4e29e178-dd88-454b-baa5-0accfe45a560) from Async(loco) with arguments: "fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef", {:loco=>{:uuid=>"fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 8a156da5-8a8b-41a3-a83d-66b916823110) to Async(loco) with arguments: #<GlobalID:0x00007f951caec2f8 @uri=#<URI::GID gid://dummy/User/872278135>>, "fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef
+[ActiveJob] [Loco::SenderJob] [4e29e178-dd88-454b-baa5-0accfe45a560] [ActionCable] Broadcasting to loco:notification_center:fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef: {:loco=>{:uuid=>"fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef"}}
+[ActiveJob] [Loco::SenderJob] [4e29e178-dd88-454b-baa5-0accfe45a560] Performed Loco::SenderJob (Job ID: 4e29e178-dd88-454b-baa5-0accfe45a560) from Async(loco) in 0.9ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef"}} (via streamed from loco:notification_center:fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef)
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [8a156da5-8a8b-41a3-a83d-66b916823110] Performing Loco::UuidJob (Job ID: 8a156da5-8a8b-41a3-a83d-66b916823110) from Async(loco) with arguments: #<GlobalID:0x00007f951cadfe90 @uri=#<URI::GID gid://dummy/User/872278135>>, "fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef", "add"
+[ActiveJob] [Loco::UuidJob] [8a156da5-8a8b-41a3-a83d-66b916823110] Performed Loco::UuidJob (Job ID: 8a156da5-8a8b-41a3-a83d-66b916823110) from Async(loco) in 0.72ms
+ [1m[35m (1.7ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (1.0ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (66.7ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (58.8ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (55.8ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (83.0ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (53.2ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (49.7ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (46.5ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (53.9ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.6ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mFixture Delete (0.8ms)[0m [1m[31mDELETE FROM `admins`[0m
+ [1m[36mFixture Insert (0.9ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@gmail.com', '$2a$04$kHJc2CdHrleQlu6mHFimg..CV8ScRCLwUJZeJ0e17V0oqImS0t7He', '2018-01-04 15:14:37.257729', '2018-01-04 15:14:37.257729', 980190962)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `admins` (`email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('zbigniew.humeniuk@motteq.com', '$2a$04$bUK5c6QNyLXBncJUw3m/Auww4FghtQIqSpPVihG3Za2uX2BipRlsS', '2018-01-04 15:14:37.257729', '2018-01-04 15:14:37.257729', 298486374)[0m
+ [1m[36mFixture Delete (1.3ms)[0m [1m[31mDELETE FROM `users`[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `confirmed_at`, `created_at`, `updated_at`, `id`) VALUES ('zbig', 'zbigniew.humeniuk@example.com', '$2a$04$tD731j4lh/lmpjeqCRVJzuPIKyLvqVt86SCrWyoZoaAfYG27Y4USO', '2017-12-28 15:14:37', '2018-01-04 15:14:37.263227', '2018-01-04 15:14:37.263227', 872278135)[0m
+ [1m[36mFixture Insert (1.0ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`, `id`) VALUES ('jane', 'jane@example.com', '$2a$04$Pwq8X4YCRP4X6OT9Sx2Vb.J5je3z3EQkxdP9GiJoZQcQ8127lpDpW', '2018-01-04 15:14:37.263227', '2018-01-04 15:14:37.263227', 15595101)[0m
+ [1m[36mFixture Delete (1.3ms)[0m [1m[31mDELETE FROM `articles`[0m
+ [1m[36mFixture Insert (1.6ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `published_at`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('A Guide to Testing Rails Applications', 'Testing support was woven into the Rails fabric from the beginning. Just about every Rails application interacts heavily with a database and, as a result, your tests will need a database to interact with as well. To write efficient tests, you\'ll need to understand how to set up this database and populate it with sample data.', '2018-01-03 15:14:37', '2018-01-04 15:14:37.270445', '2018-01-04 15:14:37.270445', 980190962, 872278135)[0m
+ [1m[36mFixture Insert (1.1ms)[0m [1m[32mINSERT INTO `articles` (`title`, `text`, `created_at`, `updated_at`, `id`, `user_id`) VALUES ('What is Active Record?', 'Active Record is the M in MVC - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.', '2018-01-04 15:14:37.270445', '2018-01-04 15:14:37.270445', 298486374, 872278135)[0m
+ [1m[35m (9.7ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.4ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+-----------------------------------
+SigningUpTest: test_signing_up_user
+-----------------------------------
+Started GET "/" for 127.0.0.1 at 2018-01-04 16:14:37 +0100
+Processing by Main::PagesController#index as HTML
+ Rendering main/pages/index.html.erb within layouts/application
+ Rendered main/pages/index.html.erb within layouts/application (0.3ms)
+ Rendered layouts/_head.html.erb (1.3ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:37 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 79643c8a-357a-465a-8d02-5c557e98addd) to Async(loco) with arguments: #<GlobalID:0x00007f951caec2f8 @uri=#<URI::GID gid://dummy/User/872278135>>, "fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [79643c8a-357a-465a-8d02-5c557e98addd] Performing Loco::UuidJob (Job ID: 79643c8a-357a-465a-8d02-5c557e98addd) from Async(loco) with arguments: #<GlobalID:0x00007f951d20e248 @uri=#<URI::GID gid://dummy/User/872278135>>, "fde3ebb9-1c75-47c0-afa4-3698c5f5e5ef", "del"
+[ActiveJob] [Loco::UuidJob] [79643c8a-357a-465a-8d02-5c557e98addd] Performed Loco::UuidJob (Job ID: 79643c8a-357a-465a-8d02-5c557e98addd) from Async(loco) in 0.3ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:37 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:37 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/articles?page=1" for 127.0.0.1 at 2018-01-04 16:14:37 +0100
+Processing by Main::ArticlesController#index as JSON
+ Parameters: {"page"=>"1", "article"=>{}}
+ [1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL)[0m
+ Rendering main/articles/index.json.jbuilder
+ [1m[36mArticle Load (2.0ms)[0m [1m[34mSELECT `articles`.* FROM `articles` WHERE (`articles`.`published_at` IS NOT NULL) ORDER BY published_at DESC LIMIT 3 OFFSET 0[0m
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135[0m
+ [1m[35m (2.6ms)[0m [1m[34mSELECT COUNT(*) FROM `comments` WHERE `comments`.`article_id` = 980190962[0m
+ Rendered main/articles/_article_for_list.json.jbuilder (4.5ms)
+ Rendered main/articles/index.json.jbuilder (12.1ms)
+Completed 200 OK in 18ms (Views: 7.0ms | ActiveRecord: 7.3ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:37 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:37 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.6ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["c4f20cba-2990-43ba-8338-35253898f0bc", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$tD731j4lh/lmpjeqCRVJzuPIKyLvqVt86SCrWyoZoaA...", created_at: "2018-01-04 15:14:37", updated_at: "2018-01-04 15:14:37", confirmed_at: "2017-12-28 15:14:37">, nil])
+[ActiveJob] [Loco::SenderJob] [cfe8324b-fee1-4442-8981-528085aaaac2] Performing Loco::SenderJob (Job ID: cfe8324b-fee1-4442-8981-528085aaaac2) from Async(loco) with arguments: "c4f20cba-2990-43ba-8338-35253898f0bc", {:loco=>{:uuid=>"c4f20cba-2990-43ba-8338-35253898f0bc"}}
+[ActiveJob] [Loco::SenderJob] [cfe8324b-fee1-4442-8981-528085aaaac2] [ActionCable] Broadcasting to loco:notification_center:c4f20cba-2990-43ba-8338-35253898f0bc: {:loco=>{:uuid=>"c4f20cba-2990-43ba-8338-35253898f0bc"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: cfe8324b-fee1-4442-8981-528085aaaac2) to Async(loco) with arguments: "c4f20cba-2990-43ba-8338-35253898f0bc", {:loco=>{:uuid=>"c4f20cba-2990-43ba-8338-35253898f0bc"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:c4f20cba-2990-43ba-8338-35253898f0bc
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: ad5163a2-c500-4ed8-a87f-bb63331a15db) to Async(loco) with arguments: #<GlobalID:0x00007f952393e260 @uri=#<URI::GID gid://dummy/User/872278135>>, "c4f20cba-2990-43ba-8338-35253898f0bc", "add"
+[ActiveJob] [Loco::SenderJob] [cfe8324b-fee1-4442-8981-528085aaaac2] Performed Loco::SenderJob (Job ID: cfe8324b-fee1-4442-8981-528085aaaac2) from Async(loco) in 4.05ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"c4f20cba-2990-43ba-8338-35253898f0bc"}} (via streamed from loco:notification_center:c4f20cba-2990-43ba-8338-35253898f0bc)
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [ad5163a2-c500-4ed8-a87f-bb63331a15db] Performing Loco::UuidJob (Job ID: ad5163a2-c500-4ed8-a87f-bb63331a15db) from Async(loco) with arguments: #<GlobalID:0x00007f9523480f20 @uri=#<URI::GID gid://dummy/User/872278135>>, "c4f20cba-2990-43ba-8338-35253898f0bc", "add"
+[ActiveJob] [Loco::UuidJob] [ad5163a2-c500-4ed8-a87f-bb63331a15db] Performed Loco::UuidJob (Job ID: ad5163a2-c500-4ed8-a87f-bb63331a15db) from Async(loco) in 0.76ms
+Started GET "/users/new" for 127.0.0.1 at 2018-01-04 16:14:37 +0100
+Processing by Main::UsersController#new as HTML
+ Rendering main/users/new.html.erb within layouts/application
+ Rendered main/users/new.html.erb within layouts/application (4.1ms)
+ Rendered layouts/_head.html.erb (3.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 31ms (Views: 29.8ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:37 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Started POST "/users" for 127.0.0.1 at 2018-01-04 16:14:38 +0100
+Processing by Main::UsersController#create as JSON
+ Parameters: {"user"=>{"email"=>"joe@example.com", "username"=>"joe", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirmed"=>nil, "created_at"=>nil, "updated_at"=>nil}}
+Unpermitted parameters: :confirmed, :created_at, :updated_at
+ [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mUser Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'joe@example.com' LIMIT 1[0m
+ [1m[36mUser Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM `users` WHERE `users`.`username` = BINARY 'joe' LIMIT 1[0m
+ [1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO `users` (`username`, `email`, `password_digest`, `created_at`, `updated_at`) VALUES ('joe', 'joe@example.com', '$2a$04$rkxG76vRDSZUdn90n6VswOdoy0PTIrL0/bReeT2n63kkPxldfnw2W', '2018-01-04 15:14:38.342502', '2018-01-04 15:14:38.342502')[0m
+ [1m[35m (14.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_class`, `created_at`, `updated_at`) VALUES ('User', 872278136, 'created', '{\"id\":872278136}', 'Admin', '2018-01-04 15:14:38.363207', '2018-01-04 15:14:38.363207')[0m
+ [1m[35m (11.8ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (1.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO `connections` (`obj_class`, `obj_id`, `token`, `created_at`, `updated_at`) VALUES ('User', 872278136, '3615d83558b114c536ad', '2018-01-04 15:14:38.392548', '2018-01-04 15:14:38.392548')[0m
+ [1m[35m (12.6ms)[0m [1m[35mCOMMIT[0m
+Completed 200 OK in 79ms (Views: 0.5ms | ActiveRecord: 50.0ms)
+ [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'joe@example.com' LIMIT 1[0m
+ [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'joe@example.com' LIMIT 1[0m
+ [1m[36mConnection Load (1.6ms)[0m [1m[34mSELECT `connections`.* FROM `connections` WHERE `connections`.`obj_class` = 'User' AND `connections`.`obj_id` = 872278136 ORDER BY `connections`.`id` DESC LIMIT 1[0m
+ [1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_token`, `created_at`, `updated_at`) VALUES ('User', 872278136, 'confirming', '{\"id\":872278136}', '3615d83558b114c536ad', '2018-01-04 15:14:38.624095', '2018-01-04 15:14:38.624095')[0m
+ [1m[35m (15.6ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 94d4c330-8f05-437e-a110-2439a2056e62) to Async(loco) with arguments: "c4f20cba-2990-43ba-8338-35253898f0bc", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [94d4c330-8f05-437e-a110-2439a2056e62] Performing Loco::SenderJob (Job ID: 94d4c330-8f05-437e-a110-2439a2056e62) from Async(loco) with arguments: "c4f20cba-2990-43ba-8338-35253898f0bc", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [94d4c330-8f05-437e-a110-2439a2056e62] [ActionCable] Broadcasting to loco:notification_center:c4f20cba-2990-43ba-8338-35253898f0bc: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [94d4c330-8f05-437e-a110-2439a2056e62] Performed Loco::SenderJob (Job ID: 94d4c330-8f05-437e-a110-2439a2056e62) from Async(loco) in 0.42ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:c4f20cba-2990-43ba-8338-35253898f0bc)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A37.586492Z&token=3615d83558b114c536ad&uuid=c4f20cba-2990-43ba-8338-35253898f0bc" for 127.0.0.1 at 2018-01-04 16:14:38 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:37.586492Z", "token"=>"3615d83558b114c536ad", "uuid"=>"c4f20cba-2990-43ba-8338-35253898f0bc"}
+ [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (3.0ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:37.586492') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (2.6ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:37.586492') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (5.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:37.586492') AND `loco_notifications`.`recipient_token` = '3615d83558b114c536ad' ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 24ms (Views: 0.4ms | ActiveRecord: 13.9ms)
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'joe@example.com' LIMIT 1[0m
+ [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`email` = 'joe@example.com' LIMIT 1[0m
+ [1m[36mConnection Load (2.6ms)[0m [1m[34mSELECT `connections`.* FROM `connections` WHERE `connections`.`obj_class` = 'User' AND `connections`.`obj_id` = 872278136 ORDER BY `connections`.`id` DESC LIMIT 1[0m
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO `loco_notifications` (`obj_class`, `obj_id`, `event`, `data`, `recipient_token`, `created_at`, `updated_at`) VALUES ('User', 872278136, 'confirmed', '{\"id\":872278136}', '3615d83558b114c536ad', '2018-01-04 15:14:38.787307', '2018-01-04 15:14:38.787307')[0m
+ [1m[35m (25.7ms)[0m [1m[35mCOMMIT[0m
+[ActiveJob] [Loco::SenderJob] [45565178-be23-48b9-a0c3-0197c1889111] Performing Loco::SenderJob (Job ID: 45565178-be23-48b9-a0c3-0197c1889111) from Async(loco) with arguments: "c4f20cba-2990-43ba-8338-35253898f0bc", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] Enqueued Loco::SenderJob (Job ID: 45565178-be23-48b9-a0c3-0197c1889111) to Async(loco) with arguments: "c4f20cba-2990-43ba-8338-35253898f0bc", {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [45565178-be23-48b9-a0c3-0197c1889111] [ActionCable] Broadcasting to loco:notification_center:c4f20cba-2990-43ba-8338-35253898f0bc: {:loco=>{:xhr_notifications=>true}}
+[ActiveJob] [Loco::SenderJob] [45565178-be23-48b9-a0c3-0197c1889111] Performed Loco::SenderJob (Job ID: 45565178-be23-48b9-a0c3-0197c1889111) from Async(loco) in 0.92ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"xhr_notifications"=>true}} (via streamed from loco:notification_center:c4f20cba-2990-43ba-8338-35253898f0bc)
+Started GET "/notification-center?synced_at=2018-01-04T15%3A14%3A38.686490Z&token=3615d83558b114c536ad&uuid=c4f20cba-2990-43ba-8338-35253898f0bc" for 127.0.0.1 at 2018-01-04 16:14:38 +0100
+Processing by Loco::NotificationCenterController#index as */*
+ Parameters: {"synced_at"=>"2018-01-04T15:14:38.686490Z", "token"=>"3615d83558b114c536ad", "uuid"=>"c4f20cba-2990-43ba-8338-35253898f0bc"}
+ [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mLoco::Notification Load (1.9ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:38.686490') AND `loco_notifications`.`recipient_class` IS NULL AND `loco_notifications`.`recipient_id` IS NULL AND `loco_notifications`.`recipient_token` IS NULL ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.4ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:38.686490') AND (recipient_class = 'User' AND recipient_id IS NULL) ORDER BY created_at ASC LIMIT 1000[0m
+ [1m[36mLoco::Notification Load (1.3ms)[0m [1m[34mSELECT `loco_notifications`.* FROM `loco_notifications` WHERE (created_at > '2018-01-04 15:14:38.686490') AND `loco_notifications`.`recipient_token` = '3615d83558b114c536ad' ORDER BY created_at ASC LIMIT 1000[0m
+Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 6.0ms)
+Started GET "/user/sessions/new?event=confirmed" for 127.0.0.1 at 2018-01-04 16:14:38 +0100
+Processing by User::SessionsController#new as HTML
+ Parameters: {"event"=>"confirmed"}
+ Rendering user/sessions/new.html.erb within layouts/application
+ Rendered shared/_sign_in_form.html.erb (0.5ms)
+ Rendered user/sessions/new.html.erb within layouts/application (0.9ms)
+ Rendered layouts/_head.html.erb (1.8ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+ Rendered layouts/_flash.html.erb (0.1ms)
+Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:38 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: 6e869c70-d2ce-464f-9c57-7a114a7bc881) to Async(loco) with arguments: #<GlobalID:0x00007f952393e260 @uri=#<URI::GID gid://dummy/User/872278135>>, "c4f20cba-2990-43ba-8338-35253898f0bc", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:c4f20cba-2990-43ba-8338-35253898f0bc
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [6e869c70-d2ce-464f-9c57-7a114a7bc881] Performing Loco::UuidJob (Job ID: 6e869c70-d2ce-464f-9c57-7a114a7bc881) from Async(loco) with arguments: #<GlobalID:0x00007f951cdd5780 @uri=#<URI::GID gid://dummy/User/872278135>>, "c4f20cba-2990-43ba-8338-35253898f0bc", "del"
+[ActiveJob] [Loco::UuidJob] [6e869c70-d2ce-464f-9c57-7a114a7bc881] Performed Loco::UuidJob (Job ID: 6e869c70-d2ce-464f-9c57-7a114a7bc881) from Async(loco) in 0.36ms
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:38 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/notification-center/sync-time" for 127.0.0.1 at 2018-01-04 16:14:38 +0100
+Processing by Loco::NotificationCenterController#sync_time as */*
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/cable" for 127.0.0.1 at 2018-01-04 16:14:38 +0100
+Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:38 +0100
+Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
+ [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+ [1m[36mAdmin Load (1.1ms)[0m [1m[34mSELECT `admins`.* FROM `admins` WHERE `admins`.`id` IS NULL LIMIT 1[0m
+[AC] [-] [872278135] Registered connection (["8e4f616e-73c3-4fce-a02f-40c56e454882", #<User id: 872278135, username: "zbig", email: "zbigniew.humeniuk@example.com", password_digest: "$2a$04$tD731j4lh/lmpjeqCRVJzuPIKyLvqVt86SCrWyoZoaA...", created_at: "2018-01-04 15:14:37", updated_at: "2018-01-04 15:14:37", confirmed_at: "2017-12-28 15:14:37">, nil])
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::SenderJob (Job ID: f076e96b-1a99-4e3c-93b6-89daed11f876) to Async(loco) with arguments: "8e4f616e-73c3-4fce-a02f-40c56e454882", {:loco=>{:uuid=>"8e4f616e-73c3-4fce-a02f-40c56e454882"}}
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: e8480646-cf4f-4409-9f67-25e21e06e17f) to Async(loco) with arguments: #<GlobalID:0x00007f95217e60b8 @uri=#<URI::GID gid://dummy/User/872278135>>, "8e4f616e-73c3-4fce-a02f-40c56e454882", "add"
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:8e4f616e-73c3-4fce-a02f-40c56e454882
+[ActiveJob] [Loco::SenderJob] [f076e96b-1a99-4e3c-93b6-89daed11f876] Performing Loco::SenderJob (Job ID: f076e96b-1a99-4e3c-93b6-89daed11f876) from Async(loco) with arguments: "8e4f616e-73c3-4fce-a02f-40c56e454882", {:loco=>{:uuid=>"8e4f616e-73c3-4fce-a02f-40c56e454882"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is transmitting the subscription confirmation
+[ActiveJob] [Loco::SenderJob] [f076e96b-1a99-4e3c-93b6-89daed11f876] [ActionCable] Broadcasting to loco:notification_center:8e4f616e-73c3-4fce-a02f-40c56e454882: {:loco=>{:uuid=>"8e4f616e-73c3-4fce-a02f-40c56e454882"}}
+[AC] [-] [872278135] Loco::NotificationCenterChannel is streaming from loco:notification_center:user:872278135
+[ActiveJob] [Loco::SenderJob] [f076e96b-1a99-4e3c-93b6-89daed11f876] Performed Loco::SenderJob (Job ID: f076e96b-1a99-4e3c-93b6-89daed11f876) from Async(loco) in 0.68ms
+[AC] [-] [872278135] Loco::NotificationCenterChannel transmitting {"loco"=>{"uuid"=>"8e4f616e-73c3-4fce-a02f-40c56e454882"}} (via streamed from loco:notification_center:8e4f616e-73c3-4fce-a02f-40c56e454882)
+ [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m
+[ActiveJob] [Loco::UuidJob] [e8480646-cf4f-4409-9f67-25e21e06e17f] Performing Loco::UuidJob (Job ID: e8480646-cf4f-4409-9f67-25e21e06e17f) from Async(loco) with arguments: #<GlobalID:0x00007f95217c63f8 @uri=#<URI::GID gid://dummy/User/872278135>>, "8e4f616e-73c3-4fce-a02f-40c56e454882", "add"
+[ActiveJob] [Loco::UuidJob] [e8480646-cf4f-4409-9f67-25e21e06e17f] Performed Loco::UuidJob (Job ID: e8480646-cf4f-4409-9f67-25e21e06e17f) from Async(loco) in 0.84ms
+ [1m[35m (1.1ms)[0m [1m[34mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.8ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 0[0m
+ [1m[35m (49.3ms)[0m [1m[35mTRUNCATE TABLE `admins`;[0m
+ [1m[35m (47.6ms)[0m [1m[35mTRUNCATE TABLE `ar_internal_metadata`;[0m
+ [1m[35m (51.7ms)[0m [1m[35mTRUNCATE TABLE `articles`;[0m
+ [1m[35m (47.0ms)[0m [1m[35mTRUNCATE TABLE `comments`;[0m
+ [1m[35m (49.0ms)[0m [1m[35mTRUNCATE TABLE `connections`;[0m
+ [1m[35m (45.0ms)[0m [1m[35mTRUNCATE TABLE `loco_notifications`;[0m
+ [1m[35m (49.2ms)[0m [1m[35mTRUNCATE TABLE `rooms`;[0m
+ [1m[35m (44.0ms)[0m [1m[35mTRUNCATE TABLE `users`;[0m
+ [1m[35m (1.2ms)[0m [1m[35mSET FOREIGN_KEY_CHECKS = 1[0m
+[AC] [-] [872278135] Finished "/cable/" [WebSocket] for 127.0.0.1 at 2018-01-04 16:14:39 +0100
+[AC] [-] [872278135] [ActiveJob] Enqueued Loco::UuidJob (Job ID: e7e18dc9-23ef-455b-bef7-f7634f35c89e) to Async(loco) with arguments: #<GlobalID:0x00007f95217e60b8 @uri=#<URI::GID gid://dummy/User/872278135>>, "8e4f616e-73c3-4fce-a02f-40c56e454882", "del"
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:8e4f616e-73c3-4fce-a02f-40c56e454882
+[AC] [-] [872278135] Loco::NotificationCenterChannel stopped streaming from loco:notification_center:user:872278135
+ [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT `users`.* FROM `users` WHERE `users`.`id` = 872278135 LIMIT 1[0m