diff --git a/app/views/micro_posts/show.html.erb b/app/views/micro_posts/show.html.erb index 55c0772..9ca19b0 100644 --- a/app/views/micro_posts/show.html.erb +++ b/app/views/micro_posts/show.html.erb @@ -38,7 +38,9 @@
- 上传图片占位符 +
当前选择上传0个图片
  + +
@@ -49,7 +51,6 @@ <% end %> - @@ -67,7 +68,7 @@

- <%= micro_post["content"]%> + <%= micro_post["content"] %>

@@ -80,4 +81,105 @@ <% end %> - \ No newline at end of file + + + \ No newline at end of file diff --git a/log/development.log b/log/development.log index d26c061..82ea8df 100644 --- a/log/development.log +++ b/log/development.log @@ -181890,3 +181890,2009 @@ 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:17: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:18: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.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:18: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:18: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:18: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:18: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:18: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:19: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:19: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 14:19: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:19: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 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:19: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:19:57 +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:20: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:20: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:20: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:20: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:20: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:20: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:21: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.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:21: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.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:21: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:21: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.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.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:21: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.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:21: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:22:07 +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:22: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.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:22: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:22: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:22: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:22: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:23: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:23: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.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:23: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.2ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:23: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.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:23: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:23: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.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:24: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:24: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.4ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:24: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 14:24: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:24: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.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.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:24:57 +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 14:25: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:25: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 14:25: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:25: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.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:25: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:25:57 +0800 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +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 45ms (Views: 0.3ms | ActiveRecord: 1.2ms) + + +Started GET "/" for 127.0.0.1 at 2016-12-25 14:26:01 +0800 +Processing by LoginController#init as HTML + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/main +Completed 302 Found in 4ms (ActiveRecord: 0.2ms) + + +Started GET "/main" for 127.0.0.1 at 2016-12-25 14:26:01 +0800 +Processing by MainController#show as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "micro_posts" LIMIT ? OFFSET ?) subquery_for_count [["LIMIT", 20], ["OFFSET", 0]] + MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" ORDER BY "micro_posts"."post_time" DESC LIMIT ? OFFSET ? [["LIMIT", 20], ["OFFSET", 0]] + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering main/main.html.erb within layouts/application + Rendered layouts/_nav.html.erb (0.5ms) + Rendered main/main.html.erb within layouts/application (4.9ms) + Rendered layouts/_title.html.erb (0.6ms) + Rendered layouts/_refer.html.erb (0.6ms) +Completed 200 OK in 42ms (Views: 17.4ms | ActiveRecord: 0.9ms) + + +Started GET "/" for 127.0.0.1 at 2016-12-25 14:26:01 +0800 +Processing by LoginController#init as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://localhost:3000/main +Completed 302 Found in 1ms (ActiveRecord: 0.1ms) + + +Started GET "/main" for 127.0.0.1 at 2016-12-25 14:26:01 +0800 +Processing by MainController#show as HTML + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "micro_posts" LIMIT ? OFFSET ?) subquery_for_count [["LIMIT", 20], ["OFFSET", 0]] + MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" ORDER BY "micro_posts"."post_time" DESC LIMIT ? OFFSET ? [["LIMIT", 20], ["OFFSET", 0]] + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Rendering main/main.html.erb within layouts/application + Rendered layouts/_nav.html.erb (0.4ms) + Rendered main/main.html.erb within layouts/application (3.1ms) + Rendered layouts/_title.html.erb (0.4ms) + Rendered layouts/_refer.html.erb (0.3ms) +Completed 200 OK in 18ms (Views: 11.1ms | ActiveRecord: 0.5ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:26:02 +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 "/microposts" for 127.0.0.1 at 2016-12-25 14:26:03 +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.6ms) + Rendered micro_posts/show.html.erb within layouts/application (3.3ms) + Rendered layouts/_title.html.erb (0.4ms) + Rendered layouts/_refer.html.erb (0.3ms) +Completed 200 OK in 17ms (Views: 11.3ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:26:03 +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:26: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.2ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:26: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.4ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:26: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 14:26:23 +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:26: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 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:26:33 +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:26: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:26:43 +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:26: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:26:53 +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 4ms (Views: 0.1ms | ActiveRecord: 0.4ms) + + +Started GET "/microposts" for 127.0.0.1 at 2016-12-25 14:26:57 +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.6ms) + Rendered micro_posts/show.html.erb within layouts/application (3.2ms) + 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:26:57 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) 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:26:57 +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:27: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:27: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.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms) + + +Started GET "/microposts" for 127.0.0.1 at 2016-12-25 14:27:10 +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 (2.5ms) + Rendered layouts/_title.html.erb (0.3ms) + Rendered layouts/_refer.html.erb (0.5ms) +Completed 200 OK in 13ms (Views: 9.7ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:27: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:27: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 14:27: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:27: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:27: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:27: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 14:27: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:27: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:27: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:28: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:28:01 +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:28: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:28: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 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:28: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.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:28: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.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.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:28: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:28: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:28: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:28: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.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:28: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:28: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.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:28: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:29: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:29: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.2ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:29: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:29: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:29: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:29: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 14:29: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:29: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 14:29: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:29:47 +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:29: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:29: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:30: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:30:07 +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:30: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 7ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:30: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 14:30: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:30: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 14:30: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:30: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:30: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:30: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:30: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:30: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:31: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.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:31: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:31: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:31: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 14:31: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:31: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:31: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 14:31:37 +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 14:31: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:38:47 +0800 + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +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 49ms (Views: 0.6ms | ActiveRecord: 1.3ms) + + +Started GET "/microposts" for 127.0.0.1 at 2016-12-25 14:38:48 +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.2ms) 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.6ms) + Rendered micro_posts/show.html.erb within layouts/application (8.9ms) + Rendered layouts/_title.html.erb (0.2ms) + Rendered layouts/_refer.html.erb (0.3ms) +Completed 200 OK in 38ms (Views: 19.9ms | ActiveRecord: 0.8ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:38:49 +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 4ms (Views: 0.2ms | ActiveRecord: 0.5ms) + + +Started GET "/microposts" for 127.0.0.1 at 2016-12-25 14:38:50 +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.5ms) + Rendered micro_posts/show.html.erb within layouts/application (2.9ms) + Rendered layouts/_title.html.erb (0.2ms) + Rendered layouts/_refer.html.erb (0.3ms) +Completed 200 OK in 15ms (Views: 10.0ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:38: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.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:38: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.3ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:39: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 3ms (Views: 0.1ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:39:08 +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:39: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:39: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.4ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:39: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.5ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:39:29 +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:39:30 +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:39: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:39:40 +0800 +Processing by ChatController#notify as JSON + User Load (0.4ms) 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.5ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:39: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:39: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:39: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.4ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:40: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:40: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:40: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 12ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:40: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 14:40: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:40: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 4ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:40: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:40: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:40: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:40: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:40: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.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:40: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:41: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:41:07 +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.5ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:41: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:41: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 14:41: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:41: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:41: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:41: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.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 14:41: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:41: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:41: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:41: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:42: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:42: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:42: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:42: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 14:42: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:42: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:42: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 14:42: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 14:42: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:42: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:42: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:42: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.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:43: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:43: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:43: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:43: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 14:43: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.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:43: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:43:30 +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:43: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:43: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.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:43: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:43: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 "/microposts" for 127.0.0.1 at 2016-12-25 14:43:53 +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.5ms) + Rendered layouts/_title.html.erb (0.2ms) + Rendered layouts/_refer.html.erb (0.4ms) +Completed 200 OK in 13ms (Views: 9.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:43:54 +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 6ms (Views: 0.2ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:43: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 14:44:04 +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:44: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:44:14 +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:44: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:44:24 +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:44: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.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:44:34 +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:44: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 14:44:44 +0800 +Processing by ChatController#notify as JSON + User Load (0.3ms) 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 5ms (Views: 0.2ms | ActiveRecord: 0.6ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:44: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:44:54 +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:44: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:45:04 +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:45: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:45:14 +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:45: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:45:24 +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:45: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:45:34 +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:45: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 14:45:44 +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:45:47 +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 14:45:54 +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:45: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 "/microposts" for 127.0.0.1 at 2016-12-25 14:45:58 +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.6ms) + Rendered micro_posts/show.html.erb within layouts/application (3.8ms) + Rendered layouts/_title.html.erb (0.3ms) + Rendered layouts/_refer.html.erb (0.4ms) +Completed 200 OK in 16ms (Views: 12.0ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:45:59 +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:46: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:46: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 14:46: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 14:46: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 14:46: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:46: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:46: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 14:46: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:46: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:46: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 14:46: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:46: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 14:47: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.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:47: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 14:47: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 14:47: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:47: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 14:47:29 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) 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 14:47: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.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:47: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 "/microposts" for 127.0.0.1 at 2016-12-25 14:47:46 +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.3ms) + Rendered micro_posts/show.html.erb within layouts/application (2.5ms) + Rendered layouts/_title.html.erb (0.3ms) + Rendered layouts/_refer.html.erb (0.4ms) +Completed 200 OK in 14ms (Views: 9.4ms | ActiveRecord: 0.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:47:46 +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:47: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:47: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:47: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:48:07 +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:48:08 +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:48: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:48: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:48: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:48: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:48: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:48: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.4ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:48: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:48: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:48: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:48: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:49:08 +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:49:08 +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:49: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 14:49: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 14:49: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:49: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:49: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:49: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.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:49:47 +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:49: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:49: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:49: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:50: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:50: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:50: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:50: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 14:50: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 14:50: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) + + diff --git a/tmp/pids/server.pid b/tmp/pids/server.pid index 3322837..72d4887 100644 --- a/tmp/pids/server.pid +++ b/tmp/pids/server.pid @@ -1 +1 @@ -2205 \ No newline at end of file +5504 \ No newline at end of file diff --git a/多图片上传.html b/多图片上传.html index 8e20221..a9c79ac 100644 --- a/多图片上传.html +++ b/多图片上传.html @@ -108,7 +108,6 @@ function G(id) -