<%= t '.comments' if @article.comments? %>
+ 12: <%= render @article.comments %> + 13:<%= t '.add_comment' %>:
+ 14: <% if policy(:comment).create? %> + +app/views/articles/show.html.erb:11 +app/controllers/application_controller.rb:16:in `switch_locale' +Started GET "/pt-BR/articles/211" for 127.0.0.1 at 2022-07-25 10:32:57 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + [1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ?[0m [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mComment Load (0.2ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ?[0m [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:32:in `show' + Rendering layout layouts/application.html.erb + Rendering articles/show.html.erb within layouts/application + [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 9.3ms | Allocations: 2658) + Rendered collection of templates [0 times] (Duration: 0.1ms | Allocations: 52) + Rendered comments/_form.html.erb (Duration: 17.6ms | Allocations: 3935) + Rendered articles/show.html.erb within layouts/application (Duration: 30.5ms | Allocations: 8065) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.9ms | Allocations: 287) + Rendered layouts/_account_links.html.erb (Duration: 1.0ms | Allocations: 424) + Rendered layouts/_topnavbar.html.erb (Duration: 4.8ms | Allocations: 1478) + Rendered layouts/_flash_messages.html.erb (Duration: 2.8ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 2.7ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 62.1ms | Allocations: 13813) +Completed 200 OK in 85ms (Views: 65.4ms | ActiveRecord: 1.6ms | Allocations: 18541) + + +Started GET "/pt-BR/articles/211" for 127.0.0.1 at 2022-07-25 10:33:17 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + [1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ?[0m [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mComment Load (0.2ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ?[0m [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:32:in `show' + Rendering layout layouts/application.html.erb + Rendering articles/show.html.erb within layouts/application + [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 9.6ms | Allocations: 2656) + Rendered collection of templates [0 times] (Duration: 0.1ms | Allocations: 52) + Rendered comments/_form.html.erb (Duration: 10.7ms | Allocations: 3921) + Rendered articles/show.html.erb within layouts/application (Duration: 25.7ms | Allocations: 8086) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.9ms | Allocations: 287) + Rendered layouts/_account_links.html.erb (Duration: 2.1ms | Allocations: 424) + Rendered layouts/_topnavbar.html.erb (Duration: 6.6ms | Allocations: 1476) + Rendered layouts/_flash_messages.html.erb (Duration: 1.6ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 1.2ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 50.9ms | Allocations: 13816) +Completed 200 OK in 67ms (Views: 53.0ms | ActiveRecord: 1.0ms | Allocations: 18385) + + +Started GET "/pt-BR/articles/211" for 127.0.0.1 at 2022-07-25 10:33:31 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + [1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ?[0m [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mComment Load (0.1ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ?[0m [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:32:in `show' + Rendering layout layouts/application.html.erb + Rendering articles/show.html.erb within layouts/application + [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 9.4ms | Allocations: 2656) + Rendered articles/show.html.erb within layouts/application (Duration: 13.2ms | Allocations: 4847) + Rendered layout layouts/application.html.erb (Duration: 13.5ms | Allocations: 4925) +Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.9ms | Allocations: 9452) + + + +ActionView::Template::Error (compared with non class/module): + 8: data: { confirm: 'Are your sure?' }, + 9: class: 'btn btn-danger' if policy(@article).destroy? %> + 10: <%= link_to 'Back', root_path, class: 'btn btn-secondary' %> + 11:<%= t '.comments' if @article.comments > 0 %>
+ 12: <%= render @article.comments %> + 13:<%= t '.add_comment' %>:
+ 14: <% if policy(:comment).create? %> + +app/views/articles/show.html.erb:11 +app/controllers/application_controller.rb:16:in `switch_locale' +Started GET "/pt-BR/articles/211" for 127.0.0.1 at 2022-07-25 10:38:11 -0300 +DEPRECATION WARNING: 'include Pundit' is deprecated. Please use 'include Pundit::Authorization' instead. + (called from include at /home/mateus/projetos/ruby/projeto_mvc/app/controllers/application_controller.rb:2) +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ?[0m [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mComment Load (0.8ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ?[0m [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:32:in `show' + Rendering layout layouts/application.html.erb + Rendering articles/show.html.erb within layouts/application + [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 12], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 103.2ms | Allocations: 19228) + Rendered collection of templates [0 times] (Duration: 0.6ms | Allocations: 54) + Rendered comments/_form.html.erb (Duration: 55.8ms | Allocations: 7156) + Rendered articles/show.html.erb within layouts/application (Duration: 183.6ms | Allocations: 28131) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 2.0ms | Allocations: 908) + Rendered layouts/_account_links.html.erb (Duration: 3.1ms | Allocations: 491) + Rendered layouts/_topnavbar.html.erb (Duration: 8.4ms | Allocations: 2411) + Rendered layouts/_flash_messages.html.erb (Duration: 2.6ms | Allocations: 220) + Rendered layouts/_footer.html.erb (Duration: 0.5ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 227.3ms | Allocations: 34815) +Completed 200 OK in 299ms (Views: 224.8ms | ActiveRecord: 7.4ms | Allocations: 55963) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 10:38:13 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + [1m[36mArticle Load (0.4ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ?[0m [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?)[0m [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?)[0m [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' + [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) AS count_all, strftime('%Y-%m-01', "articles"."created_at") AS strftime_y_m_01_articles_created_at FROM "articles" WHERE ("articles"."created_at" IS NOT NULL) GROUP BY strftime('%Y-%m-01', "articles"."created_at")[0m + ↳ app/controllers/articles_controller.rb:27:in `index' + Rendering layout layouts/application.html.erb + Rendering articles/index.html.erb within layouts/application + Rendered articles/_longer_featured.html.erb (Duration: 4.4ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 483) + Rendered articles/_medium_featured.html.erb (Duration: 4.7ms | Allocations: 979) + Rendered articles/_article_detail.html.erb (Duration: 5.2ms | Allocations: 441) + Rendered articles/_medium_featured.html.erb (Duration: 7.2ms | Allocations: 730) + [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + [1m[36mArticle Load (0.4ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ?[0m [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + [1m[36mCategory Load (0.3ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?)[0m [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ?[0m [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 6.0ms | Allocations: 445) + Rendered articles/_article_detail.html.erb (Duration: 8.7ms | Allocations: 444) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 444) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 444) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 443) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 444) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 443) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 444) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 443) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 443) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 53.9ms | Allocations: 8360) + [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89))[0m + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 6.3ms | Allocations: 1347) + Rendered articles/_about.html.erb (Duration: 0.6ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 7.2ms | Allocations: 1176) + Rendered articles/_elsewhere.html.erb (Duration: 0.7ms | Allocations: 144) + Rendered articles/_right_side.html.erb (Duration: 12.2ms | Allocations: 2210) + [1m[36mCategory Load (1.7ms)[0m [1m[34mSELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC[0m + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 134.3ms | Allocations: 24290) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.3ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 0.6ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 4.7ms | Allocations: 686) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 153.4ms | Allocations: 28370) +Completed 200 OK in 188ms (Views: 152.8ms | ActiveRecord: 5.1ms | Allocations: 35763) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 10:38:13 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Rendering layout layouts/application.html.erb + Rendering categories/index.html.erb within layouts/application + [1m[36mCategory Load (0.3ms)[0m [1m[34mSELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC[0m + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 7.7ms | Allocations: 3505) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.5ms | Allocations: 149) + Rendered layouts/_account_links.html.erb (Duration: 2.0ms | Allocations: 231) + Rendered layouts/_topnavbar.html.erb (Duration: 6.6ms | Allocations: 706) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.7ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 30.1ms | Allocations: 7676) +Completed 200 OK in 40ms (Views: 32.6ms | ActiveRecord: 0.4ms | Allocations: 11360) + + +Started GET "/pt-BR/categories/new" for 127.0.0.1 at 2022-07-25 10:58:58 -0300 +DEPRECATION WARNING: 'include Pundit' is deprecated. Please use 'include Pundit::Authorization' instead. + (called from include at /home/mateus/projetos/ruby/projeto_mvc/app/controllers/application_controller.rb:2) +Processing by CategoriesController#new as HTML + Parameters: {"locale"=>"pt-BR"} + [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Rendering layout layouts/application.html.erb + Rendering categories/new.html.erb within layouts/application + Rendered categories/_form.html.erb (Duration: 19.8ms | Allocations: 4224) + Rendered categories/new.html.erb within layouts/application (Duration: 72.0ms | Allocations: 15421) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 3.0ms | Allocations: 761) + Rendered layouts/_account_links.html.erb (Duration: 0.8ms | Allocations: 300) + Rendered layouts/_topnavbar.html.erb (Duration: 5.5ms | Allocations: 1439) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 87.4ms | Allocations: 20240) +Completed 200 OK in 176ms (Views: 89.4ms | ActiveRecord: 1.2ms | Allocations: 34553) + + +Started POST "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 10:59:06 -0300 +Processing by CategoriesController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "category"=>{"name"=>"Teste"}, "commit"=>"Criar Categoria", "locale"=>"pt-BR"} + [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + [1m[36mTRANSACTION (0.3ms)[0m [1m[36mbegin transaction[0m + ↳ app/controllers/categories_controller.rb:25:in `block in create' + [1m[36mCategory Exists? (2.5ms)[0m [1m[34mSELECT 1 AS one FROM "categories" WHERE LOWER("categories"."name") = LOWER(?) LIMIT ?[0m [["name", "Teste"], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:25:in `block in create' + [1m[36mCategory Create (0.5ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Teste"], ["created_at", "2022-07-25 13:59:06.934113"], ["updated_at", "2022-07-25 13:59:06.934113"]] + ↳ app/controllers/categories_controller.rb:25:in `block in create' + [1m[36mTRANSACTION (66.0ms)[0m [1m[36mcommit transaction[0m + ↳ app/controllers/categories_controller.rb:25:in `block in create' +Redirected to http://localhost:3000/pt-BR/categories +Completed 302 Found in 137ms (ActiveRecord: 69.4ms | Allocations: 7961) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 10:59:07 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Rendering layout layouts/application.html.erb + Rendering categories/index.html.erb within layouts/application + [1m[36mCategory Load (2.6ms)[0m [1m[34mSELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC[0m + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 30.7ms | Allocations: 3235) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.8ms | Allocations: 132) + Rendered layouts/_account_links.html.erb (Duration: 2.8ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 7.0ms | Allocations: 665) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 1.5ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 64.6ms | Allocations: 7184) +Completed 200 OK in 90ms (Views: 64.6ms | ActiveRecord: 3.0ms | Allocations: 8875) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 10:59:09 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + [1m[36mArticle Load (0.4ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ?[0m [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + [1m[36mCategory Load (0.3ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?)[0m [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?)[0m [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' + [1m[35m (5.9ms)[0m [1m[34mSELECT COUNT(*) AS count_all, strftime('%Y-%m-01', "articles"."created_at") AS strftime_y_m_01_articles_created_at FROM "articles" WHERE ("articles"."created_at" IS NOT NULL) GROUP BY strftime('%Y-%m-01', "articles"."created_at")[0m + ↳ app/controllers/articles_controller.rb:27:in `index' + Rendering layout layouts/application.html.erb + Rendering articles/index.html.erb within layouts/application + Rendered articles/_longer_featured.html.erb (Duration: 3.2ms | Allocations: 370) + Rendered articles/_article_detail.html.erb (Duration: 4.1ms | Allocations: 516) + Rendered articles/_medium_featured.html.erb (Duration: 16.2ms | Allocations: 873) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 441) + Rendered articles/_medium_featured.html.erb (Duration: 8.0ms | Allocations: 730) + [1m[36mUser Load (12.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + [1m[36mArticle Load (1.9ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ?[0m [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + [1m[36mCategory Load (1.4ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?)[0m [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ?[0m [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 445) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 444) + Rendered articles/_article_detail.html.erb (Duration: 3.8ms | Allocations: 444) + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 444) + Rendered articles/_article_detail.html.erb (Duration: 3.6ms | Allocations: 443) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 444) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 443) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 444) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 443) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 443) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 94.3ms | Allocations: 8230) + [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89))[0m + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 9.0ms | Allocations: 1271) + Rendered articles/_about.html.erb (Duration: 0.9ms | Allocations: 68) + Rendered articles/_archives.html.erb (Duration: 7.0ms | Allocations: 1021) + Rendered articles/_elsewhere.html.erb (Duration: 1.1ms | Allocations: 54) + Rendered articles/_right_side.html.erb (Duration: 12.7ms | Allocations: 1354) + [1m[36mCategory Load (0.5ms)[0m [1m[34mSELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC[0m + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 270.2ms | Allocations: 22564) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.2ms | Allocations: 135) + Rendered layouts/_account_links.html.erb (Duration: 0.9ms | Allocations: 230) + Rendered layouts/_topnavbar.html.erb (Duration: 7.4ms | Allocations: 716) + Rendered layouts/_flash_messages.html.erb (Duration: 0.7ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.6ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 304.2ms | Allocations: 26710) +Completed 200 OK in 391ms (Views: 289.1ms | ActiveRecord: 25.0ms | Allocations: 39765) + + +Started GET "/pt-BR/articles/69" for 127.0.0.1 at 2022-07-25 10:59:12 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"69"} + [1m[36mArticle Load (1.3ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ?[0m [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mComment Load (1.0ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ?[0m [["article_id", 69]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ?[0m [["id", 3]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:32:in `show' + Rendering layout layouts/application.html.erb + Rendering articles/show.html.erb within layouts/application + [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 35.7ms | Allocations: 3245) + Rendered collection of comments/_comment.html.erb [2 times] (Duration: 32.6ms | Allocations: 1578) + Rendered comments/_form.html.erb (Duration: 24.5ms | Allocations: 3781) + Rendered articles/show.html.erb within layouts/application (Duration: 133.8ms | Allocations: 9640) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.2ms | Allocations: 144) + Rendered layouts/_account_links.html.erb (Duration: 1.8ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 9.7ms | Allocations: 690) + Rendered layouts/_flash_messages.html.erb (Duration: 0.3ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.4ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 179.8ms | Allocations: 13643) +Completed 200 OK in 295ms (Views: 183.3ms | ActiveRecord: 6.2ms | Allocations: 23818) + + +Started GET "/pt-BR/articles/69" for 127.0.0.1 at 2022-07-25 10:59:12 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"69"} + [1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ?[0m [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mComment Load (0.1ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ?[0m [["article_id", 69]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ?[0m [["id", 3]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:32:in `show' + Rendering layout layouts/application.html.erb + Rendering articles/show.html.erb within layouts/application + [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + [1m[36mCategory Load (0.7ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 31.2ms | Allocations: 2428) + Rendered collection of comments/_comment.html.erb [2 times] (Duration: 7.5ms | Allocations: 1008) + Rendered comments/_form.html.erb (Duration: 10.6ms | Allocations: 3548) + Rendered articles/show.html.erb within layouts/application (Duration: 57.9ms | Allocations: 7757) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.2ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 0.7ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 1.8ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 75.5ms | Allocations: 11588) +Completed 200 OK in 110ms (Views: 75.5ms | ActiveRecord: 1.9ms | Allocations: 16562) + + +Started POST "/pt-BR/articles/69/comments" for 127.0.0.1 at 2022-07-25 10:59:17 -0300 +Processing by CommentsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "comment"=>{"body"=>"hjhjh"}, "commit"=>"Criar Comentário", "locale"=>"pt-BR", "article_id"=>"69"} + [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + [1m[36mArticle Load (0.5ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ?[0m [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:25:in `set_article' + [1m[36mTRANSACTION (0.4ms)[0m [1m[36mbegin transaction[0m + ↳ app/controllers/comments_controller.rb:6:in `create' + [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:6:in `create' + [1m[36mComment Create (10.7ms)[0m [1m[32mINSERT INTO "comments" ("body", "article_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", "hjhjh"], ["article_id", 69], ["user_id", 3], ["created_at", "2022-07-25 13:59:17.879765"], ["updated_at", "2022-07-25 13:59:17.879765"]] + ↳ app/controllers/comments_controller.rb:6:in `create' + [1m[36mTRANSACTION (105.6ms)[0m [1m[36mcommit transaction[0m + ↳ app/controllers/comments_controller.rb:6:in `create' +Redirected to http://localhost:3000/pt-BR/articles/69 +Completed 302 Found in 254ms (ActiveRecord: 118.6ms | Allocations: 9669) + + +Started GET "/pt-BR/articles/69" for 127.0.0.1 at 2022-07-25 10:59:18 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"69"} + [1m[36mArticle Load (5.5ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ?[0m [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mComment Load (0.2ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ?[0m [["article_id", 69]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ?[0m [["id", 3]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:32:in `show' + Rendering layout layouts/application.html.erb + Rendering articles/show.html.erb within layouts/application + [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 22.1ms | Allocations: 2452) + Rendered collection of comments/_comment.html.erb [3 times] (Duration: 11.8ms | Allocations: 1431) + Rendered comments/_form.html.erb (Duration: 21.3ms | Allocations: 3652) + Rendered articles/show.html.erb within layouts/application (Duration: 65.1ms | Allocations: 8382) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.4ms | Allocations: 144) + Rendered layouts/_account_links.html.erb (Duration: 2.2ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 6.2ms | Allocations: 690) + Rendered layouts/_flash_messages.html.erb (Duration: 0.9ms | Allocations: 62) + Rendered layouts/_footer.html.erb (Duration: 1.5ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 111.5ms | Allocations: 12357) +Completed 200 OK in 164ms (Views: 114.7ms | ActiveRecord: 7.5ms | Allocations: 17653) + + +Started DELETE "/pt-BR/articles/69/comments/8" for 127.0.0.1 at 2022-07-25 10:59:22 -0300 +Processing by CommentsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "locale"=>"pt-BR", "article_id"=>"69", "id"=>"8"} + [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + [1m[36mArticle Load (14.7ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ?[0m [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:25:in `set_article' + [1m[36mComment Load (1.9ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? AND "comments"."id" = ? LIMIT ?[0m [["article_id", 69], ["id", 8], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:11:in `destroy' + [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/policies/comment_policy.rb:7:in `destroy?' + [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m + ↳ app/controllers/comments_controller.rb:14:in `destroy' + [1m[36mComment Destroy (20.5ms)[0m [1m[31mDELETE FROM "comments" WHERE "comments"."id" = ?[0m [["id", 8]] + ↳ app/controllers/comments_controller.rb:14:in `destroy' + [1m[36mTRANSACTION (69.1ms)[0m [1m[36mcommit transaction[0m + ↳ app/controllers/comments_controller.rb:14:in `destroy' +Redirected to http://localhost:3000/pt-BR/articles/69 +Completed 302 Found in 319ms (ActiveRecord: 107.8ms | Allocations: 8603) + + +Started GET "/pt-BR/articles/69" for 127.0.0.1 at 2022-07-25 10:59:22 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"69"} + [1m[36mArticle Load (0.5ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ?[0m [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mComment Load (0.7ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ?[0m [["article_id", 69]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ?[0m [["id", 3]] + ↳ app/controllers/articles_controller.rb:31:in `show' + [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:32:in `show' + Rendering layout layouts/application.html.erb + Rendering articles/show.html.erb within layouts/application + [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + [1m[36mCategory Load (8.4ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 21.0ms | Allocations: 2415) + Rendered collection of comments/_comment.html.erb [2 times] (Duration: 16.9ms | Allocations: 1006) + Rendered comments/_form.html.erb (Duration: 48.7ms | Allocations: 3547) + Rendered articles/show.html.erb within layouts/application (Duration: 110.7ms | Allocations: 7729) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.5ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 1.2ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 10.6ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 1.9ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 156.2ms | Allocations: 11578) +Completed 200 OK in 224ms (Views: 148.3ms | ActiveRecord: 10.1ms | Allocations: 16304) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 10:59:26 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Rendering layout layouts/application.html.erb + Rendering categories/index.html.erb within layouts/application + [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC[0m + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 3101) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.6ms | Allocations: 132) + Rendered layouts/_account_links.html.erb (Duration: 1.3ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 14.6ms | Allocations: 665) + Rendered layouts/_flash_messages.html.erb (Duration: 1.4ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 4.5ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 78.1ms | Allocations: 7032) +Completed 200 OK in 118ms (Views: 83.8ms | ActiveRecord: 0.4ms | Allocations: 8632) + + +Started DELETE "/pt-BR/categories/13" for 127.0.0.1 at 2022-07-25 10:59:32 -0300 +Processing by CategoriesController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "locale"=>"pt-BR", "id"=>"13"} + [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 13], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:64:in `set_category' + [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m + ↳ app/controllers/categories_controller.rb:50:in `destroy' + [1m[36mArticle Exists? (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "articles" WHERE "articles"."category_id" = ? LIMIT ?[0m [["category_id", 13], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:50:in `destroy' + [1m[36mCategory Destroy (25.7ms)[0m [1m[31mDELETE FROM "categories" WHERE "categories"."id" = ?[0m [["id", 13]] + ↳ app/controllers/categories_controller.rb:50:in `destroy' + [1m[36mTRANSACTION (67.2ms)[0m [1m[36mcommit transaction[0m + ↳ app/controllers/categories_controller.rb:50:in `destroy' +Redirected to http://localhost:3000/pt-BR/categories +Completed 302 Found in 264ms (ActiveRecord: 94.4ms | Allocations: 8627) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 10:59:33 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Rendering layout layouts/application.html.erb + Rendering categories/index.html.erb within layouts/application + [1m[36mCategory Load (0.3ms)[0m [1m[34mSELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC[0m + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 23.2ms | Allocations: 2849) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.1ms | Allocations: 132) + Rendered layouts/_account_links.html.erb (Duration: 2.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 16.4ms | Allocations: 665) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 83.5ms | Allocations: 6799) +Completed 200 OK in 98ms (Views: 87.3ms | ActiveRecord: 0.5ms | Allocations: 8393) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:00:52 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + [1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ?[0m [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?)[0m [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?)[0m [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' + [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) AS count_all, strftime('%Y-%m-01', "articles"."created_at") AS strftime_y_m_01_articles_created_at FROM "articles" WHERE ("articles"."created_at" IS NOT NULL) GROUP BY strftime('%Y-%m-01', "articles"."created_at")[0m + ↳ app/controllers/articles_controller.rb:27:in `index' + Rendering layout layouts/application.html.erb + Rendering articles/index.html.erb within layouts/application + Rendered articles/_longer_featured.html.erb (Duration: 3.0ms | Allocations: 386) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 492) + Rendered articles/_medium_featured.html.erb (Duration: 8.4ms | Allocations: 1098) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 1.2ms | Allocations: 600) + [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + [1m[36mArticle Load (0.5ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ?[0m [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + [1m[36mCategory Load (1.5ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?)[0m [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ?[0m [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 5.3ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 6.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 4.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 59.3ms | Allocations: 7061) + [1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89))[0m + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 22.9ms | Allocations: 1332) + Rendered articles/_about.html.erb (Duration: 0.5ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 2.1ms | Allocations: 1166) + Rendered articles/_elsewhere.html.erb (Duration: 0.4ms | Allocations: 144) + Rendered articles/_right_side.html.erb (Duration: 7.2ms | Allocations: 2200) + [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC[0m + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 170.5ms | Allocations: 23136) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.7ms | Allocations: 267) + Rendered layouts/_account_links.html.erb (Duration: 1.3ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 4.2ms | Allocations: 1475) + Rendered layouts/_flash_messages.html.erb (Duration: 1.7ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 1.0ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 192.3ms | Allocations: 29014) +Completed 200 OK in 233ms (Views: 197.1ms | ActiveRecord: 5.4ms | Allocations: 37005) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:19:01 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m + ↳ app/models/category.rb:6:in `block in`rs%JhpL
z53cnEhxS>D4YXImr;-}KFx3;X|Mj4{zD`JVOqTDxt*G@zVP!Fr9BVoB1K<#17l%7j
zlg{LYv0Akr?vO!Y-4Kk2j4?_%q13Pp8a0D5&c!;TX<=xbQAU16jVd+tlsY JAM!h2R0
zV<%7D>y{&s+NBBcDBt%MXlx_d_y$kvLUiCSEMW&YV`Vru>L-LKJY^kp1|#1J
z;Xfn9Sv`4%zmL{wq@+@+{}{0=5HwPV)4?X=Z$cZ`P5iw$fPS3CIedrjaY2Y2-MwjR
ziMgZj2hM-QPh`AA`!jwO;%_!G|8GJh`v2f&rRMst(Q)05-Nw?HMv+xAIV
V1fn&VKqLdhUB