diff --git a/app/views/micro_posts/show.html.erb b/app/views/micro_posts/show.html.erb index 9ca19b0..68d1dd9 100644 --- a/app/views/micro_posts/show.html.erb +++ b/app/views/micro_posts/show.html.erb @@ -38,9 +38,10 @@
-
当前选择上传0个图片
  - -
+
当前选择上传0个图片
+   + +
@@ -87,14 +88,14 @@ var i = 0; // 用来动态生成span,upfile的id function addAttachmentToList() { if (findAttachment(event.srcElement.value)) return; //如果此文档已在图片列表中则不再添加 - - // 动态创建图片信息栏并添加到图片列表中 - var span = document.createElement('span'); - span.id = '_attachment' + i; - span.innerHTML = extractFileName(event.srcElement.value) + ' 删除
'; - span.title = event.srcElement.value; - G('attachmentList').appendChild(span); - + if(extractFileName(event.srcElement.value)) { + // 动态创建图片信息栏并添加到图片列表中 + var span = document.createElement('span'); + span.id = '_attachment' + i; + span.innerHTML = extractFileName(event.srcElement.value) + ' 删除
'; + span.title = event.srcElement.value; + G('attachmentList').appendChild(span); + } // 显示图片列表并变换添加图片按钮文本 if (G('attachmentList').style.display == 'none') { G('btnAdd').value = '继续添加'; diff --git a/log/development.log b/log/development.log index 82ea8df..98d85c3 100644 --- a/log/development.log +++ b/log/development.log @@ -183896,3 +183896,1671 @@ Processing by ChatController#notify as JSON Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:50:38 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:50:38 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:50:48 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:50:48 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:50:58 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:50:58 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:51:08 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:51:08 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:51:18 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:51:18 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:51:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:51:28 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:51:37 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:51:38 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:51:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:51:48 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:51:58 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:00 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:08 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:08 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:17 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:18 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:28 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:37 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:38 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:48 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:57 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:52:58 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:53:07 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:53:08 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/microposts" for 127.0.0.1 at 2016-12-25 14:53:15 +0800 +Processing by MicroPostsController#show as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]] + MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]] + Rendering micro_posts/show.html.erb within layouts/application + Rendered layouts/_nav.html.erb (0.3ms) + Rendered micro_posts/show.html.erb within layouts/application (2.8ms) + Rendered layouts/_title.html.erb (0.2ms) + Rendered layouts/_refer.html.erb (0.3ms) +Completed 200 OK in 13ms (Views: 9.6ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:53:16 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:53:16 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:53:26 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:53:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:53:36 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:53:37 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:53:46 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:53:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:53:56 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:53:57 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:54:06 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:54:07 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:54:16 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:54:17 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:54:26 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:54:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:54:38 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:54:39 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:54:48 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:54:48 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:54:58 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:54:58 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:55:08 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:55:08 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:55:18 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:55:18 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:55:28 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:55:30 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:55:38 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:55:39 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:55:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:55:48 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:55:57 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:55:58 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:56:07 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:56:10 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:56:17 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:56:20 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:56:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:56:30 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:56:37 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:56:40 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:56:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:56:50 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:56:57 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:57:00 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:57:07 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:57:10 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:57:18 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:57:20 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:57:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:57:30 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:57:40 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:57:41 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:57:48 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:57:50 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:00 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:00 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:07 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:10 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:17 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:20 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:30 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:37 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/microposts" for 127.0.0.1 at 2016-12-25 14:58:38 +0800 +Processing by MicroPostsController#show as HTML + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]] + MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]] + Rendering micro_posts/show.html.erb within layouts/application + Rendered layouts/_nav.html.erb (0.7ms) + Rendered micro_posts/show.html.erb within layouts/application (4.1ms) + Rendered layouts/_title.html.erb (0.2ms) + Rendered layouts/_refer.html.erb (0.4ms) +Completed 200 OK in 15ms (Views: 11.0ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:39 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:50 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:58:57 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:59:00 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:59:08 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:59:10 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:59:20 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:59:21 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:59:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:59:30 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:59:38 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:59:40 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:59:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:59:50 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:59:57 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:00:00 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:00:10 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:00:10 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:00:18 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:00:20 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:00:30 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:00:31 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:00:38 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:00:40 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:00:48 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:00:50 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:00:58 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:00 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:08 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:10 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:18 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:20 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:30 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/microposts" for 127.0.0.1 at 2016-12-25 15:01:36 +0800 +Processing by MicroPostsController#show as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]] + MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]] + Rendering micro_posts/show.html.erb within layouts/application + Rendered layouts/_nav.html.erb (0.4ms) + Rendered micro_posts/show.html.erb within layouts/application (3.0ms) + Rendered layouts/_title.html.erb (0.4ms) + Rendered layouts/_refer.html.erb (0.3ms) +Completed 200 OK in 14ms (Views: 10.5ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:37 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:37 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:49 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:57 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:01:59 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:02:07 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:02:09 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:02:17 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:02:19 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:02:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:02:29 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:02:39 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:02:41 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:02:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:02:49 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:02:58 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:02:59 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:03:07 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:03:09 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:03:17 +0800 +Processing by ChatController#notify as JSON + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:03:19 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:03:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:03:29 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.4ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.6ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:03:37 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:03:39 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:03:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:03:49 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:03:59 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:03:59 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:04:08 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:04:09 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:04:18 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:04:19 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:04:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:04:29 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:04:38 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:04:39 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:04:48 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:04:49 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:04:59 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:04:59 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:05:09 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:05:10 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:05:18 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:05:19 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:05:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:05:29 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:05:39 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:05:39 +0800 +Processing by ChatController#notify as JSON + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.9ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:05:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:05:49 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:05:57 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:05:59 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:06:07 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:06:09 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:06:17 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:06:19 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:06:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:06:29 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:06:37 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:06:39 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:06:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:06:49 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:06:57 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:06:59 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:07:07 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:07:09 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/microposts" for 127.0.0.1 at 2016-12-25 15:07:09 +0800 +Processing by MicroPostsController#show as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.3ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]] + MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]] + Rendering micro_posts/show.html.erb within layouts/application + Rendered layouts/_nav.html.erb (0.3ms) + Rendered micro_posts/show.html.erb within layouts/application (2.4ms) + Rendered layouts/_title.html.erb (0.2ms) + Rendered layouts/_refer.html.erb (0.3ms) +Completed 200 OK in 13ms (Views: 8.7ms | ActiveRecord: 0.5ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:07:10 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:07:17 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:07:22 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:07:28 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:07:32 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:07:37 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:07:42 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:07:47 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:07:52 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:07:57 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/microposts" for 127.0.0.1 at 2016-12-25 15:08:00 +0800 +Processing by MicroPostsController#show as HTML + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]] + MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]] + Rendering micro_posts/show.html.erb within layouts/application + Rendered layouts/_nav.html.erb (0.4ms) + Rendered micro_posts/show.html.erb within layouts/application (2.5ms) + Rendered layouts/_title.html.erb (0.4ms) + Rendered layouts/_refer.html.erb (0.7ms) +Completed 200 OK in 14ms (Views: 10.6ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:08:01 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:08:07 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:08:13 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:08:19 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:08:25 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:08:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:08:35 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:08:40 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:08:45 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:08:50 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:08:55 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:08:59 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:09:05 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:09:10 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:09:15 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:09:17 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:09:25 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:09:27 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 15:09:35 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + +