guoren/log/development.log

1.4 MiB
Raw Blame History

Started GET "/" for 127.0.0.1 at 2016-12-25 18:07:41 +0800
Started GET "/" for 127.0.0.1 at 2016-12-25 18:07:41 +0800
ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by LoginController#init as HTML
Processing by LoginController#init as HTML
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT ? [["LIMIT", 1]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT ? [["LIMIT", 1]]
Rendering login/init.html.erb within layouts/application
Rendering login/init.html.erb within layouts/application
Rendered login/init.html.erb within layouts/application (13.0ms)
Rendered login/init.html.erb within layouts/application (6.6ms)
Rendered layouts/_title.html.erb (0.7ms)
Rendered layouts/_title.html.erb (0.1ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 63ms (Views: 47.5ms | ActiveRecord: 0.1ms)
 

Rendered layouts/_refer.html.erb (0.0ms)
Completed 200 OK in 73ms (Views: 50.2ms | ActiveRecord: 0.6ms)
 

Started GET "/" for 127.0.0.1 at 2016-12-25 18:37:41 +0800
Started GET "/" for 127.0.0.1 at 2016-12-25 18:37:41 +0800
ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by LoginController#init as HTML
Processing by LoginController#init as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Redirected to http://localhost:3000/main
Redirected to http://localhost:3000/main
Completed 302 Found in 46ms (ActiveRecord: 1.6ms)
 

Completed 302 Found in 40ms (ActiveRecord: 0.2ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 18:37:41 +0800
Processing by MainController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.4ms) 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.6ms)
Rendered main/main.html.erb within layouts/application (5.2ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 54ms (Views: 22.2ms | ActiveRecord: 1.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:37:42 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) 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 13ms (Views: 0.2ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:37:52 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 18:38:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:38:05 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.5ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:38:05 UTC], ["id", 6]]
(3.5ms) commit transaction
Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 4.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:38:12 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:38:21 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.4ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:38:21 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 3.1ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:38:22 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:38:22 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:38:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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 18:38:32 +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 18:38:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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 18:38:52 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 18:39:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:39:12 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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 "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:39:14 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:39:14 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 33ms (Views: 0.2ms | ActiveRecord: 3.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:39:22 +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.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:39:32 +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 18:39:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:39:52 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:40:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:40:12 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:40:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:40:32 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:40:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 18:40:52 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:41:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:41:12 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:41:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:41:32 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:41:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:41:52 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:42:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 18:42:12 +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 18:42:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:42:32 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:42:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 18:42:48 +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.2ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 28ms (Views: 13.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:42:48 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:42:49 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:42:49 UTC], ["id", 6]]
(2.4ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 3.0ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:42:52 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.5ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:42:52 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:42:53 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:42:53 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18: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.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 "/main" for 127.0.0.1 at 2016-12-25 18:43:07 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 21ms (Views: 13.5ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:43: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 "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:43:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:43:09 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:43:10 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:43:10 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:43:10 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:43:10 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:43:11 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:43:11 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:43:11 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:43:11 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:43: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:43:28 +0800
Processing by ChatController#notify as JSON
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.5ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 1.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18: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.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 18:43: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 "/main" for 127.0.0.1 at 2016-12-25 18:43:50 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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.1ms) 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.3ms)
Rendered layouts/_refer.html.erb (0.7ms)
Completed 200 OK in 21ms (Views: 13.9ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:43:51 +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 "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:43:53 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-25 10:43:53 UTC], ["id", 6]]
(6.2ms) commit transaction
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 6.9ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:43:54 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:43:54 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:43:55 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-25 10:43:55 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:43:56 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:43:56 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:43:57 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-25 10:43:57 UTC], ["id", 6]]
(2.3ms) commit transaction
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 2.9ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:43:57 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:43:57 UTC], ["id", 6]]
(2.4ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:44:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:44:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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 18:44:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:44: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:44:41 +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 18:44:51 +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 18:45:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:45:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:45:21 +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 18:45: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:45:41 +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 18:45:51 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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 18:46: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:46:11 +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 18:46:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 18:46: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 "/main" for 127.0.0.1 at 2016-12-25 18:46:40 +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.1ms) 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 (3.4ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 20ms (Views: 12.7ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:46:41 +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 "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:46:44 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-25 10:46:44 UTC], ["id", 6]]
(2.3ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:46:51 +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 18:47: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 6ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:47:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:47:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:47: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 18:47: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 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:47:51 +0800
Processing by ChatController#notify as JSON
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.5ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 1.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:48: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 "/main" for 127.0.0.1 at 2016-12-25 18:48:08 +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 (3.9ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 18ms (Views: 11.5ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:48:09 +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 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:48:11 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 4], ["updated_at", 2016-12-25 10:48:11 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:48:19 +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 18:48: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 18:48: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 18:48: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 18:48: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 18:49:09 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:49: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 18:49: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 18:49: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.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 18:49:49 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:49: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.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 18:50: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 18: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 18:50:29 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:50: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 18:50:49 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:50: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:51: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.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 18:51: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 "/main" for 127.0.0.1 at 2016-12-25 18:51:27 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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.3ms)
Rendered main/main.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 18ms (Views: 10.8ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:51:28 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:51:29 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 5], ["updated_at", 2016-12-25 10:51:29 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.9ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:51:30 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 4], ["updated_at", 2016-12-25 10:51:30 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:51:31 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-25 10:51:31 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:51:32 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:51:32 UTC], ["id", 6]]
(2.3ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:51:32 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:51:32 UTC], ["id", 6]]
(2.0ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.5ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:51:32 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:51:32 UTC], ["id", 6]]
(0.5ms) commit transaction
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 1.0ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:51:32 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.4ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -1], ["updated_at", 2016-12-25 10:51:32 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:51:32 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -2], ["updated_at", 2016-12-25 10:51:32 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:51:38 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 18:51:44 +0800
Processing by MainController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 17ms (Views: 10.9ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:51:45 +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 "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:51:46 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.9ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -1], ["updated_at", 2016-12-25 10:51:46 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 3.3ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:51:47 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -2], ["updated_at", 2016-12-25 10:51:47 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-25 18:51:49 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:51:49 UTC], ["id", 2]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-25 18:51:50 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:51:50 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-25 18:51:51 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:51:51 UTC], ["id", 2]]
(2.3ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-25 18:51:52 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:51:52 UTC], ["id", 2]]
(2.5ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 3.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:51:55 +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 18:52:05 +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 18:52:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:52:25 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:52:35 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 18:52:44 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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.1ms) 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 (3.7ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 17ms (Views: 11.2ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:52:45 +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 "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:52:46 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -1], ["updated_at", 2016-12-25 10:52:46 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:52:49 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -2], ["updated_at", 2016-12-25 10:52:49 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:52:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:53:05 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:53:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:53:25 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:53:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:53:45 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:53:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 18:53:57 +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.1ms) 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 (2.7ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 16ms (Views: 10.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:53: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 "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:53:59 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -1], ["updated_at", 2016-12-25 10:53:59 UTC], ["id", 6]]
(2.5ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 3.0ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:54:01 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -2], ["updated_at", 2016-12-25 10:54:01 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:54:01 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -1], ["updated_at", 2016-12-25 10:54:01 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:54:02 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -2], ["updated_at", 2016-12-25 10:54:02 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:54: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.2ms) 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.3ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-25 18:54:08 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:54:08 UTC], ["id", 2]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-25 18:54:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:54:09 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:54:10 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -1], ["updated_at", 2016-12-25 10:54:10 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.5ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:54:11 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -2], ["updated_at", 2016-12-25 10:54:11 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:54: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 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 18:54:22 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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.1ms) 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.3ms)
Rendered main/main.html.erb within layouts/application (2.6ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 9.7ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:54:22 +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 "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:54:23 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -1], ["updated_at", 2016-12-25 10:54:23 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:54:25 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -2], ["updated_at", 2016-12-25 10:54:25 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:54:26 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -1], ["updated_at", 2016-12-25 10:54:26 UTC], ["id", 6]]
(2.3ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:54:27 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -2], ["updated_at", 2016-12-25 10:54:27 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:54:28 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -1], ["updated_at", 2016-12-25 10:54:28 UTC], ["id", 6]]
(0.6ms) commit transaction
Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 1.0ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:54:28 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", -2], ["updated_at", 2016-12-25 10:54:28 UTC], ["id", 6]]
(2.0ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:54:32 +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 18:54:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:54:52 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:55:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:55:04 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:55:04 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-25 18:55:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:55:09 UTC], ["id", 2]]
(2.0ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.5ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-25 18:55:11 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:55:11 UTC], ["id", 2]]
(2.3ms) commit transaction
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 2.9ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-25 18:55:11 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:55:11 UTC], ["id", 2]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-25 18:55:12 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:55:12 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:55:12 +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 18:55:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:55:32 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:55:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:55:52 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 18:56:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:56:12 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:56:22 +0800
Processing by ChatController#notify as JSON
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.7ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 18:56:25 +0800
Processing by MainController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.3ms)
Rendered main/main.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 9.5ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:56:26 +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 "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:56:29 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:56:29 UTC], ["id", 6]]
(0.5ms) commit transaction
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 1.0ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:56:29 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:56:29 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:56:36 +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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:56:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 18:56:50 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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.3ms)
Rendered main/main.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 20ms (Views: 12.4ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:56:51 +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 "/comments?micropost_id=6" for 127.0.0.1 at 2016-12-25 18:56:51 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"6"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 6]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 6]]
User Load (0.1ms) 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]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 18ms (Views: 0.6ms | ActiveRecord: 1.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:57:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:57:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 18:57:19 +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.1ms) 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.3ms)
Rendered main/main.html.erb within layouts/application (2.4ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 9.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:57:20 +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 "/comments?micropost_id=6" for 127.0.0.1 at 2016-12-25 18:57:21 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"6"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 6]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 6]]
User Load (0.1ms) 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]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:57:22 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:57:22 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started POST "/newcomment" for 127.0.0.1 at 2016-12-25 18:57:28 +0800
Processing by CommentsController#new as JSON
Parameters: {"micropost_id"=>"6", "content"=>"asdfk ", "authenticity_token"=>"VCqh9Tey+Yd2D7Afx6CUWY36ZcVqZQElNa2DwMLTLhNvHyhUck7gD2SiDzDJn0oRKomsKIrPg04EOAkVFw/7qA=="}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
SQL (0.3ms) INSERT INTO "comments" ("content", "user_id", "micro_post_id", "comment_time", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "asdfk "], ["user_id", 1], ["micro_post_id", 6], ["comment_time", 2016-12-25 10:57:28 UTC], ["created_at", 2016-12-25 10:57:28 UTC], ["updated_at", 2016-12-25 10:57:28 UTC]]
(0.5ms) commit transaction
Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 1.1ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:57: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 "/comments?micropost_id=6" for 127.0.0.1 at 2016-12-25 18:57:32 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"6"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 6]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 6]]
User Load (0.1ms) 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]]
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]]
Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.6ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:57:34 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:57:34 UTC], ["id", 6]]
(2.4ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:57:36 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:57:36 UTC], ["id", 6]]
(2.3ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:57:36 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:57:36 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:57:37 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:57:37 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:57:38 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:57:38 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:57:39 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:57:39 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:57:40 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:57:40 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:57:40 +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 "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:57:45 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:57:45 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:57:47 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:57:47 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:57: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 "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-25 18:57:50 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:57:50 UTC], ["id", 2]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-25 18:57:51 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:57:51 UTC], ["id", 2]]
(2.0ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.5ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-25 18:57:51 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:57:51 UTC], ["id", 2]]
(0.4ms) commit transaction
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.9ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:57:57 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:57:57 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:57:58 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:57:58 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:58: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:58: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 18:58:20 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/comments?micropost_id=5" for 127.0.0.1 at 2016-12-25 18:58:26 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"5"}
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 5]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 5]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:58: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 "/microposts" for 127.0.0.1 at 2016-12-25 18:58:31 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 17ms (Views: 10.7ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:58:32 +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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:58:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:58:52 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-25 18:58:59 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"vuuLq7nN6QzyxBOe2Y2tTNWuRNaSxfuubSPTJpuOQldibPZSroFkXJCCAVVj8PZ3NpSOAp5e+1sMjgekQhM3uw==", "post_type"=>"2", "title"=>"三国杀", "content"=>"今晚东区一食堂三国杀", "picture"=>""}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.0ms) begin transaction
SQL (0.3ms) INSERT INTO "micro_posts" ("content", "post_time", "post_type", "created_at", "updated_at", "user_id", "engage_people", "title") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["content", "今晚东区一食堂三国杀"], ["post_time", 2016-12-25 10:58:59 UTC], ["post_type", 2], ["created_at", 2016-12-25 10:58:59 UTC], ["updated_at", 2016-12-25 10:58:59 UTC], ["user_id", 1], ["engage_people", 0], ["title", "三国杀"]]
(0.4ms) commit transaction
Redirected to http://localhost:3000/microposts
Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 18:58:59 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.3ms) 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.3ms)
Completed 200 OK in 16ms (Views: 9.8ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:59: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 18:59:03 +0800
Processing by MainController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.3ms) 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]]
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 (2.5ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 18ms (Views: 10.8ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:59:04 +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 "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 18:59:05 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:59:05 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 18:59:06 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:59:06 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 18:59:07 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:59:07 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 18:59:07 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:59:07 UTC], ["id", 7]]
(2.3ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 18:59:08 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:59:08 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 18:59:08 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:59:08 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 18:59:08 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:59:08 UTC], ["id", 7]]
(2.3ms) commit transaction
Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 2.9ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 18:59:08 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:59:08 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 18:59:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:59:09 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 18:59:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:59:09 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 18:59:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:59:09 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.5ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 18:59:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:59:09 UTC], ["id", 7]]
(0.7ms) commit transaction
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 1.1ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 18:59:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:59:09 UTC], ["id", 7]]
(2.3ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 18:59:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:59:09 UTC], ["id", 7]]
(2.3ms) commit transaction
Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 2.9ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 18:59:10 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:59:10 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.5ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 18:59:10 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:59:10 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:59:11 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:59:11 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:59:12 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:59:12 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:59:12 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:59:12 UTC], ["id", 6]]
(2.5ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 3.0ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:59:13 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:59:13 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:59:14 +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 "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-25 18:59:17 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.9ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-25 10:59:17 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 3.4ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-25 18:59:18 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:59:18 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-25 18:59:19 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-25 10:59:19 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-25 18:59:19 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:59:19 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-25 18:59:20 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-25 10:59:20 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-25 18:59:21 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:59:21 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 18:59:23 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:59:23 UTC], ["id", 7]]
(2.0ms) commit transaction
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 2.4ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 18:59:24 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 10:59:24 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:59:24 +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 "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 18:59:25 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 10:59:25 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.2ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 18:59:26 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 10:59:26 UTC], ["id", 6]]
(2.0ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:59: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 18:59:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 18:59: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:00:04 +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 19:00: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 19:00: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 19:00: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 19:00: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.1ms | ActiveRecord: 0.2ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:00:50 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:00:50 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 2.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:00: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.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 "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:00:55 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 11:00:55 UTC], ["id", 7]]
(0.4ms) commit transaction
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.9ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:00:55 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:00:55 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:00:56 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.6ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 11:00:56 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 3.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:01:04 +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 19:01: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:01: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:01: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.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 19:01: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.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:01: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:02: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.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 "/main" for 127.0.0.1 at 2016-12-25 19:02:06 +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]]
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 (3.6ms)
Rendered layouts/_title.html.erb (0.5ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 19ms (Views: 12.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:02: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.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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:02:17 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:02:27 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/" for 127.0.0.1 at 2016-12-25 19:02:44 +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 19:02:44 +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]]
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 (3.3ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 18ms (Views: 11.7ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:02:45 +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 19:02:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:02:57 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:02:57 UTC], ["id", 7]]
(2.4ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 3.0ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:02:57 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 0], ["updated_at", 2016-12-25 11:02:57 UTC], ["id", 7]]
(2.0ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.5ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:02:58 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:02:58 UTC], ["id", 7]]
(2.3ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/comments?micropost_id=7" for 127.0.0.1 at 2016-12-25 19:03:00 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"7"}
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 7]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:03:05 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:03:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:03:25 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:03:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:03:45 +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 19:03:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 19:04:03 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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.1ms) 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]]
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.2ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 18ms (Views: 10.3ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:04:04 +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 "/comments?micropost_id=5" for 127.0.0.1 at 2016-12-25 19:04:05 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"5"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 5]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 5]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:04:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:04:09 UTC], ["id", 7]]
(0.5ms) commit transaction
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 1.0ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:04:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:04:09 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:04:10 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:04:10 UTC], ["id", 7]]
(2.3ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:04:12 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:04:12 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.5ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 19:04:14 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:04:14 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 2.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:04:14 +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 "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 19:04:15 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:04:15 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:04:24 +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 19:04: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 19:04:40 +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]]
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 (3.1ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 18ms (Views: 11.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:04:41 +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 "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:04:43 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:04:43 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 2.9ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:04:44 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:04:44 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 19:04:45 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:04:45 UTC], ["id", 6]]
(2.4ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 19:04:46 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (1.1ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:04:46 UTC], ["id", 6]]
(2.3ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 3.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:04:51 +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 "/chat" for 127.0.0.1 at 2016-12-25 19:04:58 +0800
Processing by ChatController#index as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.3ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendering chat/index.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered chat/index.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 22ms (Views: 9.5ms | ActiveRecord: 1.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:04: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.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 "/main" for 127.0.0.1 at 2016-12-25 19:05:02 +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.1ms) 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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 17ms (Views: 10.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:05: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:05:04 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:05:04 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:05:05 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.2ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:05:05 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 2.9ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:05:05 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:05:05 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:05:06 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:05:06 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.5ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 19:05:10 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:05:10 UTC], ["id", 6]]
(2.0ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 19:05:11 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:05:11 UTC], ["id", 6]]
(2.0ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.5ms)
 

Started GET "/comments?micropost_id=6" for 127.0.0.1 at 2016-12-25 19:05:11 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"6"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 6]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 6]]
User Load (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]]
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]]
Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:05:13 +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 "/comments?micropost_id=5" for 127.0.0.1 at 2016-12-25 19:05:13 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"5"}
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 5]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 5]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
 

Started GET "/comments?micropost_id=4" for 127.0.0.1 at 2016-12-25 19:05:15 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"4"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 4]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 4]]
User Load (0.1ms) 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]]
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:05:23 +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 19:05: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 19:05: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:05: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.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 "/main" for 127.0.0.1 at 2016-12-25 19:06:00 +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]]
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 (2.6ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 20ms (Views: 11.1ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:06:00 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/comments?micropost_id=3" for 127.0.0.1 at 2016-12-25 19:06:04 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"3"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 3]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 3]]
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:06: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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:06: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 19:06: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 19:06:40 +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 19:06: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 19:07:00 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 19:07:00 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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.1ms) 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]]
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.8ms)
Rendered main/main.html.erb within layouts/application (3.6ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 20ms (Views: 12.1ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:07:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:07:04 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:07:04 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:07:06 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:07:06 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:07:07 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:07:07 UTC], ["id", 7]]
(2.3ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:07:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:07:09 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:07:09 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:07:09 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:07:11 +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 "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-25 19:07:16 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (1.0ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-25 11:07:16 UTC], ["id", 2]]
(2.0ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 3.3ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-25 19:07:17 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.4ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:07:17 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:07:19 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:07:19 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-25 19:07:20 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:07:20 UTC], ["id", 6]]
(2.0ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.5ms)
 

Started GET "/activity?micropost_id=6&join=false" for 127.0.0.1 at 2016-12-25 19:07:21 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:07:21 UTC], ["id", 6]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:07:21 +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 19:07: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 19:07:41 +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 19:07:51 +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 "/main" for 127.0.0.1 at 2016-12-25 19:07:53 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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]]
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.6ms)
Rendered main/main.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 18ms (Views: 11.3ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:07:53 +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 "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:07:54 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.4ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:07:54 UTC], ["id", 7]]
(2.0ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:07:55 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:07:55 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:08: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:08:13 +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 19:08: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 19:08:24 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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.1ms) 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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 17ms (Views: 9.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:08:25 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 19:08:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:08:42 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:08:42 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:08:43 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:08:43 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:08:44 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:08:44 UTC], ["id", 7]]
(2.3ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:08:45 +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 "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:08:45 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:08:45 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:08:46 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:08:46 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:08:47 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:08:47 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:08:55 +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 "/main" for 127.0.0.1 at 2016-12-25 19:08:56 +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]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.0ms) 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 (3.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 17ms (Views: 10.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:08: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:08:59 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:08:59 UTC], ["id", 7]]
(2.5ms) commit transaction
Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 3.1ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:09:00 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:09:00 UTC], ["id", 7]]
(2.3ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-25 19:09:01 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-25 11:09:01 UTC], ["id", 7]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-25 19:09:02 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-25 11:09:02 UTC], ["id", 7]]
(2.4ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:09: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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:09:17 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:09: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 19:09: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 19:09: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 19:09: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.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:10: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 19:10: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 19:10: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 19:10: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 19:10: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 19:10: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 19:11: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:11: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 19:11: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.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:11: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 19:11: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 19:11: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 "/main" for 127.0.0.1 at 2016-12-25 19:11:57 +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.1ms) 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]]
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 (2.6ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 20ms (Views: 11.7ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:11: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/chat" for 127.0.0.1 at 2016-12-25 19:12:00 +0800
Processing by ChatController#index as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendering chat/index.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.3ms)
Rendered chat/index.html.erb within layouts/application (2.1ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 16ms (Views: 9.2ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:12:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:12:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:12:25 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:12:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 19:12:43 +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.1ms) 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]]
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 (2.5ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 17ms (Views: 10.1ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:12: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 "/chat" for 127.0.0.1 at 2016-12-25 19:12:46 +0800
Processing by ChatController#index as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendering chat/index.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered chat/index.html.erb within layouts/application (2.7ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 18ms (Views: 11.4ms | ActiveRecord: 0.7ms)
 

Started GET "/chat" for 127.0.0.1 at 2016-12-25 19:12:46 +0800
Processing by ChatController#index as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendering chat/index.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.5ms)
Rendered chat/index.html.erb within layouts/application (2.7ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 17ms (Views: 10.0ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:12: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 19:12: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 "/chat" for 127.0.0.1 at 2016-12-25 19:12:57 +0800
Processing by ChatController#index as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendering chat/index.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.5ms)
Rendered chat/index.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.6ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 21ms (Views: 14.7ms | ActiveRecord: 0.8ms)
 

Started GET "/chat" for 127.0.0.1 at 2016-12-25 19:12:57 +0800
Processing by ChatController#index as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendering chat/index.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered chat/index.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 16ms (Views: 9.3ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:12: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:12: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.3ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-25 19:13:08 +0800
Processing by ChatController#online as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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 19:13:09 +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 "/online" for 127.0.0.1 at 2016-12-25 19:13:09 +0800
Processing by ChatController#online as JSON
Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:13:09 +0800
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Processing by ChatController#notify as JSON
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

(0.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 "/query?username=xinminghang&all%5B%5D=%E7%AE%A1%E7%90%86%E5%91%98" for 127.0.0.1 at 2016-12-25 19:13:17 +0800
Processing by ChatController#query as JSON
Parameters: {"username"=>"xinminghang", "all"=>["管理员"]}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "xinminghang"], ["LIMIT", 1]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-25 19:13:18 +0800
Processing by ChatController#online as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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 19:13:19 +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 "/online" for 127.0.0.1 at 2016-12-25 19:13:19 +0800
Processing by ChatController#online as JSON
Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:13:19 +0800
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Processing by ChatController#notify as JSON
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

(0.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 "/query?username=%E5%BC%A0%E8%A3%95&all%5B%5D=%E7%AE%A1%E7%90%86%E5%91%98" for 127.0.0.1 at 2016-12-25 19:13:24 +0800
Processing by ChatController#query as JSON
Parameters: {"username"=>"张裕", "all"=>["管理员"]}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-25 19:13:28 +0800
Processing by ChatController#online as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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 19:13: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-25 19:13:29 +0800
Processing by ChatController#online as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.2ms) SELECT "messages".* FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:13:29 +0800
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

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 "/main" for 127.0.0.1 at 2016-12-25 19:13:35 +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]]
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.6ms)
Rendered main/main.html.erb within layouts/application (2.7ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 10.0ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:13:36 +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 "/main" for 127.0.0.1 at 2016-12-25 19:21:34 +0800
ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by MainController#show as HTML
User Load (0.2ms) 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.1ms) SELECT "micro_posts".* FROM "micro_posts" ORDER BY "micro_posts"."post_time" DESC LIMIT ? OFFSET ? [["LIMIT", 20], ["OFFSET", 0]]
User Load (0.1ms) 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", 1], ["LIMIT", 1]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
User Load (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", 1], ["LIMIT", 1]]
User Load (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 (3.9ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 94ms (Views: 19.9ms | ActiveRecord: 2.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:21:35 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 0.7ms)
 

Started GET "/comments?micropost_id=7" for 127.0.0.1 at 2016-12-25 19:21:37 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"7"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 7]]
Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 1.2ms)
 

Started POST "/newcomment" for 127.0.0.1 at 2016-12-25 19:21:43 +0800
Processing by CommentsController#new as JSON
Parameters: {"micropost_id"=>"7", "content"=>"求带", "authenticity_token"=>"/QBKrdhEVvnpFcsrAPkeg3L7omTrXgYnJAwpyAea9nHGNcMMnbhPcfu4dAQOxsDL1YhriQv0hEwVmaMd0kYjyg=="}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
SQL (0.3ms) INSERT INTO "comments" ("content", "user_id", "micro_post_id", "comment_time", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "求带"], ["user_id", 1], ["micro_post_id", 7], ["comment_time", 2016-12-25 11:21:43 UTC], ["created_at", 2016-12-25 11:21:43 UTC], ["updated_at", 2016-12-25 11:21:43 UTC]]
(2.1ms) commit transaction
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 2.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:21:45 +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 "/chat" for 127.0.0.1 at 2016-12-25 19:21:50 +0800
Processing by ChatController#index as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendering chat/index.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered chat/index.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 26ms (Views: 10.9ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:21:51 +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.4ms | ActiveRecord: 0.2ms)
 

Started GET "/chat?chat_with=%E7%AE%A1%E7%90%86%E5%91%98" for 127.0.0.1 at 2016-12-25 19:21:54 +0800
Processing by ChatController#index as JSON
Parameters: {"chat_with"=>"管理员"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "管理员"], ["LIMIT", 1]]
(0.0ms) begin transaction
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."send_user" IN (1, 2) AND "messages"."recieve_user" IN (1, 2)
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."send_user" IN (1, 2) AND "messages"."recieve_user" IN (1, 2) ORDER BY "messages"."create_time" ASC
CACHE (0.0ms) 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]]
(0.0ms) commit transaction
Completed 200 OK in 20ms (Views: 0.6ms | ActiveRecord: 1.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:21: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 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started POST "/newmsg" for 127.0.0.1 at 2016-12-25 19:22:00 +0800
Processing by ChatController#new as JSON
Parameters: {"msg"=>"你好", "chat_with"=>"管理员", "authenticity_token"=>"kAziTcmSvJt9enRrgZPbLlMYrtQPtYOXS9DYo/rGyW6rOWvsjG6lE2/Xy0SPrAVm9GtnOe8fAfx6RVJ2Lxoc1Q=="}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "管理员"], ["LIMIT", 1]]
(0.0ms) begin transaction
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]]
SQL (0.3ms) INSERT INTO "messages" ("content", "send_user", "recieve_user", "create_time", "readed", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "你好"], ["send_user", 1], ["recieve_user", 2], ["create_time", 2016-12-25 11:22:00 UTC], ["readed", false], ["created_at", 2016-12-25 11:22:00 UTC], ["updated_at", 2016-12-25 11:22:00 UTC]]
(2.2ms) commit transaction
Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 3.0ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-25 19:22:01 +0800
Processing by ChatController#online as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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 19:22:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started POST "/newmsg" for 127.0.0.1 at 2016-12-25 19:22:03 +0800
Processing by ChatController#new as JSON
Parameters: {"msg"=>"好的", "chat_with"=>"管理员", "authenticity_token"=>"kAziTcmSvJt9enRrgZPbLlMYrtQPtYOXS9DYo/rGyW6rOWvsjG6lE2/Xy0SPrAVm9GtnOe8fAfx6RVJ2Lxoc1Q=="}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "管理员"], ["LIMIT", 1]]
(0.1ms) begin transaction
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]]
SQL (0.3ms) INSERT INTO "messages" ("content", "send_user", "recieve_user", "create_time", "readed", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "好的"], ["send_user", 1], ["recieve_user", 2], ["create_time", 2016-12-25 11:22:03 UTC], ["readed", false], ["created_at", 2016-12-25 11:22:03 UTC], ["updated_at", 2016-12-25 11:22:03 UTC]]
(2.1ms) commit transaction
Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-25 19:22:11 +0800
Processing by ChatController#online as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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 19:22:11 +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 "/logout" for 127.0.0.1 at 2016-12-25 19:22:21 +0800
Processing by LoginController#logout as HTML
Redirected to http://localhost:3000/login
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
 

Started GET "/login" for 127.0.0.1 at 2016-12-25 19:22:21 +0800
Processing by LoginController#init as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT ? [["LIMIT", 1]]
Rendering login/init.html.erb within layouts/application
Rendered login/init.html.erb within layouts/application (1.7ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.1ms)
 

Started POST "/login?method=post" for 127.0.0.1 at 2016-12-25 19:22:59 +0800
Processing by LoginController#login as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"i4AHVv+eI/3VdG7qFSSCDOYfiRnVtW5CWoef91dA3s5wS+0507fT9NkvGmLR6RQljILJGbLHScnvhe8e/E0SyQ==", "email"=>"zhangyu@163.com", "password"=>"[FILTERED]", "method"=>"post"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "zhangyu@163.com"], ["LIMIT", 1]]
Redirected to http://localhost:3000/main
Completed 302 Found in 75ms (ActiveRecord: 0.2ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 19:23:00 +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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 9.2ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:23:00 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 19:23:08 +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.3ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 18ms (Views: 10.8ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:23:09 +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 19:23:19 +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 19:23: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:23:39 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:23: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-25 19:23:49 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"34qwT0xNihxAgfmu9kALGuG8i+JQqKPEZFh6ZJQhdzwDDc22WwEHTCLH62VMPVAhAoZBNlwzozEF9a7mTbwC0A==", "post_type"=>"1", "title"=>"今天真开心", "content"=>"今天真开心", "picture"=>""}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.0ms) begin transaction
SQL (0.3ms) INSERT INTO "micro_posts" ("content", "post_time", "post_type", "created_at", "updated_at", "user_id", "engage_people", "title") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["content", "今天真开心"], ["post_time", 2016-12-25 11:23:49 UTC], ["post_type", 1], ["created_at", 2016-12-25 11:23:49 UTC], ["updated_at", 2016-12-25 11:23:49 UTC], ["user_id", 1], ["engage_people", 0], ["title", "今天真开心"]]
(0.6ms) commit transaction
Redirected to http://localhost:3000/microposts
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 19:23:49 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.5ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 11.4ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:23: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.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 19:24: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 19:24:10 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:24: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 19:24: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:24: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 19:24:51 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:25:00 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:25: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.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:25: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 19:25: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 19:25: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 19:25: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:26:00 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:26: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:26: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 19:26: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 19:26: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 19:26:50 +0800
Processing by ChatController#notify as JSON
User Load (0.5ms) 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.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:27: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:27: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 19: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19: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 "/microposts" for 127.0.0.1 at 2016-12-25 19:42:02 +0800
ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.3ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (9.2ms)
Rendered layouts/_title.html.erb (0.5ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 88ms (Views: 21.0ms | ActiveRecord: 1.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:42: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 8ms (Views: 0.2ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:42: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 11ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:42: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.4ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-25 19:42:25 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"fO99XvaN+ItGl43dk9jjC+q+TIdYpym2uo98N8Ehu76gaACn4cF12yTRnxYppbgwCYSGU1Q8KUPbIqi1GLzOUg==", "post_type"=>"1", "title"=>"", "content"=>"", "picturefiles"=>"select2x2.png"}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Redirected to http://localhost:3000/microposts
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 19:42:25 +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.7ms)
Rendered micro_posts/show.html.erb within layouts/application (4.1ms)
Rendered layouts/_title.html.erb (0.5ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 17ms (Views: 12.8ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:42:25 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:42:36 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:42:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:42:56 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:43:06 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:43:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-25 19:43:22 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"j7gZbtwMCP/z075s9ZGRPbt0w76UohkA1qffMoWNq6BTP2SXy0CFr5GVrKdP7MoGWE4Japg5GfW3CguwXBDeTA==", "post_type"=>"1", "title"=>"", "content"=>"", "picturefiles"=>""}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Redirected to http://localhost:3000/microposts
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 19:43:22 +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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 16ms (Views: 11.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:43:23 +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 POST "/newpost" for 127.0.0.1 at 2016-12-25 19:43:32 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"4N9jswOHGv4Zdl7LpCjGBP6gRAEX4xm0MN4xVn7XsKQ8WB5KFMuXrnswTAAeVZ0/HZqO1Rt4GUFRc+XUp0rFSA==", "post_type"=>"1", "title"=>"", "content"=>"", "picturefiles"=>"select2-spinner.gif"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Redirected to http://localhost:3000/microposts
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 19:43:32 +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 (9.3ms)
Rendered micro_posts/show.html.erb within layouts/application (12.1ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 24ms (Views: 19.0ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:43:32 +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 19:43: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 19:43:52 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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 19:44:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:44:12 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 19:44:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:44:32 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:44: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:44:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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 19:45:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 19:45: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:45: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.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:45: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:45: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:45:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:46:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:46: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:46: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 19:46: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 19:46: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:46:53 +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 19:47:03 +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 19:47: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:47:23 +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 19:47: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.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 19:47: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:47:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 19:48:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 19:48:13 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:48: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.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:48:33 +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 19:48: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 19:48:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:49:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 19:49: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:49: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 19:49:30 +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.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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 16ms (Views: 11.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:49: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.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:49: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 POST "/newpost" for 127.0.0.1 at 2016-12-25 19:49:41 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"kfFa+8/oYFMPYK1LMRNKWCULc0QG3OQtyJhyFwqMcYVNdicC2KTtA20mv4CLbhFjxjG5kApH5NipNaaV0xEEaQ==", "post_type"=>"1", "title"=>"", "content"=>"", "picturefiles"=>"nature1.jpg"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Redirected to http://localhost:3000/microposts
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 19:49:41 +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.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 11.5ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:49:42 +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 19:49:52 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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 19:50: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:50:12 +0800
Processing by ChatController#notify as JSON
User Load (0.5ms) 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.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:50:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 19:50:28 +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.7ms)
Rendered micro_posts/show.html.erb within layouts/application (3.9ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 17ms (Views: 12.7ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:50:28 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/" for 127.0.0.1 at 2016-12-25 19:53:22 +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 16ms (ActiveRecord: 1.0ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 19:53:22 +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]]
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 (2.6ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 31ms (Views: 12.6ms | ActiveRecord: 0.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:53: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 7ms (Views: 0.2ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:53: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:53: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 "/microposts" for 127.0.0.1 at 2016-12-25 19:53:43 +0800
Processing by MicroPostsController#show as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 19ms (Views: 11.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:53: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 19:53: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:54: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 19:54: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 19:54: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.1ms | ActiveRecord: 0.3ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-25 19:54:32 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"KWZdvwR8GFf/54e9DenYTHvPK3KHNsKqlR8/Y+LCPdL14SBGEzCVB52hlXa3lIN3mPXhpoutwl/0suvhO19IPg==", "post_type"=>"1", "title"=>"", "content"=>"", "pictures"=>"nature2.jpg"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Redirected to http://localhost:3000/microposts
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 19:54:32 +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.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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.2ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 19ms (Views: 12.0ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:54:32 +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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:54: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 19:54:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:55:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:55: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:55: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:55: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 19:55: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:55:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:56:03 +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 19:56:12 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 19:56:13 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.8ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 14ms (Views: 9.6ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:56:14 +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 19:56:25 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:56: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 POST "/newpost" for 127.0.0.1 at 2016-12-25 19:56:34 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"9DKQVsVoiNxTfwp/cxDYVyryDg/JgrLknh5eqmxGgfoote2v0iQFjDE5GLTJbYNsycjE28UZshH/s4ootdv0Fg==", "post_type"=>"1", "title"=>"", "content"=>"", "pictures"=>#<ActionDispatch::Http::UploadedFile:0x007fa2314dbb30 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161225-23332-6ajry2.jpg>, @original_filename="nature3.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures\"; filename=\"nature3.jpg\"\r\nContent-Type: image/jpeg\r\n">}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Redirected to http://localhost:3000/microposts
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 19:56:34 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.6ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 14ms (Views: 9.9ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:56:35 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:56:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:56:56 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:57:06 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:57:16 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:57:26 +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 19:57:36 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:57:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:57:56 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:58:06 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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 19:58:19 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:58:26 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:58:36 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:58:45 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 19:58:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:59:05 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:59:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:59:25 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:59:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 19:59:45 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 19:59:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 20:00:00 +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.1ms) 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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 17ms (Views: 9.9ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:00:00 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 20:00:04 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 17ms (Views: 8.9ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:00:04 +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 20:00:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:00: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/" for 127.0.0.1 at 2016-12-25 20:06:11 +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 14ms (ActiveRecord: 0.9ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 20:06:11 +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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 30ms (Views: 11.8ms | ActiveRecord: 0.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:06:12 +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.5ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 20:06:18 +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 (3.2ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 17ms (Views: 10.9ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:06:18 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-25 20:06:23 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"1vW5Mkx2c0lqLOuV3P36b0YmG8JwiwS9WFlPSFX19CkKcsTLWzr+GQhq+V5mgKFUpRzRFnwQBEg59JvKjGiBxQ==", "post_type"=>"1", "title"=>"", "content"=>"", "pictures"=>#<ActionDispatch::Http::UploadedFile:0x007fa237320e20 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161225-23332-1sud2ag.png>, @original_filename="se7en-logo@2x.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"pictures\"; filename=\"se7en-logo@2x.png\"\r\nContent-Type: image/png\r\n">}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
 

 
NoMethodError (undefined method `each' for #<ActionDispatch::Http::UploadedFile:0x007fa237320e20>):
 
app/controllers/micro_posts_controller.rb:18:in `new'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (2.7ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (72.8ms)
Started GET "/newpost" for 127.0.0.1 at 2016-12-25 20:07:51 +0800
ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
 
ActionController::RoutingError (No route matches [GET] "/newpost"):
 
actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged'
activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged'
railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
rack (2.0.1) lib/rack/method_override.rb:22:in `call'
rack (2.0.1) lib/rack/runtime.rb:22:in `call'
activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
railties (5.0.0.1) lib/rails/engine.rb:522:in `call'
puma (3.6.2) lib/puma/configuration.rb:225:in `call'
puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
puma (3.6.2) lib/puma/server.rb:415:in `process_client'
puma (3.6.2) lib/puma/server.rb:275:in `block in run'
puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.6ms)
Rendered collection of /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [31 times] (32.2ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (13.2ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (12.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (176.3ms)
Started GET "/" for 127.0.0.1 at 2016-12-25 20:07:56 +0800
Processing by LoginController#init as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Redirected to http://localhost:3000/main
Completed 302 Found in 49ms (ActiveRecord: 1.7ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 20:07:56 +0800
Processing by MainController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.3ms) SELECT "micro_posts".* FROM "micro_posts" ORDER BY "micro_posts"."post_time" DESC LIMIT ? OFFSET ? [["LIMIT", 20], ["OFFSET", 0]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) 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.9ms)
Rendered main/main.html.erb within layouts/application (6.2ms)
Rendered layouts/_title.html.erb (0.7ms)
Rendered layouts/_refer.html.erb (0.7ms)
Completed 200 OK in 106ms (Views: 20.5ms | ActiveRecord: 2.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:07:57 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 35ms (Views: 0.5ms | ActiveRecord: 0.9ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 20:07:59 +0800
Processing by MicroPostsController#show as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.3ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.7ms)
Rendered micro_posts/show.html.erb within layouts/application (5.6ms)
Rendered layouts/_title.html.erb (0.5ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 36ms (Views: 19.3ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:07: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-25 20:08:08 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"oQAXNzi35dMP4DowrVwYvfjcHMTeE1tEtKAwVDmydO59h2rOL/tog22mKPsXIUOGG+bWENKIW7HVDeTW4C8BAg==", "post_type"=>"1", "title"=>"", "content"=>"", "pictures"=>#<ActionDispatch::Http::UploadedFile:0x007fbacd675d60 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161225-25051-1nlcd65.jpg>, @original_filename="nature2.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures\"; filename=\"nature2.jpg\"\r\nContent-Type: image/jpeg\r\n">}
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Processing by ChatController#notify as JSON
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.5ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 0.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Processing by ChatController#notify as JSON
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Redirected to http://localhost:3000/microposts
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Processing by ChatController#notify as JSON
Processing by ChatController#notify as JSON
Completed 302 Found in 270319ms (ActiveRecord: 0.4ms)
 

Processing by ChatController#notify as JSON
(0.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 31ms (Views: 0.5ms | ActiveRecord: 0.8ms)
 

(0.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
(0.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 33ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Completed 200 OK in 32ms (Views: 0.3ms | ActiveRecord: 0.6ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Completed 200 OK in 33ms (Views: 0.5ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Processing by MicroPostsController#show as HTML
Processing by ChatController#notify as JSON
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
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 "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
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]]
MicroPost Load (0.3ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Completed 200 OK in 36ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 38ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Rendering micro_posts/show.html.erb within layouts/application
Completed 200 OK in 39ms (Views: 0.5ms | ActiveRecord: 0.6ms)
 

Processing by ChatController#notify as JSON
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Rendered layouts/_nav.html.erb (0.8ms)
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Processing by ChatController#notify as JSON
Rendered micro_posts/show.html.erb within layouts/application (19.4ms)
Processing by ChatController#notify as JSON
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Completed 200 OK in 36ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

(0.6ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendered layouts/_title.html.erb (1.4ms)
(0.4ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Processing by ChatController#notify as JSON
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Completed 200 OK in 50ms (Views: 0.6ms | ActiveRecord: 0.9ms)
 

Completed 200 OK in 47ms (Views: 0.4ms | ActiveRecord: 0.6ms)
 

User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Rendered layouts/_refer.html.erb (0.8ms)
Processing by ChatController#notify as JSON
(0.4ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Completed 200 OK in 192ms (Views: 137.5ms | ActiveRecord: 0.7ms)
 

User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 39ms (Views: 0.6ms | ActiveRecord: 1.1ms)
 

Processing by ChatController#notify as JSON
Processing by ChatController#notify as JSON
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Completed 200 OK in 40ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

(0.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
(0.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Processing by ChatController#notify as JSON
Completed 200 OK in 37ms (Views: 0.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:38 +0800
Completed 200 OK in 37ms (Views: 0.4ms | ActiveRecord: 0.7ms)
 

User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Processing by ChatController#notify as JSON
(0.4ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (1.1ms) 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 51ms (Views: 0.8ms | ActiveRecord: 0.9ms)
 

Completed 200 OK in 26ms (Views: 0.6ms | ActiveRecord: 1.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:39 +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 10ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12: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.4ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:12:59 +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 10ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-25 20:13:02 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jO+I55JcEJ61AH0vpRmoS5SQQPbsEKWmtGviRnLU56BQaPUehRCdztdGb+QfZPNwd6qKIuCLpVPVxjbEq0mSTA==", "post_type"=>"1", "title"=>"", "content"=>"", "pictures"=>#<ActionDispatch::Http::UploadedFile:0x007fbacd052758 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161225-25051-1ahz23u.jpg>, @original_filename="nature1.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures\"; filename=\"nature1.jpg\"\r\nContent-Type: image/jpeg\r\n">}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Redirected to http://localhost:3000/microposts
Completed 302 Found in 54470ms (ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:13:56 +0800
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:13:56 +0800
Processing by ChatController#notify as JSON
Processing by ChatController#notify as JSON
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:13:56 +0800
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Started GET "/microposts" for 127.0.0.1 at 2016-12-25 20:13:56 +0800
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Processing by ChatController#notify as JSON
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Processing by MicroPostsController#show as HTML
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

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]]
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:13:56 +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 20:13:56 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Rendering micro_posts/show.html.erb within layouts/application
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendered layouts/_nav.html.erb (0.4ms)
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Rendered micro_posts/show.html.erb within layouts/application (3.6ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 31ms (Views: 22.7ms | ActiveRecord: 0.4ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 20:18:33 +0800
ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by MicroPostsController#show as HTML
User Load (0.5ms) 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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (7.7ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 98ms (Views: 18.5ms | ActiveRecord: 2.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:18: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.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.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:18: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 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-25 20:18:50 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"/o0jaZpRzu8SQm6Maq/WBhGdWMqjH9rMNMM79ULI+bIiCl6QjR1Dv3AEfEfQ0o098qeSHq+E2jlVbu93m1WMXg==", "post_type"=>"1", "title"=>"", "content"=>"", "pictures"=>[#<ActionDispatch::Http::UploadedFile:0x007fad0921e108 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161225-25114-10664p4.png>, @original_filename="select2.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"select2.png\"\r\nContent-Type: image/png\r\n">, #<ActionDispatch::Http::UploadedFile:0x007fad0921e0e0 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161225-25114-wog19d.jpg>, @original_filename="nature3.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"nature3.jpg\"\r\nContent-Type: image/jpeg\r\n">]}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Redirected to http://localhost:3000/microposts
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 20:18: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.2ms) 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.7ms)
Rendered micro_posts/show.html.erb within layouts/application (6.4ms)
Rendered layouts/_title.html.erb (0.5ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 32ms (Views: 23.3ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:18:51 +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 20:19: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.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.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:19:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:19:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:19: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.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 20:19: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 4ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:19:51 +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 20:20: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.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 "/microposts" for 127.0.0.1 at 2016-12-25 20:23:10 +0800
ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.3ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.3ms) 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 (1.0ms)
Rendered micro_posts/show.html.erb within layouts/application (13.3ms)
Rendered layouts/_title.html.erb (0.7ms)
Rendered layouts/_refer.html.erb (0.9ms)
Completed 200 OK in 148ms (Views: 34.0ms | ActiveRecord: 2.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:23:12 +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 22ms (Views: 1.0ms | ActiveRecord: 1.0ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-25 20:23:20 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"O57zN6wabHQSNZ7lFgQZzVRBKXa1DptIXNPoIPy8OHbnGY7Ou1bhJHBzjC6seUL2t3vjormVm709fjyiJSFNmg==", "post_type"=>"1", "title"=>"", "content"=>"", "pictures"=>[#<ActionDispatch::Http::UploadedFile:0x007fc15eeba650 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161225-25153-1kbdvas.png>, @original_filename="saturation.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"saturation.png\"\r\nContent-Type: image/png\r\n">, #<ActionDispatch::Http::UploadedFile:0x007fc15eeba5d8 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161225-25153-5ogqu3.jpg>, @original_filename="nature1.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"nature1.jpg\"\r\nContent-Type: image/jpeg\r\n">]}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:26:53 +0800
Redirected to http://localhost:3000/microposts
Processing by ChatController#notify as JSON
Completed 302 Found in 213195ms (ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:26:53 +0800
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:26:53 +0800
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Processing by ChatController#notify as JSON
Processing by ChatController#notify as JSON
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.6ms)
 

(0.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
(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.5ms)
 

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/" for 127.0.0.1 at 2016-12-25 20:28:14 +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 38ms (ActiveRecord: 1.4ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-25 20:28:14 +0800
Processing by MainController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.3ms) SELECT "micro_posts".* FROM "micro_posts" ORDER BY "micro_posts"."post_time" DESC LIMIT ? OFFSET ? [["LIMIT", 20], ["OFFSET", 0]]
CACHE (0.1ms) 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]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.2ms) 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.1ms) 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.9ms)
Rendered main/main.html.erb within layouts/application (7.7ms)
Rendered layouts/_title.html.erb (0.7ms)
Rendered layouts/_refer.html.erb (0.7ms)
Completed 200 OK in 103ms (Views: 24.0ms | ActiveRecord: 2.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:28:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 18ms (Views: 0.8ms | ActiveRecord: 0.8ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 20:28:16 +0800
Processing by MicroPostsController#show as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.3ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.3ms) 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.8ms)
Rendered micro_posts/show.html.erb within layouts/application (6.2ms)
Rendered layouts/_title.html.erb (0.6ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 42ms (Views: 21.8ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20: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.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-25 20:28:25 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0SzMHCLjhpus4GSX4DJ51bis1uHM1gXQc4iXuv0NGJINq7HlNa8Ly86mdlxaTyLuW5YcNcBNBSUSJUM4JJBtfg==", "post_type"=>"1", "title"=>"", "content"=>"", "pictures"=>[#<ActionDispatch::Http::UploadedFile:0x007fc162820408 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161225-25153-1kbt45l.jpg>, @original_filename="nature4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"nature4.jpg\"\r\nContent-Type: image/jpeg\r\n">, #<ActionDispatch::Http::UploadedFile:0x007fc1628203e0 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161225-25153-wxy7r2.jpg>, @original_filename="nature1.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"nature1.jpg\"\r\nContent-Type: image/jpeg\r\n">]}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:28:59 +0800
Processing by ChatController#notify as JSON
User Load (0.5ms) 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 10ms (Views: 0.5ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:29:21 +0800
Processing by ChatController#notify as JSON
User Load (0.4ms) 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 10ms (Views: 0.5ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:29:21 +0800
Processing by ChatController#notify as JSON
User Load (0.4ms) 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 3301ms (Views: 0.5ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:29:25 +0800
Redirected to http://localhost:3000/microposts
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:29:37 +0800
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:29:37 +0800
Processing by ChatController#notify as JSON
Completed 302 Found in 72834ms (ActiveRecord: 0.3ms)
 

Processing by ChatController#notify as JSON
Processing by ChatController#notify as JSON
User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.5ms) 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]]
(0.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Started GET "/microposts" for 127.0.0.1 at 2016-12-25 20:29:37 +0800
Completed 200 OK in 41ms (Views: 0.4ms | ActiveRecord: 0.8ms)
 

Completed 200 OK in 36ms (Views: 0.3ms | ActiveRecord: 0.7ms)
 

Completed 200 OK in 32ms (Views: 0.4ms | ActiveRecord: 0.7ms)
 

Processing by MicroPostsController#show as HTML
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:29:37 +0800
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Processing by ChatController#notify as JSON
(0.3ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.3ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
(0.4ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 36ms (Views: 0.9ms | ActiveRecord: 1.6ms)
 

Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.9ms)
Rendered micro_posts/show.html.erb within layouts/application (11.8ms)
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:29:38 +0800
Rendered layouts/_title.html.erb (0.8ms)
Rendered layouts/_refer.html.erb (0.9ms)
Completed 200 OK in 97ms (Views: 46.3ms | ActiveRecord: 1.0ms)
 

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 77ms (Views: 0.5ms | ActiveRecord: 2.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:29:38 +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 9ms (Views: 0.7ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:29:48 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 56ms (Views: 0.5ms | ActiveRecord: 2.1ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:29:58 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 10ms (Views: 0.7ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:30:08 +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 10ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-25 20:30:15 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"4kri1//IB9S2lpFaAsbFTu+ylqaE7dAUwcIQTk8ULmE+zZ8u6ISKhNTQg5G4u551DIhccoh20OGgb8TMlolbjQ==", "post_type"=>"1", "title"=>"", "content"=>"", "pictures"=>[#<ActionDispatch::Http::UploadedFile:0x007fc15d4030f0 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161225-25153-1fsvbxw.jpg>, @original_filename="nature2.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"nature2.jpg\"\r\nContent-Type: image/jpeg\r\n">, #<ActionDispatch::Http::UploadedFile:0x007fc15d4030c8 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161225-25153-1k25s07.jpg>, @original_filename="nature1.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"nature1.jpg\"\r\nContent-Type: image/jpeg\r\n">]}
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:30:19 +0800
Processing by ChatController#notify as JSON
User Load (0.4ms) 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 425ms (Views: 0.6ms | ActiveRecord: 0.6ms)
 

Redirected to http://localhost:3000/microposts
Completed 302 Found in 13348ms (ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-25 20:30:29 +0800
Processing by ChatController#notify as JSON
User Load (0.5ms) 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 6ms (Views: 0.2ms | ActiveRecord: 0.7ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-25 20:30:29 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.2ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 45ms (Views: 14.5ms | ActiveRecord: 1.3ms)
 

Started GET "/" for 127.0.0.1 at 2016-12-26 10:22:35 +0800
ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
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 33ms (ActiveRecord: 0.6ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 10:22:35 +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]]
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.6ms)
Rendered main/main.html.erb within layouts/application (5.2ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 52ms (Views: 19.6ms | ActiveRecord: 0.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:22:36 +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 15ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:22: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 4ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 10:22:46 +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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (4.2ms)
Rendered layouts/_title.html.erb (0.6ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 19ms (Views: 12.9ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:22: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:22: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.2ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-26 10:23:00 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"pDOGtEwydpTKFMOTDCHIpYp71ybA+05sIQ3Fgphp62V4tPtNW377xKhS0Vi2XJOeaUEd8sxgTplAoBEAQfSeiQ==", "post_type"=>"1", "title"=>"测试时间", "content"=>"时间"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
 

 
NoMethodError (undefined method `each' for nil:NilClass):
 
app/controllers/micro_posts_controller.rb:18:in `new'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (3.3ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (65.1ms)
Started GET "/" for 127.0.0.1 at 2016-12-26 10:23:38 +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 14ms (ActiveRecord: 0.8ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 10:23:38 +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]]
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 (2.6ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 30ms (Views: 10.0ms | ActiveRecord: 0.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:23: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 6ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 10:23:40 +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.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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.6ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 17ms (Views: 10.9ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:23:40 +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 POST "/newpost" for 127.0.0.1 at 2016-12-26 10:23:50 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"BC9xU4dG9DxdSmSn4rRB4JJ5RBcY4jEP5Cc5P1+nK93YqAyqkAp5bD8MdmxYyRrbcUOOwxR5MfqFiu29hjpeMQ==", "post_type"=>"1", "title"=>"时间", "content"=>"时间"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.0ms) begin transaction
SQL (0.3ms) INSERT INTO "micro_posts" ("content", "post_time", "post_type", "created_at", "updated_at", "user_id", "engage_people", "title") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["content", "时间"], ["post_time", 2016-12-26 02:23:50 UTC], ["post_type", 1], ["created_at", 2016-12-26 02:23:50 UTC], ["updated_at", 2016-12-26 02:23:50 UTC], ["user_id", 1], ["engage_people", 0], ["title", "时间"]]
(1.9ms) commit transaction
Redirected to http://localhost:3000/microposts
Completed 302 Found in 6ms (ActiveRecord: 2.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 10:23:50 +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.3ms) 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.6ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 15ms (Views: 10.8ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:23: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.6ms) 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.7ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 10:23:52 +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]]
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]]
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 (2.5ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 18ms (Views: 9.7ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:23:52 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:24:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:24:12 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:24:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 10:29:37 +0800
ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by MainController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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]]
User Load (0.1ms) 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", 1], ["LIMIT", 1]]
User Load (0.1ms) 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", 1], ["LIMIT", 1]]
User Load (0.1ms) 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]]
User Load (0.1ms) 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", 1], ["LIMIT", 1]]
User Load (0.1ms) 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.5ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 91ms (Views: 19.6ms | ActiveRecord: 2.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:29: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.2ms) 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.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:29: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-26 10:29: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.3ms) 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 "/main" for 127.0.0.1 at 2016-12-26 10:32:55 +0800
ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
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]]
User Load (0.1ms) 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", 1], ["LIMIT", 1]]
User Load (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", 1], ["LIMIT", 1]]
User Load (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]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (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", 1], ["LIMIT", 1]]
Rendering main/main.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.6ms)
Rendered main/main.html.erb within layouts/application (6.1ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 77ms (Views: 21.4ms | ActiveRecord: 1.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:32:56 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.5ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 10:32:59 +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]]
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]]
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.7ms)
Rendered main/main.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.5ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 21ms (Views: 11.1ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:32: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 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:33: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-26 10:33:19 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:33: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-26 10:33: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.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-26 10:33: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-26 10:33: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-26 10:34:09 +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-26 10:34:19 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:34: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-26 10:34: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 12ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:34: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-26 10:34:59 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:35: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.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-26 10:35: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-26 10:35: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-26 10:35:39 +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.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:35: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-26 10:35:59 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:36: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-26 10:36: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-26 10:36:29 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:36:39 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:36: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.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-26 10:36: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-26 10:37:09 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:37:19 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:37: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-26 10:37: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-26 10:37:49 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 10:37:56 +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]]
User Load (0.1ms) 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", 1], ["LIMIT", 1]]
User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (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]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (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", 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 (2.4ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 42ms (Views: 10.0ms | ActiveRecord: 1.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:37: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 6ms (Views: 0.2ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:38: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.2ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 10:38:12 +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]]
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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.2ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 24ms (Views: 10.0ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:38:12 +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.3ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 10:38:15 +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 (3.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 9.8ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:38:16 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:38:26 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:38:36 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:38:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:38:56 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:39:06 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 10:39:16 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:39:26 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:39:36 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 10:39:40 +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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (4.0ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 39ms (Views: 13.0ms | ActiveRecord: 1.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:39:40 +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.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:39:50 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10: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-26 10: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 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10: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-26 10: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 7ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10: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-26 10: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10: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-26 10: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-26 10: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-26 10: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-26 10:42:00 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:42: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-26 10:42:20 +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-26 10: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10: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.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-26 10: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-26 10: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 4ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10: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 "/microposts" for 127.0.0.1 at 2016-12-26 10:43:18 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 11.0ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:43:18 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 10:43:27 +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.7ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 14ms (Views: 9.9ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:43: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-26 10: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 "/microposts" for 127.0.0.1 at 2016-12-26 10:43:50 +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.6ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.7ms)
Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:43:51 +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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 10:44:00 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.4ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 15ms (Views: 11.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:44: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-26 10:44: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:44: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-26 10:44:40 +0800
ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by ChatController#notify as JSON
User Load (0.4ms) 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 58ms (Views: 0.4ms | ActiveRecord: 1.9ms)
 

Started GET "/chat" for 127.0.0.1 at 2016-12-26 10:44:41 +0800
Processing by ChatController#index as HTML
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendering chat/index.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.5ms)
Rendered chat/index.html.erb within layouts/application (3.8ms)
Rendered layouts/_title.html.erb (0.6ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 37ms (Views: 20.8ms | ActiveRecord: 1.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:44:41 +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 "/chat?chat_with=%E7%AE%A1%E7%90%86%E5%91%98" for 127.0.0.1 at 2016-12-26 10:44:42 +0800
Processing by ChatController#index as JSON
Parameters: {"chat_with"=>"管理员"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "管理员"], ["LIMIT", 1]]
(0.0ms) begin transaction
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."send_user" IN (1, 2) AND "messages"."recieve_user" IN (1, 2)
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."send_user" IN (1, 2) AND "messages"."recieve_user" IN (1, 2) ORDER BY "messages"."create_time" ASC
CACHE (0.0ms) 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]]
(0.0ms) commit transaction
Completed 200 OK in 17ms (Views: 1.0ms | ActiveRecord: 0.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:44:42 +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 "/online" for 127.0.0.1 at 2016-12-26 10:44:51 +0800
Processing by ChatController#online as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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-26 10:44:51 +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 "/online" for 127.0.0.1 at 2016-12-26 10:45:01 +0800
Processing by ChatController#online as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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-26 10:45:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-26 10:45:11 +0800
Processing by ChatController#online as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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-26 10:45:11 +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 "/online" for 127.0.0.1 at 2016-12-26 10:45:21 +0800
Processing by ChatController#online as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.4ms) SELECT "messages".* FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:45:21 +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 "/online" for 127.0.0.1 at 2016-12-26 10:45:31 +0800
Processing by ChatController#online as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:45: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-26 10:45:41 +0800
Processing by ChatController#online as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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-26 10:45:41 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.4ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-26 10:45:51 +0800
Processing by ChatController#online as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:45:51 +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 "/online" for 127.0.0.1 at 2016-12-26 10:46:01 +0800
Processing by ChatController#online as JSON
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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-26 10:46:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-26 10:46:11 +0800
Processing by ChatController#online as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 1.1ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:46:11 +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.3ms | ActiveRecord: 0.3ms)
 

Started GET "/chat" for 127.0.0.1 at 2016-12-26 10:46:13 +0800
Processing by ChatController#index as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendering chat/index.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered chat/index.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 23ms (Views: 9.1ms | ActiveRecord: 1.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:46:14 +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 "/chat?chat_with=%E7%AE%A1%E7%90%86%E5%91%98" for 127.0.0.1 at 2016-12-26 10:46:15 +0800
Processing by ChatController#index as JSON
Parameters: {"chat_with"=>"管理员"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "管理员"], ["LIMIT", 1]]
(0.0ms) begin transaction
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."send_user" IN (1, 2) AND "messages"."recieve_user" IN (1, 2)
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."send_user" IN (1, 2) AND "messages"."recieve_user" IN (1, 2) ORDER BY "messages"."create_time" ASC
CACHE (0.0ms) 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]]
(0.0ms) commit transaction
Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 1.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:46:15 +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 "/online" for 127.0.0.1 at 2016-12-26 10:46:23 +0800
Processing by ChatController#online as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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-26 10:46:24 +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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/chat?chat_with=%E7%AE%A1%E7%90%86%E5%91%98" for 127.0.0.1 at 2016-12-26 10:46:27 +0800
Processing by ChatController#index as JSON
Parameters: {"chat_with"=>"管理员"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "管理员"], ["LIMIT", 1]]
(0.0ms) begin transaction
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."send_user" IN (1, 2) AND "messages"."recieve_user" IN (1, 2)
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."send_user" IN (1, 2) AND "messages"."recieve_user" IN (1, 2) ORDER BY "messages"."create_time" ASC
CACHE (0.0ms) 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]]
(0.0ms) commit transaction
Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 1.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:46: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.3ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-26 10:46:33 +0800
Processing by ChatController#online as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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-26 10:46: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 "/microposts" for 127.0.0.1 at 2016-12-26 10:46:39 +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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (3.4ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 28ms (Views: 11.4ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:46:40 +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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:46:50 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:47: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-26 10:47: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-26 10:47: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-26 10:47: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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:47: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-26 10:47: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:48: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-26 10:48: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 17ms (Views: 0.2ms | ActiveRecord: 1.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:48: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-26 10:48: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-26 10:48: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-26 10:48:50 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:49: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 20ms (Views: 0.2ms | ActiveRecord: 1.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:49: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:49: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-26 10:49: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 18ms (Views: 0.2ms | ActiveRecord: 0.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:49: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-26 10:49:50 +0800
 
SyntaxError (/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:44: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
...time: utc_time_to_local message.create_time}
... ^
/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:44: syntax error, unexpected '}', expecting keyword_end
/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:49: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
...time: utc_time_to_local message.create_time}
... ^
/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:49: syntax error, unexpected '}', expecting keyword_end
/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:75: syntax error, unexpected end-of-input, expecting keyword_end):
 
app/helpers/chat_helper.rb:44: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
app/helpers/chat_helper.rb:44: syntax error, unexpected '}', expecting keyword_end
app/helpers/chat_helper.rb:49: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
app/helpers/chat_helper.rb:49: syntax error, unexpected '}', expecting keyword_end
app/helpers/chat_helper.rb:75: syntax error, unexpected end-of-input, expecting keyword_end
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (0.5ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (0.9ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (60.2ms)
Started GET "/microposts" for 127.0.0.1 at 2016-12-26 10:49:56 +0800
 
SyntaxError (/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:44: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
...time: utc_time_to_local message.create_time}
... ^
/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:44: syntax error, unexpected '}', expecting keyword_end
/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:49: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
...time: utc_time_to_local message.create_time}
... ^
/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:49: syntax error, unexpected '}', expecting keyword_end
/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:75: syntax error, unexpected end-of-input, expecting keyword_end):
 
app/helpers/chat_helper.rb:44: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
app/helpers/chat_helper.rb:44: syntax error, unexpected '}', expecting keyword_end
app/helpers/chat_helper.rb:49: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
app/helpers/chat_helper.rb:49: syntax error, unexpected '}', expecting keyword_end
app/helpers/chat_helper.rb:75: syntax error, unexpected end-of-input, expecting keyword_end
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/micro_posts_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (3.6ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (67.3ms)
Started GET "/microposts" for 127.0.0.1 at 2016-12-26 10:51:08 +0800
 
SyntaxError (/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:44: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
...time: utc_time_to_local message.create_time}
... ^
/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:44: syntax error, unexpected '}', expecting keyword_end
/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:49: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
...time: utc_time_to_local message.create_time}
... ^
/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:49: syntax error, unexpected '}', expecting keyword_end
/Users/zhangyu/Documents/RubyProjects/se/guoren/app/helpers/chat_helper.rb:75: syntax error, unexpected end-of-input, expecting keyword_end):
 
app/helpers/chat_helper.rb:44: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
app/helpers/chat_helper.rb:44: syntax error, unexpected '}', expecting keyword_end
app/helpers/chat_helper.rb:49: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
app/helpers/chat_helper.rb:49: syntax error, unexpected '}', expecting keyword_end
app/helpers/chat_helper.rb:75: syntax error, unexpected end-of-input, expecting keyword_end
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/micro_posts_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.0ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (62.8ms)
Started GET "/" for 127.0.0.1 at 2016-12-26 10:52:24 +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 15ms (ActiveRecord: 0.9ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 10:52:24 +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.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 500 Internal Server Error in 52ms (ActiveRecord: 0.9ms)
 

 
NoMethodError (undefined method `utc_time_to_local' for #<MainController:0x007fbcc1fd6468>):
 
app/helpers/main_helper.rb:24:in `block in read_newest_post'
app/helpers/main_helper.rb:7:in `read_newest_post'
app/controllers/main_controller.rb:9:in `show'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (3.1ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (95.1ms)
Started GET "/main" for 127.0.0.1 at 2016-12-26 10:53:00 +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]]
User Load (0.1ms) 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", 1], ["LIMIT", 1]]
User Load (0.1ms) 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", 1], ["LIMIT", 1]]
User Load (0.1ms) 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]]
User Load (0.1ms) 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", 1], ["LIMIT", 1]]
User Load (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.3ms)
Rendered main/main.html.erb within layouts/application (2.5ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 43ms (Views: 9.6ms | ActiveRecord: 2.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:53:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 10:53:03 +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.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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.7ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 17ms (Views: 9.8ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:53: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 "/chat" for 127.0.0.1 at 2016-12-26 10:53:07 +0800
Processing by ChatController#index as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendering chat/index.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.5ms)
Rendered chat/index.html.erb within layouts/application (2.8ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 23ms (Views: 11.6ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:53: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
 

Started GET "/chat?chat_with=%E7%AE%A1%E7%90%86%E5%91%98" for 127.0.0.1 at 2016-12-26 10:53:08 +0800
Processing by ChatController#index as JSON
Parameters: {"chat_with"=>"管理员"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "管理员"], ["LIMIT", 1]]
(0.0ms) begin transaction
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."send_user" IN (1, 2) AND "messages"."recieve_user" IN (1, 2)
Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."send_user" IN (1, 2) AND "messages"."recieve_user" IN (1, 2) ORDER BY "messages"."create_time" ASC
CACHE (0.0ms) 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]]
(0.0ms) commit transaction
Completed 200 OK in 13ms (Views: 0.7ms | ActiveRecord: 1.1ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:53: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-26 10:53:18 +0800
Processing by ChatController#online as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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-26 10:53:18 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-26 10:53:28 +0800
Processing by ChatController#online as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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-26 10:53:28 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-26 10:53:38 +0800
Processing by ChatController#online as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT "messages".* 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-26 10:53: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.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.3ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-26 10:53:48 +0800
Processing by ChatController#online as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.5ms) SELECT "messages".* FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:53:48 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/online" for 127.0.0.1 at 2016-12-26 10:53:58 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:53:58 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.9ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.6ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.9ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:54:08 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:54:08 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (18.8ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (18.8ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:54:18 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.7ms)
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:54:18 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.5ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:54:28 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:54:28 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.5ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (22.0ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:54:38 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:54:38 +0800
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.5ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.8ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:54:48 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:54:48 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (23.3ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.2ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:54:58 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:54:58 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (18.2ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.9ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:55:08 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:55:08 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.3ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.2ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:55:18 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:55:18 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.9ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.8ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:55:28 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:55:28 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (22.0ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.1ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:55:38 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:55:38 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.8ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.3ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:55:48 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:55:48 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.7ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.5ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:55:58 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:55:58 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.2ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.4ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:56:08 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:56:08 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (22.7ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.1ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:56:18 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:56:18 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.6ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.9ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:56:28 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:56:28 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.6ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.4ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:56:38 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:56:38 +0800
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.8ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.8ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:56:48 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:56:48 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (18.4ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (18.3ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:56:58 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:56:58 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.2ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (22.5ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:57:08 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:57:08 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.2ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.8ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:57:18 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.1ms)
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:57:18 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (18.8ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:57:28 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:57:28 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.4ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.6ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:57:38 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:57:38 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (22.0ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (24.9ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:57:48 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:57:48 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.1ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (18.1ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:57:58 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:57:58 +0800
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (23.1ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.9ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:58:08 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:58:08 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.8ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.7ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:58:18 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:58:18 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.4ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.4ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:58:28 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.5ms)
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:58:28 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.2ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:58:38 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:58:38 +0800
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.3ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.1ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:58:48 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:58:48 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.6ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.8ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:58:58 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:58:58 +0800
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.2ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.5ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:59:08 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:59:08 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.4ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.6ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:59:18 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:59:18 +0800
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (24.1ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.0ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:59:28 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:59:28 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.7ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (23.2ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.5ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:59:38 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:59:38 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (18.1ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.1ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:59:48 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:59:48 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.0ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.3ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 10:59:58 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 10:59:58 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.8ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.3ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 11:00:08 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:00:08 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.8ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.2ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 11:00:18 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:00:18 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (22.3ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.4ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 11:00:28 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.9ms)
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:00:28 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (20.9ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 11:00:38 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (22.0ms)
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:00:38 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (18.1ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 11:00:48 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:00:48 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.3ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.2ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 11:00:58 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:00:58 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (18.4ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (19.9ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 11:01:08 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:01:08 +0800
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (21.4ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (18.0ms)
Started GET "/online" for 127.0.0.1 at 2016-12-26 11:01:18 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:01:18 +0800
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.4ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.8ms)
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/chat_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.8ms)
Started GET "/microposts" for 127.0.0.1 at 2016-12-26 11:01:26 +0800
 
ActionController::RoutingError (Couldn't find UsersHelper, expected it to be defined in helpers/users_helper.rb):
 
app/controllers/application_controller.rb:1:in `<top (required)>'
app/controllers/micro_posts_controller.rb:1:in `<top (required)>'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
Rendered collection of /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [31 times] (9.9ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.1ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (99.2ms)
Started GET "/microposts" for 127.0.0.1 at 2016-12-26 11:02:20 +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.4ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 38ms (Views: 9.8ms | ActiveRecord: 1.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:02:20 +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.4ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:02:24 +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]]
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]]
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 (2.7ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 21ms (Views: 10.4ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:02:24 +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-26 11:02:30 +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.7ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 13ms (Views: 9.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:02: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/chat" for 127.0.0.1 at 2016-12-26 11:02:32 +0800
Processing by ChatController#index as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendering chat/index.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.3ms)
Rendered chat/index.html.erb within layouts/application (2.4ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 22ms (Views: 10.2ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:02:32 +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 "/profile" for 127.0.0.1 at 2016-12-26 11:02:36 +0800
Processing by UsersController#edit as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Rendering users/edit.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered users/edit.html.erb within layouts/application (2.4ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.1ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:02:36 +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 "/logout" for 127.0.0.1 at 2016-12-26 11:02:41 +0800
Processing by LoginController#logout as HTML
Redirected to http://localhost:3000/login
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
 

Started GET "/login" for 127.0.0.1 at 2016-12-26 11:02:41 +0800
Processing by LoginController#init as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT ? [["LIMIT", 1]]
Rendering login/init.html.erb within layouts/application
Rendered login/init.html.erb within layouts/application (1.6ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.1ms)
 

Started GET "/" for 127.0.0.1 at 2016-12-26 11:20:27 +0800
ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
Processing by LoginController#init as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT ? [["LIMIT", 1]]
Rendering login/init.html.erb within layouts/application
Rendered login/init.html.erb within layouts/application (9.8ms)
Rendered layouts/_title.html.erb (0.6ms)
Rendered layouts/_refer.html.erb (0.9ms)
Completed 200 OK in 68ms (Views: 27.2ms | ActiveRecord: 0.8ms)
 

Started POST "/login?method=post" for 127.0.0.1 at 2016-12-26 11:20:38 +0800
Processing by LoginController#login as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Iy/6/OMYjLeiuz2SuMrnVDx652s7wuWWXejNY3yXIyHY5BCTzzF8vq7gSRp8B3F9Vuena1ywwh3o6r2K15rvJg==", "email"=>"zhangyu@163.com", "password"=>"[FILTERED]", "method"=>"post"}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "zhangyu@163.com"], ["LIMIT", 1]]
Redirected to http://localhost:3000/main
Completed 302 Found in 91ms (ActiveRecord: 0.9ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:20:38 +0800
Processing by MainController#show as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.6ms) SELECT "micro_posts".* FROM "micro_posts" ORDER BY "micro_posts"."post_time" DESC LIMIT ? OFFSET ? [["LIMIT", 20], ["OFFSET", 0]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) 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 (1.7ms)
Rendered main/main.html.erb within layouts/application (8.3ms)
Rendered layouts/_title.html.erb (0.8ms)
Rendered layouts/_refer.html.erb (1.2ms)
Completed 200 OK in 117ms (Views: 25.9ms | ActiveRecord: 3.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:20: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.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 25ms (Views: 0.5ms | ActiveRecord: 0.9ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 11:20:43 +0800
Processing by MicroPostsController#show as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.3ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.3ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.7ms)
Rendered micro_posts/show.html.erb within layouts/application (6.1ms)
Rendered layouts/_title.html.erb (0.8ms)
Rendered layouts/_refer.html.erb (0.7ms)
Completed 200 OK in 38ms (Views: 20.0ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:20:44 +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 12ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:20:54 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.4ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.7ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-26 11:21:03 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"k6lZnAf9zOkFHD8FiC6MmqbjmYHWVxL7XVYLpR5vOoRPLiRlELFBuWdaLc4yU9ehRdlTVdrMEg48+98nx/JPaA==", "post_type"=>"1", "title"=>"图片测试", "content"=>"图片测试", "pictures"=>[#<ActionDispatch::Http::UploadedFile:0x007f8393694f10 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161226-62980-xynik4.png>, @original_filename="saturation.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"saturation.png\"\r\nContent-Type: image/png\r\n">]}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:21:12 +0800
Processing by ChatController#notify as JSON
User Load (0.4ms) 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 9ms (Views: 0.5ms | ActiveRecord: 0.7ms)
 

Completed 500 Internal Server Error in 13101ms (ActiveRecord: 0.3ms)
 

 
NameError (undefined local variable or method `path' for #<MicroPostsController:0x007f8393695848>):
 
app/helpers/micro_posts_helper.rb:34:in `savePicture'
app/controllers/micro_posts_controller.rb:21:in `block in new'
app/controllers/micro_posts_controller.rb:20:in `each'
app/controllers/micro_posts_controller.rb:20:in `new'
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:21:16 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 9ms (Views: 0.4ms | ActiveRecord: 0.6ms)
 

Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (29.0ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.6ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.7ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (163.2ms)
Started GET "/" for 127.0.0.1 at 2016-12-26 11:21:31 +0800
Processing by LoginController#init as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Redirected to http://localhost:3000/main
Completed 302 Found in 39ms (ActiveRecord: 1.6ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:21:31 +0800
Processing by MainController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.4ms) SELECT "micro_posts".* FROM "micro_posts" ORDER BY "micro_posts"."post_time" DESC LIMIT ? OFFSET ? [["LIMIT", 20], ["OFFSET", 0]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (2.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) 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 (1.0ms)
Rendered main/main.html.erb within layouts/application (6.3ms)
Rendered layouts/_title.html.erb (0.7ms)
Rendered layouts/_refer.html.erb (0.8ms)
Completed 200 OK in 96ms (Views: 20.2ms | ActiveRecord: 5.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:21: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 0.9ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 11:21:32 +0800
Processing by MicroPostsController#show as HTML
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.4ms) 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.8ms)
Rendered micro_posts/show.html.erb within layouts/application (5.7ms)
Rendered layouts/_title.html.erb (0.6ms)
Rendered layouts/_refer.html.erb (4.8ms)
Completed 200 OK in 42ms (Views: 22.3ms | ActiveRecord: 1.1ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:21: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.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:21:43 +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 9ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-26 11:21:44 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"+IGTQi9JrfP2usxZ0SoB3d/f9sh22pLvLMfzbNh2zP0kBu67OAUgo5T83pJrV1rmPOU8HHpBkhpNaifuAeu5EQ==", "post_type"=>"1", "title"=>"图片测试", "content"=>"测试", "pictures"=>[#<ActionDispatch::Http::UploadedFile:0x007f8391f3b3f0 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161226-62980-g64163.png>, @original_filename="select2.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"select2.png\"\r\nContent-Type: image/png\r\n">]}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:21:53 +0800
Processing by ChatController#notify as JSON
User Load (0.4ms) 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 10ms (Views: 0.5ms | ActiveRecord: 0.8ms)
 

(0.4ms) begin transaction
SQL (1.5ms) INSERT INTO "micro_posts" ("content", "post_time", "post_type", "created_at", "updated_at", "user_id", "engage_people", "title") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["content", "测试"], ["post_time", 2016-12-26 03:21:57 UTC], ["post_type", 1], ["created_at", 2016-12-26 03:21:58 UTC], ["updated_at", 2016-12-26 03:21:58 UTC], ["user_id", 1], ["engage_people", 0], ["title", "图片测试"]]
(6.8ms) commit transaction
Redirected to http://localhost:3000/microposts
Completed 302 Found in 18506ms (ActiveRecord: 9.0ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 11:22:02 +0800
Processing by MicroPostsController#show as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.3ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.6ms) 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 (1.2ms)
Rendered micro_posts/show.html.erb within layouts/application (8.3ms)
Rendered layouts/_title.html.erb (0.8ms)
Rendered layouts/_refer.html.erb (2.2ms)
Completed 200 OK in 51ms (Views: 30.8ms | ActiveRecord: 1.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:22:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.4ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 10ms (Views: 0.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:22:13 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.5ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:22:23 +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 9ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:22:33 +0800
Processing by ChatController#notify as JSON
User Load (0.4ms) 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 11ms (Views: 0.4ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:22:43 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 10ms (Views: 0.4ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:22:53 +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 55ms (Views: 0.5ms | ActiveRecord: 2.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:23:03 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 10ms (Views: 0.5ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:23:13 +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 9ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:23:23 +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 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:23:33 +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 9ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:23:43 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:23: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:24:03 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:24:13 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.4ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:24:23 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:24:33 +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 9ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:24:43 +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 47ms (Views: 0.5ms | ActiveRecord: 1.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:24: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:25:03 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:25:13 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:25:23 +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 55ms (Views: 0.5ms | ActiveRecord: 2.1ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:25:33 +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 8ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:25:43 +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 8ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:25: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:26:03 +0800
Processing by ChatController#notify as JSON
User Load (0.5ms) 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 54ms (Views: 0.6ms | ActiveRecord: 2.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:26:13 +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 9ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:26:23 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 10ms (Views: 0.5ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:26:43 +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 9ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11: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.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 53ms (Views: 0.5ms | ActiveRecord: 2.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:27:03 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 10ms (Views: 0.7ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:27:13 +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 9ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:27:23 +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 8ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:27:33 +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 50ms (Views: 0.5ms | ActiveRecord: 2.1ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:27:43 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:27: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.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:28:03 +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 9ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:28:13 +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 9ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:28:23 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 79ms (Views: 0.9ms | ActiveRecord: 2.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:28:33 +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 9ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:28:43 +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 9ms (Views: 0.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:28: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.5ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:29:03 +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 10ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:29:13 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:29:23 +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 10ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:29:33 +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 10ms (Views: 0.8ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:29:43 +0800
Processing by ChatController#notify as JSON
User Load (0.4ms) 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 11ms (Views: 0.5ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:29: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.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:30:03 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 10ms (Views: 0.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:30: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 10ms (Views: 0.6ms | ActiveRecord: 0.5ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 11:30:13 +0800
Processing by MicroPostsController#show as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.3ms) 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 (1.1ms)
Rendered micro_posts/show.html.erb within layouts/application (6.5ms)
Rendered layouts/_title.html.erb (1.3ms)
Rendered layouts/_refer.html.erb (1.1ms)
Completed 200 OK in 80ms (Views: 24.1ms | ActiveRecord: 1.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:30: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.6ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:30:24 +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 15ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:30:34 +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 8ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started POST "/newpost" for 127.0.0.1 at 2016-12-26 11:30:37 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"+cKM3WA2crxqFikMYBYwiobUek4MVGuSpIgNzCC52tolRfEkd3r/7AhQO8faa2uxZe6wmgDPa2fFJdlO+SSvNg==", "post_type"=>"1", "title"=>"图片测试", "content"=>"测试", "pictures"=>[#<ActionDispatch::Http::UploadedFile:0x007f8393707128 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161226-62980-1r3r3si.jpg>, @original_filename="nature3.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"nature3.jpg\"\r\nContent-Type: image/jpeg\r\n">, #<ActionDispatch::Http::UploadedFile:0x007f83937070b0 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161226-62980-1i9orgk.jpg>, @original_filename="nature2.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"nature2.jpg\"\r\nContent-Type: image/jpeg\r\n">, #<ActionDispatch::Http::UploadedFile:0x007f8393707088 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161226-62980-1pa9gs.jpg>, @original_filename="nature1.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"nature1.jpg\"\r\nContent-Type: image/jpeg\r\n">]}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) begin transaction
SQL (1.2ms) INSERT INTO "micro_posts" ("content", "pic", "post_time", "post_type", "created_at", "updated_at", "user_id", "engage_people", "title") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["content", "测试"], ["pic", "0feb2b9e089920216b1449b3047f6075.jpg,2a9afaa4881aca5454e774a083637b93.jpg,9f82464e784810e1499466d963dc6525.jpg"], ["post_time", 2016-12-26 03:30:42 UTC], ["post_type", 1], ["created_at", 2016-12-26 03:30:42 UTC], ["updated_at", 2016-12-26 03:30:42 UTC], ["user_id", 1], ["engage_people", 0], ["title", "图片测试"]]
(1.1ms) commit transaction
Redirected to http://localhost:3000/microposts
Completed 302 Found in 5516ms (ActiveRecord: 2.8ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 11:30:42 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.3ms) 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 (1.3ms)
Rendered micro_posts/show.html.erb within layouts/application (7.1ms)
Rendered layouts/_title.html.erb (0.7ms)
Rendered layouts/_refer.html.erb (0.7ms)
Completed 200 OK in 40ms (Views: 20.8ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:30: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:30: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:31:03 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:31:13 +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 9ms (Views: 0.6ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:31:23 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 9ms (Views: 0.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:31:33 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 10ms (Views: 0.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:31:43 +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 10ms (Views: 0.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:31: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:32:03 +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 9ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:32:13 +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 10ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:32:23 +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 9ms (Views: 0.6ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:32:33 +0800
Processing by ChatController#notify as JSON
User Load (0.4ms) 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 9ms (Views: 0.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:32:43 +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 10ms (Views: 0.7ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:32: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:33:03 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:33:13 +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 9ms (Views: 0.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:33:23 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:33:33 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:33:43 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:33: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:34:03 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.4ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:34:13 +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 10ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:34:23 +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 8ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:34:33 +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 8ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:34: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:34: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:35:03 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:35:13 +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 11ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:35:23 +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 8ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:35:33 +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 8ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:35:43 +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 9ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:35: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:36:03 +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 10ms (Views: 0.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:36:13 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:36:23 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:36:33 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:36:43 +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 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:36: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 58ms (Views: 0.7ms | ActiveRecord: 2.1ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:37:03 +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 10ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:37:13 +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 8ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:37:23 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 10ms (Views: 0.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:37:33 +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 8ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:37:43 +0800
Processing by ChatController#notify as JSON
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.6ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 14ms (Views: 0.6ms | ActiveRecord: 1.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:37: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:38:03 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:38:13 +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 49ms (Views: 0.5ms | ActiveRecord: 2.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:38:23 +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 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:38:33 +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 9ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:38:43 +0800
Processing by ChatController#notify as JSON
User Load (0.4ms) 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 13ms (Views: 0.7ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:38: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.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 16ms (Views: 0.5ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:39:03 +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 9ms (Views: 0.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:39:13 +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 8ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:39:23 +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 9ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:39:33 +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 52ms (Views: 0.5ms | ActiveRecord: 2.0ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:39:43 +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 10ms (Views: 0.8ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:39:53 +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 11ms (Views: 1.0ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:40:03 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 68ms (Views: 0.7ms | ActiveRecord: 2.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:40: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 15ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

MicroPost Load (2.2ms) SELECT "micro_posts".* FROM "micro_posts"
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:40:23 +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 9ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts"
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts"
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:40:33 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts"
Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:40:43 +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 9ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:40: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.4ms)
 

Started GET "/" for 127.0.0.1 at 2016-12-26 11:40:56 +0800
Processing by LoginController#init as HTML
User Load (0.3ms) 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-26 11:40:56 +0800
Processing by MainController#show as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.3ms) SELECT "micro_posts".* FROM "micro_posts" ORDER BY "micro_posts"."post_time" DESC LIMIT ? OFFSET ? [["LIMIT", 20], ["OFFSET", 0]]
CACHE (0.1ms) 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]]
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.1ms) 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.2ms) 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.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) 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.7ms)
Rendered main/main.html.erb within layouts/application (25.2ms)
Completed 500 Internal Server Error in 107ms (ActiveRecord: 2.3ms)
 

 
ActionView::Template::Error (undefined method `each' for nil:NilClass):
24: </div>
25: <div class="padded">
26: <p class="content"><%= micro_post["content"] %></p>
27: <% micro_post["pics"].each do |pic| %>
28: <img width="350" class="social-content-media" src="<%= "data/" + pic %>"/>
29: <% end %>
30: </div>
 
app/views/main/main.html.erb:27:in `block in _app_views_main_main_html_erb___1515991829231447674_70101523633380'
app/views/main/main.html.erb:9:in `each'
app/views/main/main.html.erb:9:in `_app_views_main_main_html_erb___1515991829231447674_70101523633380'
app/controllers/main_controller.rb:10:in `show'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (35.4ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (8.9ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (116.0ms)
Started GET "/main" for 127.0.0.1 at 2016-12-26 11:43:08 +0800
Processing by MainController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.4ms) 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]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) 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]]
CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
User Load (0.3ms) 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.8ms)
Rendered main/main.html.erb within layouts/application (5.8ms)
Rendered layouts/_title.html.erb (0.5ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 66ms (Views: 18.6ms | ActiveRecord: 1.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:43: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:43:19 +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 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:43:29 +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 8ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:43:39 +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 10ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:43: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:43:59 +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 10ms (Views: 0.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:44:09 +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 8ms (Views: 0.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:44:19 +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 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:44:29 +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 10ms (Views: 0.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:44: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.5ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:44:42 +0800
Processing by MainController#show as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.3ms) 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.1ms) 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.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) 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]]
User Load (0.2ms) 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.7ms)
Rendered main/main.html.erb within layouts/application (5.0ms)
Rendered layouts/_title.html.erb (0.6ms)
Rendered layouts/_refer.html.erb (0.7ms)
Completed 200 OK in 73ms (Views: 18.0ms | ActiveRecord: 1.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:44: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:45:43 +0800
ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
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 56ms (Views: 0.3ms | ActiveRecord: 1.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:45:45 +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]]
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]]
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.4ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.8ms)
Completed 200 OK in 49ms (Views: 21.8ms | ActiveRecord: 1.1ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:45:45 +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 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:45:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:46:05 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:46:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:46:25 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 7ms (Views: 0.2ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:46:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:46:45 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:46:55 +0800
Processing by ChatController#notify as JSON
User Load (0.7ms) 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 6ms (Views: 0.2ms | ActiveRecord: 0.8ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:46:58 +0800
Processing by MainController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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]]
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]]
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.5ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 25ms (Views: 10.9ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:46: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 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:47: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-26 11:47:29 +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.2ms | ActiveRecord: 0.5ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:47:38 +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]]
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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.7ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 30ms (Views: 10.3ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:47:38 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:47: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-26 11: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:48:00 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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]]
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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.4ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 20ms (Views: 9.8ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:48:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:48:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:48:14 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) 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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.8ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 21ms (Views: 10.3ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:48:14 +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-26 11:48: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:48: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-26 11:48: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.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:48: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.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-26 11:49: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:49: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-26 11:49: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:49: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:49:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 11:49: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:50: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.4ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:50: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-26 11:50:26 +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-26 11:50:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:50:45 +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-26 11:50:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:51:05 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:51:15 +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-26 11:51:27 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:51:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:51:45 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:51:56 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:52:06 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:52:16 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:52:25 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:52:34 +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]]
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]]
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.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 26ms (Views: 11.2ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:52: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 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:52:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 11:52: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:53:05 +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-26 11:53:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/" for 127.0.0.1 at 2016-12-26 11:53:35 +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-26 11:53:35 +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]]
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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.6ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 19ms (Views: 9.7ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:53:36 +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-26 11:53:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:53:56 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:54:02 +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.3ms) 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]]
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]]
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.3ms)
Rendered main/main.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 21ms (Views: 10.0ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:54: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 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:54:12 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:54:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:54:32 +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 "/main" for 127.0.0.1 at 2016-12-26 11:54:34 +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]]
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]]
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 (3.9ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 20ms (Views: 11.3ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:54:35 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:54:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.3ms) SELECT COUNT(*) 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-26 11:54:56 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:55:05 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:55:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:55:25 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.4ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:55:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:55:35 +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]]
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]]
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 (2.9ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 20ms (Views: 10.2ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:55:36 +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 "/comments?micropost_id=3" for 127.0.0.1 at 2016-12-26 11:55:43 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"3"}
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 3]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 3]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:55: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/chat" for 127.0.0.1 at 2016-12-26 11:55:54 +0800
Processing by ChatController#index as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", true]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.2ms) SELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ? [["send_user", 1]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
Message Load (0.1ms) SELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Rendering chat/index.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered chat/index.html.erb within layouts/application (2.4ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 22ms (Views: 9.8ms | ActiveRecord: 0.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:55: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 11:56:00 +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]]
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]]
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 (2.7ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 20ms (Views: 10.0ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:56:01 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 11:56: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 (3.3ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 17ms (Views: 10.9ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:56:11 +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 4ms (Views: 0.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:56:21 +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-26 11:56:31 +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-26 11:56: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-26 11:56:51 +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-26 11:57: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:57:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 11:57:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:57: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.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-26 11:57:41 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 11:57:51 +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.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:58: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:58:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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 "/microposts" for 127.0.0.1 at 2016-12-26 11:58:12 +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.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.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.5ms)
Completed 200 OK in 16ms (Views: 10.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:58:13 +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 "/main" for 127.0.0.1 at 2016-12-26 11:58:14 +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]]
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]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
CACHE (0.1ms) 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 (2.5ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 22ms (Views: 9.9ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:58:15 +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.3ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 11:58:17 +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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (5.9ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 20ms (Views: 14.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:58:17 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:58:27 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:58:37 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:58:47 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:58: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.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:59: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.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 11:59: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.3ms)
Rendered micro_posts/show.html.erb within layouts/application (2.6ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 14ms (Views: 9.8ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:59:11 +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.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 11:59:21 +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-26 11:59:31 +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-26 11:59:41 +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-26 11:59:51 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 12:00: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:00:11 +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 20ms (Views: 0.3ms | ActiveRecord: 1.2ms)
 

MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts"
Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:00:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:00:31 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:00:41 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:00:51 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:01: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:01:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:01:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:01:31 +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-26 12:01: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-26 12:01:51 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 12:02: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:02:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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-26 12:02:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:02:31 +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-26 12:02:41 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:02:51 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:03: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:03:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:03:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:03: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.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:03: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 4ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:03:51 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "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-26 12:03:57 +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]]
Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.8ms)
 

 
NoMethodError (undefined method `trim' for "测试":String):
 
app/helpers/micro_posts_helper.rb:13:in `block in read_each_post'
app/helpers/micro_posts_helper.rb:10:in `read_each_post'
app/controllers/micro_posts_controller.rb:8:in `show'
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (3.4ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
Rendering /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
Rendered /Users/zhangyu/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (65.4ms)
Started GET "/microposts" for 127.0.0.1 at 2016-12-26 12:04:11 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.3ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 39ms (Views: 10.8ms | ActiveRecord: 1.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:04:12 +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.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:04:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:04:32 +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-26 12:04:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 12:04:47 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.6ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 9.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:04:48 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:04: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-26 12:05: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 12:05:09 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 (3.5ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 11.7ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:05: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 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:05:20 +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-26 12:05: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:05: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-26 12:05: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-26 12:06:00 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:06:10 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:06: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-26 12:06: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-26 12:06: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-26 12:06: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-26 12:07:00 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:07: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-26 12:07: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-26 12:07: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 12:07:33 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 11.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:07:33 +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-26 12:07: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-26 12:07: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:08:04 +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-26 12:08: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 12:08:16 +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.6ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:08: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.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 "/microposts" for 127.0.0.1 at 2016-12-26 12:08:27 +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.3ms)
Rendered micro_posts/show.html.erb within layouts/application (2.6ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 9.8ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:08: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:08: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 12:08:42 +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.7ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:08:43 +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-26 12:08:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "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-26 12:08:57 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.7ms)
Rendered micro_posts/show.html.erb within layouts/application (3.5ms)
Rendered layouts/_title.html.erb (0.6ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 16ms (Views: 11.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:08: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:09: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.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:09: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 "/microposts" for 127.0.0.1 at 2016-12-26 12:09:20 +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.7ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 20ms (Views: 9.9ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:09:20 +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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:09: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-26 12:09:40 +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 "/microposts" for 127.0.0.1 at 2016-12-26 12:09:42 +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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.6ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 9.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:09:43 +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-26 12:09:53 +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-26 12:10:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:10: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:10: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:10: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-26 12:10: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:10:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:11:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:11: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:11: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:11: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-26 12:11: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:11:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:12: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-26 12:12:13 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:12: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:12: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-26 12:12: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:12:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 12:13:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:13:13 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:13: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:13: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-26 12:13: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.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-26 12:13:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:14:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:14:13 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:14: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:14: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-26 12:14: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 7ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:14:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:15:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:15:13 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:15: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-26 12:15: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:15: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:15:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:16:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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-26 12:16:13 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:16: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-26 12:16: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-26 12:16: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:16:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:17:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:17: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:17: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:17: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-26 12:17: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:17:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:18:03 +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-26 12:18:13 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:18: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-26 12:18: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-26 12:18: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:18:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:19:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:19:13 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:19: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:19: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-26 12:19: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-26 12:19:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:20:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:20: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:20: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:20: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-26 12:20: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:20:53 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:21:04 +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-26 12:21:14 +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 6ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:21: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-26 12:21: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-26 12:21:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:21: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:22: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-26 12:22:14 +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-26 12:22: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-26 12:22: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-26 12:22:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:22: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:23: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-26 12:23: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-26 12:23: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-26 12:23: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-26 12:23:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:23: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:24: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-26 12:24: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-26 12:24: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-26 12:24: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-26 12:24:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:24: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:25: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-26 12:25: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-26 12:25: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-26 12:25: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-26 12:25:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:25: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:26: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-26 12:26: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-26 12:26: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-26 12:26: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-26 12:26:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:26: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:27: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-26 12:27: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-26 12:27: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-26 12:27: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-26 12:27:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:27: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:28: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-26 12:28: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-26 12:28: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:28: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-26 12:28:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:28: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:29: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-26 12:29: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.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:29: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-26 12:29: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-26 12:29:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:29: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:30: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-26 12:30: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-26 12:30: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-26 12:30: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-26 12:30:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:30: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.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-26 12:31: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-26 12:31:14 +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-26 12:31: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:31: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-26 12:31:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 12:31: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:32: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-26 12:32: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-26 12:32: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-26 12:32: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-26 12:32:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:32: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:33: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-26 12:33: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:33: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-26 12:33: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-26 12:33:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:33: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:34: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-26 12:34: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 6ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:34: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-26 12:34: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-26 12:34:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:34: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:35: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-26 12:35: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-26 12:35: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-26 12:35: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:35:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:35: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.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:36: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-26 12:36: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-26 12:36: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-26 12:36: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-26 12:36:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 12:36: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:37: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-26 12:37: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:37: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:37: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-26 12:37:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:37: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:38: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-26 12:38: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-26 12:38: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:38: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-26 12:38:44 +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-26 12:38: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:39: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-26 12:39: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-26 12:39: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:39: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-26 12:39:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:39: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:40: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-26 12:40: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-26 12:40: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-26 12:40: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-26 12:40:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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-26 12:40: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:41: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-26 12:41: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-26 12:41: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-26 12:41: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-26 12:41:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:41: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-26 12:42: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-26 12:42: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-26 12:42: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-26 12:42: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-26 12:42:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:42: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:43: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-26 12:43: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-26 12:43:24 +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-26 12:43: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-26 12:43:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:43: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12: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-26 12: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-26 12: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.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-26 12: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-26 12:44:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12: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-26 12: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-26 12:45: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-26 12:45:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:45: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:46: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-26 12:46: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:46: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-26 12:46: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-26 12:46:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:46: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:47: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-26 12:47: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:47: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:47: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:47:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:47: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:48: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-26 12:48: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-26 12:48: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:48: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-26 12:48:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:48: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:49: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.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-26 12:49: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.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-26 12:49: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:49: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-26 12:49:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 12:49: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:50: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-26 12:50:13 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:50: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:50: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-26 12:50: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:50:53 +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-26 12:51:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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-26 12:51: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:51: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:51:33 +0800
Processing by ChatController#notify as JSON
User Load (0.5ms) 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.1ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:51:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:51:54 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:52: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-26 12:52: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:52: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:52: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.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:52:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:52: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:53: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-26 12:53: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-26 12:53: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.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-26 12:53: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 6ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:53:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:53: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.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-26 12:54: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-26 12:54: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-26 12:54: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-26 12:54: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-26 12:54: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.3ms) SELECT COUNT(*) 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-26 12:54: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-26 12:55: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-26 12:55: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-26 12:55: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-26 12:55: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.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:55:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:55: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-26 12:56: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-26 12:56: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-26 12:56: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-26 12:56: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-26 12:56:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:56: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:57: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-26 12:57: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-26 12:57: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-26 12:57: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-26 12:57:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:57: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.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:58: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-26 12:58:14 +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-26 12:58:24 +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-26 12:58: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-26 12:58:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:58: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:59: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-26 12:59: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:59:24 +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-26 12:59: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-26 12:59: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.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 12:59: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:00: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-26 13:00: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-26 13:00:24 +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-26 13:00: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-26 13:00:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:00: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:01: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-26 13:01: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:01: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-26 13:01: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-26 13:01: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-26 13:01: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:02:04 +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-26 13:02:14 +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-26 13:02: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-26 13:02: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-26 13:02:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 13:02: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.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-26 13:03: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-26 13:03: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-26 13:03: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-26 13:03: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-26 13:03:44 +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-26 13:03: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:04:04 +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-26 13:04: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-26 13:04: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-26 13:04: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-26 13:04:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:04: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:05: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-26 13:05: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-26 13:05: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-26 13:05: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-26 13:05:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:05:54 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:06: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-26 13:06: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-26 13:06: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 6ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:06: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-26 13:06:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:06: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:07: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-26 13:07:14 +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-26 13:07: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-26 13:07: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-26 13:07:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:07: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:08: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-26 13:08: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 4ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:08: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-26 13:08: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-26 13:08:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:08: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:09: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.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:09: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 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:09: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.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-26 13:09: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-26 13:09:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 13:09: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:10: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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:10: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-26 13:10: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-26 13:10: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-26 13:10: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.1ms) SELECT COUNT(*) 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-26 13:10: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:11: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-26 13:11: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-26 13:11: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-26 13:11: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-26 13:11: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-26 13:11: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.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-26 13:12: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.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:12: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-26 13:12: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-26 13:12: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-26 13:12:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:12: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 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:13: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-26 13:13:14 +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 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:13: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:13: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-26 13:13:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:13: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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:14:03 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 13:14:13 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:14: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:14:28 +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.9ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 18ms (Views: 13.0ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:14:28 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:14: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-26 13:14: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-26 13:14: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:14:59 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 10.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:14: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 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:15:09 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:15:17 +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.8ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 17ms (Views: 12.4ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:15:18 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:15: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-26 13:15: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-26 13:15: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:15:53 +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 (3.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 10.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:15: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-26 13:16: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-26 13:16: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-26 13:16: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-26 13:16: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:16:44 +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 7ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:16: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:17: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-26 13:17: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:17:20 +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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (4.4ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 11.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:17:21 +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-26 13:17: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:17: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:17:51 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:18: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.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-26 13:18:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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-26 13:18:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:18: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-26 13:18:41 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:18:46 +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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 18ms (Views: 11.4ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:18: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:18: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13: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-26 13: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:19:26 +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.7ms)
Rendered micro_posts/show.html.erb within layouts/application (4.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 11.1ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:19:26 +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 4ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:19:36 +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-26 13:19:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:19:56 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:20:06 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:20:16 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:20:26 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:20:36 +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 "/microposts" for 127.0.0.1 at 2016-12-26 13:20:37 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.7ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 16ms (Views: 10.3ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:20: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 6ms (Views: 4.0ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:20: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:20:49 +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.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.7ms)
Rendered micro_posts/show.html.erb within layouts/application (3.4ms)
Rendered layouts/_title.html.erb (0.5ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 16ms (Views: 11.9ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:20:49 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:20: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.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-26 13:21: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-26 13:21:19 +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-26 13:21: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-26 13:21:39 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:21: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-26 13:21: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.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-26 13:22: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.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-26 13:22: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-26 13:22:29 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:22: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-26 13:22: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-26 13:22:59 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) 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 9ms (Views: 0.3ms | ActiveRecord: 0.6ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:23:04 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.4ms) 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.7ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 9.5ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:23:05 +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.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:23:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:23:25 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:23:27 +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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 16ms (Views: 11.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:23:28 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:23: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-26 13: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:23:58 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13: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-26 13:24: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:24:28 +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 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:24:33 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.3ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (4.5ms)
Rendered layouts/_title.html.erb (0.5ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 22ms (Views: 15.7ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:24: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:24:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 13:24: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:24: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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (2.9ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:24: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.2ms) 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 "/microposts" for 127.0.0.1 at 2016-12-26 13:25:07 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.2ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 16ms (Views: 11.8ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:25: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-26 13:25: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-26 13: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:25:31 +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.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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 17ms (Views: 12.1ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:25:32 +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-26 13:25:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:25:52 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:25:59 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 18ms (Views: 12.8ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:26: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:26: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:26:14 +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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (3.3ms)
Rendered layouts/_title.html.erb (0.9ms)
Rendered layouts/_refer.html.erb (0.7ms)
Completed 200 OK in 20ms (Views: 14.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:26:14 +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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:26: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.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-26 13:26: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:26:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:26: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:27: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-26 13:27: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:27:22 +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.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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (5.2ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 25ms (Views: 14.4ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:27:23 +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-26 13:27: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.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-26 13:27: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:27:44 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.3ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 17ms (Views: 10.5ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:27:45 +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 4ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:27:55 +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-26 13:28:05 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:28:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:28:25 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:28:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:28:45 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:28:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:29:05 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:29:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:29:26 +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-26 13:29:36 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:29:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:29:56 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:30:01 +0800
Processing by MicroPostsController#show as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.4ms)
Rendered layouts/_title.html.erb (0.7ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 20ms (Views: 14.7ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:30:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 13:30:12 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:30:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:30:32 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:30:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:30:52 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:31: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:31:12 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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-26 13:31:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:31:32 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:31:42 +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-26 13:31:52 +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-26 13:32:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:32:13 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:32:17 +0800
Processing by MicroPostsController#show as HTML
User Load (0.3ms) 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.6ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 20ms (Views: 14.3ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:32:18 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:32: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-26 13:32: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-26 13:32: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-26 13:32: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-26 13:33: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-26 13:33: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-26 13:33: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-26 13:33: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-26 13:33: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-26 13:33: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-26 13:34: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-26 13:34: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-26 13:34: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-26 13:34: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 "/" for 127.0.0.1 at 2016-12-26 13:35:03 +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 1ms (ActiveRecord: 0.2ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 13:35:03 +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]]
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]]
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 (2.9ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 23ms (Views: 11.7ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:35:04 +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 "/microposts" for 127.0.0.1 at 2016-12-26 13:35:05 +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.8ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:35:05 +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-26 13:35:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:35:25 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:35:34 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.3ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (5.5ms) 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 (3.3ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 23ms (Views: 10.9ms | ActiveRecord: 5.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:35: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:35:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:35: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.1ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:36:01 +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.9ms)
Rendered micro_posts/show.html.erb within layouts/application (4.4ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 21ms (Views: 15.4ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:36:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:36:11 +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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 9.9ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:36:11 +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-26 13:36:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:36:31 +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-26 13:36:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 13:36:52 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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-26 13:37:02 +0800
Processing by ChatController#notify as JSON
User Load (0.7ms) 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 7ms (Views: 0.3ms | ActiveRecord: 0.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:37:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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-26 13:37:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.6ms) 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.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:37: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:37:36 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.4ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.7ms)
Rendered micro_posts/show.html.erb within layouts/application (3.8ms)
Rendered layouts/_title.html.erb (0.7ms)
Rendered layouts/_refer.html.erb (0.8ms)
Completed 200 OK in 20ms (Views: 12.5ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:37:36 +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-26 13:37:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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-26 13:37:56 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:38:06 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.5ms) 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.6ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:38:11 +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.4ms) 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 (1.0ms)
Rendered micro_posts/show.html.erb within layouts/application (5.5ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 20ms (Views: 14.6ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:38:12 +0800
Processing by ChatController#notify as JSON
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:38:22 +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 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:38:27 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 23ms (Views: 16.6ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:38:28 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:38: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:38:41 +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.4ms)
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.3ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:38:41 +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-26 13:38:51 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "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-26 13:39:01 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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 (1.1ms)
Rendered micro_posts/show.html.erb within layouts/application (5.1ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 18ms (Views: 12.0ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:39:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:39:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 13:39:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:39:26 +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.7ms)
Rendered layouts/_title.html.erb (0.7ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 17ms (Views: 12.1ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:39:26 +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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:39:36 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:39:39 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.9ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.8ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:39:39 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:39:49 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:39:57 +0800
Processing by MicroPostsController#show as HTML
User Load (0.3ms) 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.5ms)
Rendered micro_posts/show.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 17ms (Views: 10.8ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:39: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13: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.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13: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.3ms) 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 "/notify" for 127.0.0.1 at 2016-12-26 13:40: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-26 13:40: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.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:40: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-26 13:41: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-26 13: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.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 "/microposts" for 127.0.0.1 at 2016-12-26 13:41:19 +0800
Processing by MicroPostsController#show as HTML
User Load (0.3ms) 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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (3.2ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.5ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:41:20 +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-26 13: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13: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-26 13: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-26 13:42: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:42:09 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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.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-26 13:42:10 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:42:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:42:28 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.6ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:42:28 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:42: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-26 13:42: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-26 13:42: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-26 13:43: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-26 13:43: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-26 13:43: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.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-26 13: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.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:43:48 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:43: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-26 13:44:08 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:44:11 +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 (3.6ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:44:11 +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-26 13:44:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:44: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.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-26 13:44: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-26 13:44:51 +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 3ms (Views: 0.3ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:45: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:45:11 +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-26 13:45:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:45:31 +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 "/microposts" for 127.0.0.1 at 2016-12-26 13:45:41 +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.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 10.9ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:45:42 +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: 3.9ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:45:52 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:46:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:46:03 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.7ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.0ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:46:04 +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-26 13:46: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:46:14 +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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (4.0ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 18ms (Views: 13.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:46:14 +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-26 13:46: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-26 13:46: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.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-26 13:46:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 13:46: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:47: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-26 13:47: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.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-26 13:47: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:47:28 +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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (3.2ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 17ms (Views: 12.0ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13: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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:47:36 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.3ms) 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 (4.0ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 11.4ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:47: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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13: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.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 13:47:47 +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]]
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]]
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.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 20ms (Views: 11.2ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:47:48 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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-26 13: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:48:06 +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.7ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 15ms (Views: 10.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13: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-26 13:48: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-26 13: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 7ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:48:34 +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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 9.9ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:48:35 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:48:45 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:48:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:48:59 +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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (3.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 11.3ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:49:00 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:49: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:49:16 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.8ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 9.9ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:49: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-26 13: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:49:29 +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.4ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 16ms (Views: 11.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:49: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 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:49: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-26 13:49: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:50: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 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:50:10 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:50: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:50:26 +0800
Processing by MicroPostsController#show as HTML
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.2ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:50: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-26 13:50: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:50:39 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 9.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:50: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-26 13:50: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-26 13:50: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.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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:50: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 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/" for 127.0.0.1 at 2016-12-26 13:51:15 +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-26 13:51:15 +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]]
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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.4ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 19ms (Views: 11.1ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:51:15 +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 "/microposts" for 127.0.0.1 at 2016-12-26 13:51:16 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.2ms)
Rendered layouts/_title.html.erb (0.5ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 11.5ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:51: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 "/main" for 127.0.0.1 at 2016-12-26 13:51:18 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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.3ms) 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]]
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]]
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 (2.5ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 22ms (Views: 10.5ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:51:19 +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 "/microposts" for 127.0.0.1 at 2016-12-26 13:51:21 +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.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 (3.1ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:51:21 +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-26 13:51: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:51:41 +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-26 13:51:51 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:52: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:52:11 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 13:52:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:52: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-26 13:52: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-26 13:52:51 +0800
Processing by ChatController#notify as JSON
User Load (0.4ms) 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.2ms | ActiveRecord: 0.6ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:52:56 +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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.7ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.4ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:52: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:53:07 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:53:15 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.9ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 14ms (Views: 9.7ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:53:16 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:53:26 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:53:28 +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.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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (4.7ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 18ms (Views: 12.1ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:53: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 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:53: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-26 13:53:47 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.1ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:53: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-26 13:53:57 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:54:07 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:54:17 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:54: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-26 13:54: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-26 13:54: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-26 13:54: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-26 13:55: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.4ms) 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.5ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:55:10 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.2ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 9.8ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:55:11 +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-26 13:55:21 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:55: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.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-26 13:55: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:55:41 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 16ms (Views: 10.7ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:55:42 +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-26 13:55:52 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) 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 "/microposts" for 127.0.0.1 at 2016-12-26 13:55: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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (3.7ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 18ms (Views: 13.8ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:55: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:56:07 +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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (4.3ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 17ms (Views: 12.7ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:56: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:56: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 "/microposts" for 127.0.0.1 at 2016-12-26 13:56:23 +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.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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.4ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.1ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:56:24 +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-26 13:56: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 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:56:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 13:56: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.3ms) SELECT COUNT(*) 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 "/microposts" for 127.0.0.1 at 2016-12-26 13:56:59 +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 (3.6ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 11.0ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:57:00 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:57: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-26 13:57:20 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:57:21 +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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (3.4ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 15ms (Views: 10.3ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:57:21 +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-26 13:57: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-26 13:57:41 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:57:51 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "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-26 13:57:56 +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.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 15ms (Views: 10.0ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:57: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:58: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.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 13:58:08 +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.5ms)
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: 10.9ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:58:09 +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-26 13:58: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 6ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:58: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-26 13:58: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-26 13:58:49 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:58:59 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:59: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-26 13:59: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-26 13:59: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-26 13:59: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-26 13:59: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 13:59:59 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:00:09 +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-26 14:00: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-26 14:00: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-26 14:00:39 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:00: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.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-26 14:00: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-26 14:01:09 +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-26 14:01: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-26 14:01: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-26 14:01: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-26 14:01:49 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:01:59 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:02:09 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 14:02:19 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:02:29 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:02:39 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:02:49 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:02:59 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:03:09 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:03:19 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:03:29 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "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-26 14:03:34 +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 (1.1ms)
Rendered micro_posts/show.html.erb within layouts/application (3.7ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 16ms (Views: 10.8ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:03:35 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:03:45 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:03:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(3.6ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 3.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:04:05 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:04:15 +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-26 14:04:25 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:04:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:04:45 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:04:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:05:05 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:05:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:05:25 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:05:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:05:45 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:05:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:06:05 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 14:06:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 14:06:15 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.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.5ms)
Rendered micro_posts/show.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 15ms (Views: 10.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:06:15 +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-26 14:06:25 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:06:35 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:06:45 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:06:55 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 14:07:05 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:07:15 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:07:25 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 14:07:26 +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.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 15ms (Views: 10.0ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:07:26 +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-26 14:07:36 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 14:07:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:07:56 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:08:06 +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.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:08:16 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:08:26 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 14:08:27 +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 (6.4ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 18ms (Views: 13.1ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:08:28 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 14:08: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-26 14:08:48 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 14:08:54 +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.8ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 15ms (Views: 10.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:08:55 +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 "/" for 127.0.0.1 at 2016-12-26 14:09:15 +0800
Processing by LoginController#init as HTML
User Load (0.3ms) 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.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 14:09:15 +0800
Processing by MainController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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]]
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]]
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.0ms) 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 (3.4ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 23ms (Views: 14.7ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:09:16 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 14:09:25 +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.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.3ms)
Rendered micro_posts/show.html.erb within layouts/application (2.8ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.5ms)
Completed 200 OK in 17ms (Views: 11.8ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:09:26 +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-26 14:09:36 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:09:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 14:09:51 +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]]
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]]
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 (2.5ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 20ms (Views: 9.3ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:09:52 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:10:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:10:12 +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-26 14:10:22 +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-26 14:10:32 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:10:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:10:52 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 14:10:55 +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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 16ms (Views: 11.5ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:10:56 +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-26 14:11:06 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:11:16 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:11:26 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:11:36 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 14:11:46 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:11:56 +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 "/microposts" for 127.0.0.1 at 2016-12-26 14:12:01 +0800
Processing by MicroPostsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.1ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 15ms (Views: 10.1ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:12: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.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 "/" for 127.0.0.1 at 2016-12-26 14:12:19 +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 1ms (ActiveRecord: 0.2ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 14:12:19 +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]]
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]]
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.0ms) 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.3ms)
Rendered main/main.html.erb within layouts/application (2.5ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 17ms (Views: 9.0ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:12:20 +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-26 14:12:30 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 14:12:35 +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.3ms) 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.6ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.6ms)
Completed 200 OK in 16ms (Views: 10.3ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:12:35 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:12:45 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:12:55 +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.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:13:05 +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 "/microposts" for 127.0.0.1 at 2016-12-26 14:13:08 +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.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.4ms)
Rendered micro_posts/show.html.erb within layouts/application (2.9ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 21ms (Views: 15.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:13:09 +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 4ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 14:13:12 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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]]
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]]
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.6ms)
Rendered main/main.html.erb within layouts/application (3.9ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 22ms (Views: 10.9ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:13:12 +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-26 14:13:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.3ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:13:32 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:13:42 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:13:52 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 14:14:02 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:14:12 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:14:22 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 14:14:26 +0800
Processing by MainController#show as HTML
User Load (0.3ms) 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.3ms) 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]]
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]]
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.6ms)
Rendered main/main.html.erb within layouts/application (4.0ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 23ms (Views: 11.9ms | ActiveRecord: 0.9ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:14:26 +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-26 14:14:36 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 14:14:38 +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.4ms) 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 (4.1ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.7ms)
Completed 200 OK in 21ms (Views: 14.5ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:14:39 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:14: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.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:14: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.5ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 14:15:04 +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.6ms)
Rendered micro_posts/show.html.erb within layouts/application (4.2ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 19ms (Views: 12.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:15:04 +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-26 14:15: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.2ms) 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-26 14:15: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-26 14:15:34 +0800
Processing by ChatController#notify as JSON
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:15:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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-26 14:15: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-26 14:16: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 "/microposts" for 127.0.0.1 at 2016-12-26 14:16: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 (3.3ms)
Rendered layouts/_title.html.erb (0.4ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 16ms (Views: 12.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:16:11 +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-26 14:16:21 +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-26 14:16: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.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-26 14:16:41 +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 POST "/newpost" for 127.0.0.1 at 2016-12-26 14:16:43 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"ra1x2S6CAdjUgLStWRNlwRmNIdHAZ6QEsjUjhFhYO7pxKgwgOc6MiLbGpmbjbj76+rfrBcz8pPHTmPcGgcVOVg==", "post_type"=>"3", "title"=>"", "content"=>"", "pictures"=>[#<ActionDispatch::Http::UploadedFile:0x007fe34e2ea3b8 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161226-63113-a4dna1.jpg>, @original_filename="nature1.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"nature1.jpg\"\r\nContent-Type: image/jpeg\r\n">]}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Redirected to http://localhost:3000/microposts
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 14:16:43 +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.6ms)
Rendered micro_posts/show.html.erb within layouts/application (3.5ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 17ms (Views: 11.6ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:16: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 "/main" for 127.0.0.1 at 2016-12-26 14:16:48 +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]]
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]]
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.0ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 23ms (Views: 11.7ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:16:49 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.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 "/microposts" for 127.0.0.1 at 2016-12-26 14:16:51 +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.6ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 13ms (Views: 9.1ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:16:52 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:17: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.3ms) SELECT COUNT(*) 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-26 14:17:12 +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 POST "/newpost" for 127.0.0.1 at 2016-12-26 14:17:18 +0800
Processing by MicroPostsController#new as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"v77ppW6KRZ/Lxplwv/vKYkN5MNS/uim9KLSREFqQijNjOZRcecbIz6mAi7sFhpFZoEP6ALMhKUhJGUWSgw3/3w==", "post_type"=>"1", "title"=>"Nature新闻", "content"=>"Nature今日发布新的文章", "pictures"=>[#<ActionDispatch::Http::UploadedFile:0x007fe34c23a780 @tempfile=#<Tempfile:/var/folders/t_/tntnmlx53rz_zdgrh_81lmt00000gn/T/RackMultipart20161226-63113-1apb97b.jpg>, @original_filename="nature1.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"pictures[]\"; filename=\"nature1.jpg\"\r\nContent-Type: image/jpeg\r\n">]}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.0ms) begin transaction
SQL (0.5ms) INSERT INTO "micro_posts" ("content", "pic", "post_time", "post_type", "created_at", "updated_at", "user_id", "engage_people", "title") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["content", "Nature今日发布新的文章"], ["pic", "9f82464e784810e1499466d963dc6525.jpg"], ["post_time", 2016-12-26 06:17:18 UTC], ["post_type", 1], ["created_at", 2016-12-26 06:17:18 UTC], ["updated_at", 2016-12-26 06:17:18 UTC], ["user_id", 1], ["engage_people", 0], ["title", "Nature新闻"]]
(1.5ms) commit transaction
Redirected to http://localhost:3000/microposts
Completed 302 Found in 8ms (ActiveRecord: 2.2ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 14:17:18 +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.9ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 14ms (Views: 9.9ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:17:19 +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 "/main" for 127.0.0.1 at 2016-12-26 14:17:23 +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.3ms) 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]]
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]]
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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.3ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 26ms (Views: 9.2ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:17:24 +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-26 14:17: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.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 "/comments?micropost_id=12" for 127.0.0.1 at 2016-12-26 14:17:34 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"12"}
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 12]]
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.5ms)
 

Started POST "/newcomment" for 127.0.0.1 at 2016-12-26 14:17:39 +0800
Processing by CommentsController#new as JSON
Parameters: {"micropost_id"=>"12", "content"=>"真不错!", "authenticity_token"=>"h8j+yzuB+hVGStK0X+vlKQKQckWrlRV/QBmt7OURAxS8/Xdqfn3jnVTnbZtR1DthpeO7qEs/lxRxjCc5MM3Wrw=="}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]]
SQL (0.2ms) INSERT INTO "comments" ("content", "user_id", "micro_post_id", "comment_time", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "真不错!"], ["user_id", 1], ["micro_post_id", 12], ["comment_time", 2016-12-26 06:17:39 UTC], ["created_at", 2016-12-26 06:17:39 UTC], ["updated_at", 2016-12-26 06:17:39 UTC]]
(2.5ms) commit transaction
Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 3.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:17: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-26 14:17: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.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:18: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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:18:14 +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-26 14:18:24 +0800
Processing by ChatController#notify as JSON
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:18: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-26 14:18:44 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["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 "/main" for 127.0.0.1 at 2016-12-26 14:18:50 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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]]
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]]
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]]
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 (2.7ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 21ms (Views: 11.3ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:18:51 +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 "/comments?micropost_id=12" for 127.0.0.1 at 2016-12-26 14:18:53 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"12"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 12]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 12]]
User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:19:01 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/" for 127.0.0.1 at 2016-12-26 14:19:17 +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 1ms (ActiveRecord: 0.2ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 14:19:17 +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]]
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]]
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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (3.8ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 19ms (Views: 11.1ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:19:18 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/comments?micropost_id=12" for 127.0.0.1 at 2016-12-26 14:19:21 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"12"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 12]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 12]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:19:28 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:19:38 +0800
Processing by ChatController#notify as JSON
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 14:19:47 +0800
Processing by MainController#show as HTML
User Load (0.2ms) 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]]
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]]
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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.4ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 20ms (Views: 9.2ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:19: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.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 "/comments?micropost_id=12" for 127.0.0.1 at 2016-12-26 14:19:49 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"12"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 12]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 12]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 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 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/comments?micropost_id=11" for 127.0.0.1 at 2016-12-26 14:20:07 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"11"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 11]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:20: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-26 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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:20: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-26 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-26 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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 14:20:58 +0800
Processing by MainController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) 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]]
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]]
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]]
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.3ms)
Rendered main/main.html.erb within layouts/application (2.4ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 20ms (Views: 9.3ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:20: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.2ms | ActiveRecord: 0.2ms)
 

Started GET "/comments?micropost_id=12" for 127.0.0.1 at 2016-12-26 14:21:01 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"12"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 12]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 12]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
 

Started GET "/comments?micropost_id=10" for 127.0.0.1 at 2016-12-26 14:21:07 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"10"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 10]]
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:21: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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/microposts" for 127.0.0.1 at 2016-12-26 14:21:12 +0800
Processing by MicroPostsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ? [["user_id", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC [["user_id", 1]]
Rendering micro_posts/show.html.erb within layouts/application
Rendered layouts/_nav.html.erb (0.4ms)
Rendered micro_posts/show.html.erb within layouts/application (3.8ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:21:13 +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 "/main" for 127.0.0.1 at 2016-12-26 14:21:17 +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]]
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]]
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]]
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 (3.7ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 21ms (Views: 11.4ms | ActiveRecord: 0.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:21: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 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/comments?micropost_id=12" for 127.0.0.1 at 2016-12-26 14:21:19 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"12"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 12]]
Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 12]]
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 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.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 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.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 "/comments?micropost_id=9" for 127.0.0.1 at 2016-12-26 14:21:43 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"9"}
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 9]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/comments?micropost_id=8" for 127.0.0.1 at 2016-12-26 14:21:46 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"8"}
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 8]]
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 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.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 "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-26 14:21:48 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-26 06:21:48 UTC], ["id", 7]]
(2.1ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=7&join=false" for 127.0.0.1 at 2016-12-26 14:21:51 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"false"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 1], ["updated_at", 2016-12-26 06:21:51 UTC], ["id", 7]]
(2.3ms) commit transaction
Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 2.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:21: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.3ms) SELECT COUNT(*) 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-26 14:22: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.4ms)
 

Started GET "/main" for 127.0.0.1 at 2016-12-26 14:22:09 +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]]
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]]
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]]
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.6ms)
Rendered main/main.html.erb within layouts/application (4.7ms)
Rendered layouts/_title.html.erb (0.3ms)
Rendered layouts/_refer.html.erb (0.4ms)
Completed 200 OK in 23ms (Views: 12.8ms | ActiveRecord: 0.6ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:22: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 "/activity?micropost_id=7&join=true" for 127.0.0.1 at 2016-12-26 14:22:12 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"7", "join"=>"true"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.2ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-26 06:22:12 UTC], ["id", 7]]
(2.0ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=6&join=true" for 127.0.0.1 at 2016-12-26 14:22:17 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"6", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-26 06:22:17 UTC], ["id", 6]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-26 14:22:20 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-26 06:22:20 UTC], ["id", 2]]
(2.3ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.7ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:22:20 +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 "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-26 14:22:23 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-26 06:22:23 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-26 14:22:24 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-26 06:22:24 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-26 14:22:25 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-26 06:22:25 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-26 14:22:25 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.1ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-26 06:22:25 UTC], ["id", 2]]
(2.3ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.9ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-26 14:22:26 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.0ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-26 06:22:26 UTC], ["id", 2]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.5ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-26 14:22:26 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-26 06:22:26 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.6ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-26 14:22:27 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (5.1ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-26 06:22:27 UTC], ["id", 2]]
(2.2ms) commit transaction
Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 7.5ms)
 

Started GET "/activity?micropost_id=2&join=true" for 127.0.0.1 at 2016-12-26 14:22:27 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"true"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.3ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 3], ["updated_at", 2016-12-26 06:22:27 UTC], ["id", 2]]
(2.3ms) commit transaction
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)
 

Started GET "/activity?micropost_id=2&join=false" for 127.0.0.1 at 2016-12-26 14:22:27 +0800
Processing by MainController#activity as JSON
Parameters: {"micropost_id"=>"2", "join"=>"false"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
MicroPost Load (0.1ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
(0.0ms) begin transaction
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
SQL (0.2ms) UPDATE "micro_posts" SET "engage_people" = ?, "updated_at" = ? WHERE "micro_posts"."id" = ? [["engage_people", 2], ["updated_at", 2016-12-26 06:22:27 UTC], ["id", 2]]
(2.1ms) commit transaction
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 2.5ms)
 

Started GET "/comments?micropost_id=1" for 127.0.0.1 at 2016-12-26 14:22:29 +0800
Processing by CommentsController#get as JSON
Parameters: {"micropost_id"=>"1"}
MicroPost Load (0.3ms) SELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."micro_post_id" = ? [["micro_post_id", 1]]
Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ? ORDER BY "comments"."comment_time" DESC [["micro_post_id", 1]]
User Load (0.1ms) 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]]
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]]
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]]
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]]
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]]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 16ms (Views: 0.7ms | ActiveRecord: 0.8ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:22: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 "/microposts" for 127.0.0.1 at 2016-12-26 14:22:37 +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.6ms)
Rendered micro_posts/show.html.erb within layouts/application (3.6ms)
Rendered layouts/_title.html.erb (0.2ms)
Rendered layouts/_refer.html.erb (0.3ms)
Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 0.4ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:22:37 +0800
Processing by ChatController#notify as JSON
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
(0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:22: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.3ms | ActiveRecord: 0.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 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-26 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.1ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 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 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:23: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-26 14:23: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.2ms)
 

Started GET "/notify" for 127.0.0.1 at 2016-12-26 14:23: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-26 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.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)