From 714965ae1ed79fe5d8c5005eb48d13fefc5ecc81 Mon Sep 17 00:00:00 2001 From: Mateus Paz <54851249+mateusflorez@users.noreply.github.com> Date: Mon, 25 Jul 2022 12:08:41 -0300 Subject: [PATCH] Internationalization --- Gemfile | 2 + Gemfile.lock | 27 + app/controllers/application_controller.rb | 20 +- app/controllers/articles_controller.rb | 8 +- app/controllers/categories_controller.rb | 6 +- app/controllers/comments_controller.rb | 4 +- app/helpers/application_helper.rb | 8 +- app/policies/category_policy.rb | 6 +- app/views/articles/_about.html.erb | 4 +- app/views/articles/_archives.html.erb | 4 +- app/views/articles/_article.html.erb | 2 +- app/views/articles/_article_detail.html.erb | 4 +- app/views/articles/_elsewhere.html.erb | 2 +- app/views/articles/_form.html.erb | 4 +- app/views/articles/_longer_featured.html.erb | 2 +- app/views/articles/_medium_featured.html.erb | 2 +- app/views/articles/_pagination.html.erb | 4 +- app/views/articles/edit.html.erb | 2 +- app/views/articles/index.html.erb | 4 +- app/views/articles/new.html.erb | 2 +- app/views/articles/show.html.erb | 14 +- app/views/categories/_form.html.erb | 2 +- app/views/categories/edit.html.erb | 4 +- app/views/categories/index.html.erb | 12 +- app/views/categories/new.html.erb | 4 +- app/views/categories/show.html.erb | 7 - app/views/categories/show.json.jbuilder | 1 - app/views/comments/_comment.html.erb | 6 +- app/views/devise/confirmations/new.html.erb | 4 +- .../mailer/confirmation_instructions.html.erb | 6 +- .../devise/mailer/email_changed.html.erb | 6 +- .../devise/mailer/password_change.html.erb | 4 +- .../reset_password_instructions.html.erb | 10 +- .../mailer/unlock_instructions.html.erb | 8 +- app/views/devise/passwords/edit.html.erb | 10 +- app/views/devise/passwords/new.html.erb | 4 +- app/views/devise/registrations/edit.html.erb | 16 +- app/views/devise/registrations/new.html.erb | 8 +- app/views/devise/sessions/new.html.erb | 4 +- app/views/devise/shared/_links.html.erb | 12 +- app/views/devise/unlocks/new.html.erb | 4 +- app/views/layouts/_account_links.html.erb | 8 +- app/views/layouts/_footer.html.erb | 4 +- app/views/layouts/_locale_links.html.erb | 5 + app/views/layouts/_topnavbar.html.erb | 6 +- config/initializers/i18n.rb | 3 + config/locales/defaults/en.yml | 5 + config/locales/defaults/pt-BR.yml | 223 + config/locales/devise.en.yml | 65 - config/locales/en.yml | 37 - config/locales/models/article/en.yml | 11 + config/locales/models/article/pt-BR.yml | 11 + config/locales/models/category/en.yml | 10 + config/locales/models/category/pt-BR.yml | 10 + config/locales/models/comment/en.yml | 9 + config/locales/models/comment/pt-BR.yml | 9 + config/locales/views/articles/en.yml | 25 + config/locales/views/articles/pt-BR.yml | 25 + config/locales/views/categories/en.yml | 4 + config/locales/views/categories/pt-BR.yml | 4 + config/locales/views/comments/en.yml | 4 + config/locales/views/comments/pt-BR.yml | 4 + config/locales/views/defaults/en.yml | 33 + config/locales/views/defaults/pt-BR.yml | 33 + config/locales/views/pundit/en.yml | 9 + config/locales/views/pundit/pt-BR.yml | 9 + .../simple_form}/simple_form.en.yml | 0 .../views/simple_form/simple_form.pt-BR.yml | 31 + config/routes.rb | 14 +- db/development.sqlite3 | Bin 286720 -> 286720 bytes log/development.log | 6831 +++++++++++++++++ ...LyfAUv5nUL2To0_J8_kM39TgrYSwyvMyB7Vs.cache | Bin 637 -> 631 bytes ...iGLAocm4KVeWzj5tKGWdomYfz7rWloxQlXRc.cache | Bin 923 -> 917 bytes ...9m0P656fHle8DWmmJffxhiciEo-B9Ta6NyG8.cache | Bin 708 -> 702 bytes ...29A_O0ThOyYafQI1wnaz8p1ukIjJ1tK2Ruks.cache | Bin 717 -> 711 bytes ...-OUXciRHv1tdgbeGzqMIV5rxi-t4U8SLI3ok.cache | Bin 579 -> 573 bytes ...m3fzhUDW0S5gPI1bLqO0vdxx9IWiKo7Ag_h4.cache | Bin 637 -> 631 bytes .../compile-cache-iseq/15/fe340cd5330f70 | Bin 1060 -> 1284 bytes .../compile-cache-iseq/16/92593631c1698c | Bin 1760 -> 1744 bytes .../compile-cache-iseq/26/aec035084c4584 | Bin 4536 -> 4688 bytes .../compile-cache-iseq/4a/7eba3dd5405d63 | Bin 3920 -> 3916 bytes .../compile-cache-iseq/52/9b801fc50b9dcc | Bin 1076 -> 1916 bytes .../compile-cache-iseq/56/a0d9c0f9a0e6ea | Bin 616 -> 620 bytes .../compile-cache-iseq/98/a3a1da211efac8 | Bin 1560 -> 1572 bytes .../compile-cache-iseq/be/38c658c5b0aa5e | Bin 1752 -> 1916 bytes .../compile-cache-iseq/c6/b374322865f4ca | Bin 1056 -> 1292 bytes .../compile-cache-iseq/e2/72c80bc2ebaa19 | Bin 1444 -> 1468 bytes tmp/cache/bootsnap/load-path-cache | Bin 285174 -> 285804 bytes 88 files changed, 7479 insertions(+), 226 deletions(-) delete mode 100644 app/views/categories/show.html.erb delete mode 100644 app/views/categories/show.json.jbuilder create mode 100644 app/views/layouts/_locale_links.html.erb create mode 100644 config/initializers/i18n.rb create mode 100644 config/locales/defaults/en.yml create mode 100644 config/locales/defaults/pt-BR.yml delete mode 100644 config/locales/devise.en.yml delete mode 100644 config/locales/en.yml create mode 100644 config/locales/models/article/en.yml create mode 100644 config/locales/models/article/pt-BR.yml create mode 100644 config/locales/models/category/en.yml create mode 100644 config/locales/models/category/pt-BR.yml create mode 100644 config/locales/models/comment/en.yml create mode 100644 config/locales/models/comment/pt-BR.yml create mode 100644 config/locales/views/articles/en.yml create mode 100644 config/locales/views/articles/pt-BR.yml create mode 100644 config/locales/views/categories/en.yml create mode 100644 config/locales/views/categories/pt-BR.yml create mode 100644 config/locales/views/comments/en.yml create mode 100644 config/locales/views/comments/pt-BR.yml create mode 100644 config/locales/views/defaults/en.yml create mode 100644 config/locales/views/defaults/pt-BR.yml create mode 100644 config/locales/views/pundit/en.yml create mode 100644 config/locales/views/pundit/pt-BR.yml rename config/locales/{ => views/simple_form}/simple_form.en.yml (100%) create mode 100644 config/locales/views/simple_form/simple_form.pt-BR.yml diff --git a/Gemfile b/Gemfile index 45d82c8d..8f43e163 100644 --- a/Gemfile +++ b/Gemfile @@ -48,3 +48,5 @@ gem "rolify", "~> 6.0" gem "groupdate", "~> 6.1" gem 'pg', '~> 1.4', '>= 1.4.1', group: :production + +gem "devise-i18n", "~> 1.10" diff --git a/Gemfile.lock b/Gemfile.lock index 3e1af5ce..64c69963 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -64,6 +64,7 @@ GEM public_suffix (>= 2.0.2, < 5.0) ast (2.4.2) bcrypt (3.1.18) + bcrypt (3.1.18-java) bindex (0.8.1) bootsnap (1.12.0) msgpack (~> 1.2) @@ -90,8 +91,13 @@ GEM railties (>= 4.1.0) responders warden (~> 1.2.3) + devise-i18n (1.10.2) + devise (>= 4.8.0) erubi (1.10.0) ffi (1.15.5) + ffi (1.15.5-java) + ffi (1.15.5-x64-mingw32) + ffi (1.15.5-x86-mingw32) globalid (1.0.0) activesupport (>= 5.0) groupdate (6.1.0) @@ -102,6 +108,7 @@ GEM actionview (>= 5.0.0) activesupport (>= 5.0.0) json (2.6.2) + json (2.6.2-java) kaminari (1.2.2) activesupport (>= 4.1.0) kaminari-actionview (= 1.2.2) @@ -134,22 +141,35 @@ GEM mini_portile2 (2.8.0) minitest (5.16.2) msgpack (1.5.3) + msgpack (1.5.3-java) nio4r (2.5.8) + nio4r (2.5.8-java) nokogiri (1.13.8) mini_portile2 (~> 2.8.0) racc (~> 1.4) + nokogiri (1.13.8-java) + racc (~> 1.4) + nokogiri (1.13.8-x64-mingw32) + racc (~> 1.4) + nokogiri (1.13.8-x86-mingw32) + racc (~> 1.4) orm_adapter (0.5.0) parallel (1.22.1) parser (3.1.2.0) ast (~> 2.4.1) pg (1.4.1) + pg (1.4.1-x64-mingw32) + pg (1.4.1-x86-mingw32) prettier_print (0.1.0) public_suffix (4.0.7) puma (5.6.4) nio4r (~> 2.0) + puma (5.6.4-java) + nio4r (~> 2.0) pundit (2.2.0) activesupport (>= 3.0.0) racc (1.6.0) + racc (1.6.0-java) rack (2.2.4) rack-mini-profiler (2.3.4) rack (>= 1.2.0) @@ -217,6 +237,8 @@ GEM sassc-rails (~> 2.1, >= 2.1.1) sassc (2.4.0) ffi (~> 1.9) + sassc (2.4.0-x64-mingw32) + ffi (~> 1.9) sassc-rails (2.1.2) railties (>= 4.0.0) sassc (>= 2.0) @@ -251,6 +273,8 @@ GEM turbolinks-source (5.2.0) tzinfo (2.0.5) concurrent-ruby (~> 1.0) + tzinfo-data (1.2022.1) + tzinfo (>= 1.0.0) unicode-display_width (2.2.0) uniform_notifier (1.16.0) warden (1.2.9) @@ -272,6 +296,8 @@ GEM websocket (1.2.9) websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) + websocket-driver (0.7.5-java) + websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) @@ -290,6 +316,7 @@ DEPENDENCIES byebug capybara (>= 3.26) devise (~> 4.8) + devise-i18n (~> 1.10) groupdate (~> 6.1) jbuilder (~> 2.7) kaminari (~> 1.2) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 0d75f0c8..62482d1d 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -3,10 +3,24 @@ class ApplicationController < ActionController::Base rescue_from Pundit::NotAuthorizedError, with: :user_not_authorized + around_action :switch_locale + private - def user_not_authorized - flash[:alert] = 'You are not authorized to perform this action.' - redirect_back(fallback_location: root_path) + def default_url_options + { locale: I18n.locale } + end + + def switch_locale(&action) + locale = params[:locale] || I18n.default_locale + I18n.with_locale(locale, &action) + end + + + def user_not_authorized(exception) + policy_name = exception.policy.class.to_s.underscore + + flash[:alert] = t "#{policy_name}.#{exception.query}", scope: "pundit", default: :default + redirect_to(request.referrer || root_path) end end diff --git a/app/controllers/articles_controller.rb b/app/controllers/articles_controller.rb index 64745252..032c4c7b 100644 --- a/app/controllers/articles_controller.rb +++ b/app/controllers/articles_controller.rb @@ -24,7 +24,7 @@ def index .desc_order .page(current_page) - @archives = Article.group_by_month(:created_at, format: '%B %Y').count + @archives = Article.group_by_month(:created_at, format: '%B %Y', locale: :en).count end def show @@ -40,7 +40,7 @@ def create @article = current_user.articles.new(article_params) if @article.save - redirect_to @article, notice: 'Article was successfully created.' + redirect_to @article, notice: t('.success') else render :new end @@ -50,7 +50,7 @@ def edit; end def update if @article.update(article_params) - redirect_to @article, notice: 'Article was successfully updated.' + redirect_to @article, notice: t('.success') else render :new end @@ -58,7 +58,7 @@ def update def destroy @article.destroy - redirect_to root_path, notice: 'Article was successfully deleted.' + redirect_to root_path, notice: t('.success') end private diff --git a/app/controllers/categories_controller.rb b/app/controllers/categories_controller.rb index 37a29cd2..d4cbd310 100644 --- a/app/controllers/categories_controller.rb +++ b/app/controllers/categories_controller.rb @@ -23,7 +23,7 @@ def create respond_to do |format| if @category.save - format.html { redirect_to categories_url, notice: 'Category was successfully created.' } + format.html { redirect_to categories_url, notice: t('app.create.success', model: Category.model_name.human)} format.json { render :show, status: :created, location: @category } else format.html { render :new, status: :unprocessable_entity } @@ -36,7 +36,7 @@ def create def update respond_to do |format| if @category.update(category_params) - format.html { redirect_to categories_url, notice: 'Category was successfully updated.' } + format.html { redirect_to categories_url, notice: t('app.update.success', model: Category.model_name.human) } format.json { render :show, status: :ok, location: @category } else format.html { render :edit, status: :unprocessable_entity } @@ -49,7 +49,7 @@ def update def destroy if @category.destroy respond_to do |format| - format.html { redirect_to categories_url, notice: 'Category was successfully deleted.' } + format.html { redirect_to categories_url, notice: t('app.destroy.success', model: Category.model_name.human) } format.json { head :no_content } end else diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index 7a6df506..bed11ff7 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -4,7 +4,7 @@ class CommentsController < ApplicationController def create @article.comments.create(comment_params.to_h.merge!({ user_id: current_user.id })) - redirect_to article_path(@article), notice: 'Comment was successfuly created.' + redirect_to article_path(@article), notice: t('app.create.success', model: Comment.model_name.human) end def destroy @@ -12,7 +12,7 @@ def destroy authorize comment comment.destroy - redirect_to article_path(@article), notice: 'Comment was successfuly deleted.' + redirect_to article_path(@article), notice: t('app.destroy.success', model: Comment.model_name.human) end private diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index b6de8fcc..2a78f191 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,6 +1,10 @@ module ApplicationHelper - def month_day_comma_year(datetime) - datetime.strftime('%B %e, %Y') + def month_day_comma_year(value) + l(value, format: '%B %e, %Y').capitalize + end + + def month_year(value) + l(value.to_datetime, format: '%B %Y').capitalize end def render_if(condition, template, record) diff --git a/app/policies/category_policy.rb b/app/policies/category_policy.rb index 5f867980..e2cbf047 100644 --- a/app/policies/category_policy.rb +++ b/app/policies/category_policy.rb @@ -14,14 +14,14 @@ def index? end def create? - user.admin? || user.has_role?(:moderator) + user&.admin? || user.has_role?(:moderator) end def update? - user.admin? || user.has_role?(:moderator) + user&.admin? || user.has_role?(:moderator) end def destroy? - user.admin? + user&.admin? end end diff --git a/app/views/articles/_about.html.erb b/app/views/articles/_about.html.erb index 14ef086c..ba557cb6 100644 --- a/app/views/articles/_about.html.erb +++ b/app/views/articles/_about.html.erb @@ -1,4 +1,4 @@
-

About

-

Hey there! My name is Mateus, im a programmer aiming to become a Ruby on Rails developer!

+

<%= t 'articles.about.title' %>

+

<%= t 'articles.about.description' %>

diff --git a/app/views/articles/_archives.html.erb b/app/views/articles/_archives.html.erb index 0a8e2a1e..ebc012de 100644 --- a/app/views/articles/_archives.html.erb +++ b/app/views/articles/_archives.html.erb @@ -1,9 +1,9 @@
-

Archives

+

<%= t 'articles.archives' %>

    <% @archives.each do |month_year, count| %>
  1. - <%= link_to "#{month_year} (#{count})", articles_path(month_year: month_year), + <%= link_to "#{month_year(month_year)} (#{count})", articles_path(month_year: month_year), class: "p-2 link-secondary #{'filter-active' if month_year == params[:month_year]}" %>
  2. <% end %> diff --git a/app/views/articles/_article.html.erb b/app/views/articles/_article.html.erb index 77679245..aee2936e 100644 --- a/app/views/articles/_article.html.erb +++ b/app/views/articles/_article.html.erb @@ -2,5 +2,5 @@

    <%= article.title %>

    <%= truncate(article.body, length: 150) %>

    -

    <%= link_to 'continue reading...', article, class: 'btn btn-link' %>

    +

    <%= link_to t('articles.continue_reading'), article, class: 'btn btn-link' %>

    diff --git a/app/views/articles/_article_detail.html.erb b/app/views/articles/_article_detail.html.erb index 6bc9b050..4cb2c1e8 100644 --- a/app/views/articles/_article_detail.html.erb +++ b/app/views/articles/_article_detail.html.erb @@ -1,3 +1,3 @@ -<%= month_day_comma_year(article.created_at) %> by -<%= sub_masked_email(article.user.email) %> in +<%= month_day_comma_year(article.created_at) %> <%= t 'app.word.by' %> +<%= sub_masked_email(article.user.email) %> <%= t 'app.word.in' %> <%= article.category.name %> diff --git a/app/views/articles/_elsewhere.html.erb b/app/views/articles/_elsewhere.html.erb index 94c1800a..b5893bf2 100644 --- a/app/views/articles/_elsewhere.html.erb +++ b/app/views/articles/_elsewhere.html.erb @@ -1,5 +1,5 @@
    -

    Elsewhere

    +

    <%= t 'articles.elsewhere' %>

    1. GitHub
    2. LinkedIn
    3. diff --git a/app/views/articles/_form.html.erb b/app/views/articles/_form.html.erb index a62eab85..90c0441f 100644 --- a/app/views/articles/_form.html.erb +++ b/app/views/articles/_form.html.erb @@ -2,10 +2,10 @@
      <%= f.input :title %> <%= f.input :body, input_html: { rows: 10 } %> - <%= f.association :category, collection: @categories, prompt: 'Choose a category' %> + <%= f.association :category, collection: @categories, prompt: t('articles.form.choose_category') %>
      <%= f.button :submit, class: 'btn btn-primary' %> - <%= link_to 'Back', root_path, class: 'btn btn-secondary' %> + <%= link_to t('app.button.back'), root_path, class: 'btn btn-secondary' %>
      <% end %> diff --git a/app/views/articles/_longer_featured.html.erb b/app/views/articles/_longer_featured.html.erb index 61a10cce..8be35010 100644 --- a/app/views/articles/_longer_featured.html.erb +++ b/app/views/articles/_longer_featured.html.erb @@ -3,7 +3,7 @@

      <%= article.title %>

      <%= truncate(article.body, length: 100) %>

      - <%= link_to 'Continue reading...', article, class: 'text-white fw-bold' %> + <%= link_to t('articles.continue_reading'), article, class: 'text-white fw-bold' %>

diff --git a/app/views/articles/_medium_featured.html.erb b/app/views/articles/_medium_featured.html.erb index 4b7e5ba3..5e6dac07 100644 --- a/app/views/articles/_medium_featured.html.erb +++ b/app/views/articles/_medium_featured.html.erb @@ -5,7 +5,7 @@

<%= article.title %>

<%= render 'article_detail', article: article %>

<%= truncate(article.body, length: 100) %>

- <%= link_to 'Continue reading...', article, class: 'stretched-link' %> + <%= link_to t('articles.continue_reading'), article, class: 'stretched-link' %>
PlaceholderThumbnail diff --git a/app/views/articles/_pagination.html.erb b/app/views/articles/_pagination.html.erb index c8b09d6b..87f0028d 100644 --- a/app/views/articles/_pagination.html.erb +++ b/app/views/articles/_pagination.html.erb @@ -1,4 +1,4 @@ diff --git a/app/views/articles/edit.html.erb b/app/views/articles/edit.html.erb index 89079aea..e2c45c7c 100644 --- a/app/views/articles/edit.html.erb +++ b/app/views/articles/edit.html.erb @@ -1,3 +1,3 @@ -

Edit article

+

<%= t('app.edit.title', model: Article.model_name.human ) %>

<%= render 'form', article: @article %> diff --git a/app/views/articles/index.html.erb b/app/views/articles/index.html.erb index 2192769f..bce53e08 100644 --- a/app/views/articles/index.html.erb +++ b/app/views/articles/index.html.erb @@ -6,9 +6,9 @@

- Newest posts + <%= t '.subtitle' %>

-

<%= link_to 'New article', new_article_path, +

<%= link_to t('.new_article'), new_article_path, {class: 'btn btn-success', 'data-bs-toggle':'tooltip', 'data-bs-placement':'top', diff --git a/app/views/articles/new.html.erb b/app/views/articles/new.html.erb index 459da2b9..3290817e 100644 --- a/app/views/articles/new.html.erb +++ b/app/views/articles/new.html.erb @@ -1,3 +1,3 @@ -

New article

+

<%= t '.title' %>

<%= render 'form', article: @article %> diff --git a/app/views/articles/show.html.erb b/app/views/articles/show.html.erb index 0b8f96bb..f43ad322 100644 --- a/app/views/articles/show.html.erb +++ b/app/views/articles/show.html.erb @@ -2,18 +2,18 @@

<%= @article.title %>

<%= @article.body %>

- <%= link_to 'Edit', edit_article_path(@article), class: 'btn btn-primary' if policy(@article).update? %> - <%= link_to 'Delete', article_path(@article), + <%= link_to t('app.button.edit'), edit_article_path(@article), class: 'btn btn-primary' if policy(@article).update? %> + <%= link_to t('app.button.destroy'), article_path(@article), method: :delete, - data: { confirm: 'Are your sure?' }, + data: { confirm: t('app.message.confirm_destroy') }, class: 'btn btn-danger' if policy(@article).destroy? %> - <%= link_to 'Back', root_path, class: 'btn btn-secondary' %> -

Comments

+ <%= link_to t('app.button.back'), root_path, class: 'btn btn-secondary' %> +

<%= t '.comments' %>

<%= render @article.comments %> -

Add a comment:

+

<%= t '.add_comment' %>:

<% if policy(:comment).create? %> <%= render 'comments/form' %> <% else %> - Please, login to create a comment + <%= t '.login_create_comment' %> <% end %> diff --git a/app/views/categories/_form.html.erb b/app/views/categories/_form.html.erb index 24f36d36..e9b2fdb1 100644 --- a/app/views/categories/_form.html.erb +++ b/app/views/categories/_form.html.erb @@ -6,6 +6,6 @@
<%= f.button :submit, class: 'btn btn-primary' %> - <%= link_to 'Back', categories_path, class: 'btn btn-secondary' %> + <%= link_to t('app.button.back'), categories_path, class: 'btn btn-secondary' %>
<% end %> diff --git a/app/views/categories/edit.html.erb b/app/views/categories/edit.html.erb index 2c764197..6d4005f5 100644 --- a/app/views/categories/edit.html.erb +++ b/app/views/categories/edit.html.erb @@ -1,3 +1,5 @@ -

Editing Category

+

<%= t('app.edit.title', model: Category.model_name.human) %>

<%= render 'form', category: @category %> + +<%= link_to t('app.button.back'), categories_path %> diff --git a/app/views/categories/index.html.erb b/app/views/categories/index.html.erb index 9c74a2a5..fa3635c4 100644 --- a/app/views/categories/index.html.erb +++ b/app/views/categories/index.html.erb @@ -1,12 +1,12 @@ -

Categories

+

<%= t Category.model_name.human(count: 2) %>

-

<%= link_to 'New Category', new_category_path, class: 'btn btn-success' if policy(:category).new? %>

+

<%= link_to t('categories.new.title', model: Category.model_name.human), new_category_path, class: 'btn btn-success' if policy(:category).new? %>

- - + + @@ -15,8 +15,8 @@ <% end %> diff --git a/app/views/categories/new.html.erb b/app/views/categories/new.html.erb index 75f59edf..c653218a 100644 --- a/app/views/categories/new.html.erb +++ b/app/views/categories/new.html.erb @@ -1,3 +1,5 @@ -

New Category

+

<%= t '.title' %>

<%= render 'form', category: @category %> + +<%= link_to t('app.button.back'), categories_path %> diff --git a/app/views/categories/show.html.erb b/app/views/categories/show.html.erb deleted file mode 100644 index 6342ac8a..00000000 --- a/app/views/categories/show.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -

- Name: - <%= @category.name %> -

- -<%= link_to 'Edit', edit_category_path(@category) %> | -<%= link_to 'Back', categories_path %> diff --git a/app/views/categories/show.json.jbuilder b/app/views/categories/show.json.jbuilder deleted file mode 100644 index 30e6b478..00000000 --- a/app/views/categories/show.json.jbuilder +++ /dev/null @@ -1 +0,0 @@ -json.partial! "categories/category", category: @category diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb index bd6bc058..45339a8d 100644 --- a/app/views/comments/_comment.html.erb +++ b/app/views/comments/_comment.html.erb @@ -1,11 +1,11 @@
<%= month_day_comma_year(comment.created_at) %>
-
Commenter: <%= sub_masked_email(comment.user.email) %>
+
<%= t 'comments.index.commenter' %>: <%= sub_masked_email(comment.user.email) %>

<%= comment.body %>

- <%= link_to 'Delete', article_comment_path(@article, comment), + <%= link_to t('app.button.destroy'), article_comment_path(@article, comment), method: :delete, - data: { confirm: 'Are your sure?' }, + data: { confirm: t('app.message.confirm_destroy') }, class: 'btn btn-danger' if policy(comment).destroy? %>
diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index f0b27736..034d345a 100644 --- a/app/views/devise/confirmations/new.html.erb +++ b/app/views/devise/confirmations/new.html.erb @@ -1,4 +1,4 @@ -

Resend confirmation instructions

+

<%= t(".resend_confirmation_instructions") %>

<%= simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %> <%= f.error_notification %> @@ -13,7 +13,7 @@
- <%= f.button :submit, "Resend confirmation instructions", class: 'btn btn-primary' %> + <%= f.button :submit, t(".resend_confirmation_instructions"), class: 'btn btn-primary' %>
<% end %> diff --git a/app/views/devise/mailer/confirmation_instructions.html.erb b/app/views/devise/mailer/confirmation_instructions.html.erb index dc55f64f..747fd875 100644 --- a/app/views/devise/mailer/confirmation_instructions.html.erb +++ b/app/views/devise/mailer/confirmation_instructions.html.erb @@ -1,5 +1,5 @@ -

Welcome <%= @email %>!

+

<%= t('.greeting', recipient: @email) %>

-

You can confirm your account email through the link below:

+

<%= t('.instruction') %>

-

<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %>

+

<%= link_to t('.action'), confirmation_url(@resource, confirmation_token: @token) %>

diff --git a/app/views/devise/mailer/email_changed.html.erb b/app/views/devise/mailer/email_changed.html.erb index 32f4ba80..337c143c 100644 --- a/app/views/devise/mailer/email_changed.html.erb +++ b/app/views/devise/mailer/email_changed.html.erb @@ -1,7 +1,7 @@ -

Hello <%= @email %>!

+

<%= t('.greeting', recipient: @email) %>

<% if @resource.try(:unconfirmed_email?) %> -

We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.

+

<%= t('.message_unconfirmed', email: @resource.unconfirmed_email) %>

<% else %> -

We're contacting you to notify you that your email has been changed to <%= @resource.email %>.

+

<%= t('.message', email: @resource.email) %>

<% end %> diff --git a/app/views/devise/mailer/password_change.html.erb b/app/views/devise/mailer/password_change.html.erb index b41daf47..a30313b1 100644 --- a/app/views/devise/mailer/password_change.html.erb +++ b/app/views/devise/mailer/password_change.html.erb @@ -1,3 +1,3 @@ -

Hello <%= @resource.email %>!

+

<%= t('.greeting', recipient: @resource.email) %>

-

We're contacting you to notify you that your password has been changed.

+

<%= t('.message') %>

diff --git a/app/views/devise/mailer/reset_password_instructions.html.erb b/app/views/devise/mailer/reset_password_instructions.html.erb index f667dc12..6c22abf5 100644 --- a/app/views/devise/mailer/reset_password_instructions.html.erb +++ b/app/views/devise/mailer/reset_password_instructions.html.erb @@ -1,8 +1,8 @@ -

Hello <%= @resource.email %>!

+

<%= t('.greeting', recipient: @resource.email) %>

-

Someone has requested a link to change your password. You can do this through the link below.

+

<%= t('.instruction') %>

-

<%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %>

+

<%= link_to t('.action'), edit_password_url(@resource, reset_password_token: @token) %>

-

If you didn't request this, please ignore this email.

-

Your password won't change until you access the link above and create a new one.

+

<%= t('.instruction_2') %>

+

<%= t('.instruction_3') %>

diff --git a/app/views/devise/mailer/unlock_instructions.html.erb b/app/views/devise/mailer/unlock_instructions.html.erb index 41e148bf..84d0981d 100644 --- a/app/views/devise/mailer/unlock_instructions.html.erb +++ b/app/views/devise/mailer/unlock_instructions.html.erb @@ -1,7 +1,7 @@ -

Hello <%= @resource.email %>!

+

<%= t('.greeting', recipient: @resource.email) %>

-

Your account has been locked due to an excessive number of unsuccessful sign in attempts.

+

<%= t('.message') %>

-

Click the link below to unlock your account:

+

<%= t('.instruction') %>

-

<%= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token) %>

+

<%= link_to t('.action'), unlock_url(@resource, unlock_token: @token) %>

diff --git a/app/views/devise/passwords/edit.html.erb b/app/views/devise/passwords/edit.html.erb index 9b31fd48..0bd2926f 100644 --- a/app/views/devise/passwords/edit.html.erb +++ b/app/views/devise/passwords/edit.html.erb @@ -1,4 +1,4 @@ -

Change your password

+

<%= t(".change_your_password") %>

<%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %> <%= f.error_notification %> @@ -8,19 +8,19 @@
<%= f.input :password, - label: "New password", + label: t(".new_password"), required: true, autofocus: true, - hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length), + hint: (t('devise.shared.minimum_password_length', count: @minimum_password_length) if @minimum_password_length), input_html: { autocomplete: "new-password" } %> <%= f.input :password_confirmation, - label: "Confirm your new password", + label: t(".confirm_new_password"), required: true, input_html: { autocomplete: "new-password" } %>
- <%= f.button :submit, "Change my password", class: 'btn btn-primary' %> + <%= f.button :submit, t(".change_my_password"), class: 'btn btn-primary' %>
<% end %> diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index 685ca41d..f3582880 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -1,4 +1,4 @@ -

Forgot your password?

+

<%= t(".forgot_your_password") %>

<%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %> <%= f.error_notification %> @@ -11,7 +11,7 @@
- <%= f.button :submit, "Send me reset password instructions", class: 'btn btn-primary' %> + <%= f.button :submit, t(".send_me_reset_password_instructions"), class: 'btn btn-primary' %>
<% end %> diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index e0ebf960..342503fa 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -1,4 +1,4 @@ -

Edit <%= resource_name.to_s.humanize %>

+

<%= t(".title", resource: resource.model_name.human) %>

<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %> <%= f.error_notification %> @@ -7,29 +7,29 @@ <%= f.input :email, required: true, autofocus: true %> <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> -

Currently waiting confirmation for: <%= resource.unconfirmed_email %>

+

<%= t(".currently_waiting_confirmation_for_email", email: resource.unconfirmed_email) %>

<% end %> <%= f.input :password, - hint: "leave it blank if you don't want to change it", + hint: t(".leave_blank_if_you_don_t_want_to_change_it"), required: false, input_html: { autocomplete: "new-password" } %> <%= f.input :password_confirmation, required: false, input_html: { autocomplete: "new-password" } %> <%= f.input :current_password, - hint: "we need your current password to confirm your changes", + hint: t(".we_need_your_current_password_to_confirm_your_changes"), required: true, input_html: { autocomplete: "current-password" } %>
- <%= f.button :submit, "Update", class: 'btn btn-primary' %> + <%= f.button :submit, t(".update"), class: 'btn btn-primary' %>
<% end %> -

Cancel my account

+

<%= t(".cancel_my_account") %>

-

Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), data: { confirm: "Are you sure?" }, method: :delete %>

+

<%= t(".unhappy") %> <%= link_to t(".cancel_my_account"), registration_path(resource_name), data: { confirm: t(".are_you_sure") }, method: :delete %>

-<%= link_to "Back", :back %> +<%= link_to t("devise.shared.links.back"), :back %> diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index ec36de4b..930091b7 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -1,4 +1,4 @@ -

Sign up

+

<%= t(".sign_up") %>

<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= f.error_notification %> @@ -6,11 +6,11 @@
<%= f.input :email, required: true, - autofocus: true, + autofocus: true , input_html: { autocomplete: "email" }%> <%= f.input :password, required: true, - hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length), + hint: (t('devise.shared.minimum_password_length', count: @minimum_password_length) if @minimum_password_length), input_html: { autocomplete: "new-password" } %> <%= f.input :password_confirmation, required: true, @@ -18,7 +18,7 @@
- <%= f.button :submit, "Sign up", class: 'btn btn-primary' %> + <%= f.button :submit, t(".sign_up"), class: 'btn btn-primary' %>
<% end %> diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index 595d5370..4cb700cc 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -1,4 +1,4 @@ -

Log in

+

<%= t(".sign_in") %>

<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
@@ -13,7 +13,7 @@
- <%= f.button :submit, "Log in", class: 'btn btn-primary' %> + <%= f.button :submit, t(".sign_in"), class: 'btn btn-primary' %>
<% end %> diff --git a/app/views/devise/shared/_links.html.erb b/app/views/devise/shared/_links.html.erb index 96a94124..d11c0611 100644 --- a/app/views/devise/shared/_links.html.erb +++ b/app/views/devise/shared/_links.html.erb @@ -1,25 +1,25 @@ <%- if controller_name != 'sessions' %> - <%= link_to "Log in", new_session_path(resource_name) %>
+ <%= link_to t(".sign_in"), new_session_path(resource_name) %>
<% end %> <%- if devise_mapping.registerable? && controller_name != 'registrations' %> - <%= link_to "Sign up", new_registration_path(resource_name) %>
+ <%= link_to t(".sign_up"), new_registration_path(resource_name) %>
<% end %> <%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %> - <%= link_to "Forgot your password?", new_password_path(resource_name) %>
+ <%= link_to t(".forgot_your_password"), new_password_path(resource_name) %>
<% end %> <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %> - <%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %>
+ <%= link_to t('.didn_t_receive_confirmation_instructions'), new_confirmation_path(resource_name) %>
<% end %> <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %> - <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %>
+ <%= link_to t('.didn_t_receive_unlock_instructions'), new_unlock_path(resource_name) %>
<% end %> <%- if devise_mapping.omniauthable? %> <%- resource_class.omniauth_providers.each do |provider| %> - <%= link_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider), method: :post %>
+ <%= link_to t('.sign_in_with_provider', provider: OmniAuth::Utils.camelize(provider)), omniauth_authorize_path(resource_name, provider), method: :post %>
<% end %> <% end %> diff --git a/app/views/devise/unlocks/new.html.erb b/app/views/devise/unlocks/new.html.erb index 7e424e53..4e37f314 100644 --- a/app/views/devise/unlocks/new.html.erb +++ b/app/views/devise/unlocks/new.html.erb @@ -1,4 +1,4 @@ -

Resend unlock instructions

+

<%= t(".resend_unlock_instructions") %>

<%= simple_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %> <%= f.error_notification %> @@ -12,7 +12,7 @@
- <%= f.button :submit, "Resend unlock instructions", class: 'btn btn-primary' %> + <%= f.button :submit, t(".resend_unlock_instructions"), class: 'btn btn-primary' %>
<% end %> diff --git a/app/views/layouts/_account_links.html.erb b/app/views/layouts/_account_links.html.erb index 0be79cef..7b3d3f58 100644 --- a/app/views/layouts/_account_links.html.erb +++ b/app/views/layouts/_account_links.html.erb @@ -4,12 +4,12 @@ <%= sub_masked_email(current_user.email) %> <% else %> - <%= link_to 'Sign in', new_user_session_path, class: 'link-secondary' %>   - <%= link_to 'Sign up', new_user_registration_path, class: 'btn btn-sm btn-outline-secondary' %> + <%= link_to t('app.menu.sign_in'), new_user_session_path, class: 'link-secondary' %>   + <%= link_to t('app.menu.sign_up'), new_user_registration_path, class: 'btn btn-sm btn-outline-secondary' %> <% end %> diff --git a/app/views/layouts/_footer.html.erb b/app/views/layouts/_footer.html.erb index 9e27dfa2..95a449e4 100644 --- a/app/views/layouts/_footer.html.erb +++ b/app/views/layouts/_footer.html.erb @@ -1,6 +1,6 @@ diff --git a/app/views/layouts/_locale_links.html.erb b/app/views/layouts/_locale_links.html.erb new file mode 100644 index 00000000..affbac71 --- /dev/null +++ b/app/views/layouts/_locale_links.html.erb @@ -0,0 +1,5 @@ +<% if I18n.locale == I18n.default_locale %> +<%= link_to 'English', { locale: :'en' }, class: 'link-secondary' %> +<% else %> +<%= link_to 'Português', { locale: :'pt-BR' }, class: 'link-secondary' %> +<% end %> diff --git a/app/views/layouts/_topnavbar.html.erb b/app/views/layouts/_topnavbar.html.erb index 06f6b381..e9a273f4 100644 --- a/app/views/layouts/_topnavbar.html.erb +++ b/app/views/layouts/_topnavbar.html.erb @@ -2,12 +2,14 @@
- <%= link_to 'Categories', categories_path, class: 'link-secondary' if policy(:category).index? %> + <%= link_to t('app.menu.categories'), categories_path, class: 'link-secondary' if policy(:category).index? %>
- <%= link_to 'Blog on Rails', root_path, class: 'blog-header-logo text-dark' %> + <%= link_to t('app.title'), root_path, class: 'blog-header-logo text-dark' %>
+ <%= render 'layouts/locale_links' %> +    <%= render 'layouts/account_links' %>
diff --git a/config/initializers/i18n.rb b/config/initializers/i18n.rb new file mode 100644 index 00000000..31cfa252 --- /dev/null +++ b/config/initializers/i18n.rb @@ -0,0 +1,3 @@ +I18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')] +I18n.available_locales = %i[en pt-BR] +I18n.default_locale = :'pt-BR' diff --git a/config/locales/defaults/en.yml b/config/locales/defaults/en.yml new file mode 100644 index 00000000..208ddf73 --- /dev/null +++ b/config/locales/defaults/en.yml @@ -0,0 +1,5 @@ +en: + activerecord: + errors: + messages: + complexity: 'complexity requirement not met. Please use: 1 uppercase, 1 lowercase, 1 digit and 1 special character' diff --git a/config/locales/defaults/pt-BR.yml b/config/locales/defaults/pt-BR.yml new file mode 100644 index 00000000..99a60784 --- /dev/null +++ b/config/locales/defaults/pt-BR.yml @@ -0,0 +1,223 @@ +pt-BR: + activerecord: + errors: + messages: + complexity: 'requisito de complexidade não atendido. Use: 1 maiúsculo, 1 minúsculo, 1 dígito e 1 caractere especial' + record_invalid: 'A validação falhou: %{errors}' + restrict_dependent_destroy: + has_one: Não é possível excluir o registro pois existe um %{record} dependente + has_many: Não é possível excluir o registro pois existem %{record} dependentes + date: + abbr_day_names: + - dom + - seg + - ter + - qua + - qui + - sex + - sáb + abbr_month_names: + - + - jan + - fev + - mar + - abr + - mai + - jun + - jul + - ago + - set + - out + - nov + - dez + day_names: + - domingo + - segunda-feira + - terça-feira + - quarta-feira + - quinta-feira + - sexta-feira + - sábado + formats: + default: "%d/%m/%Y" + long: "%d de %B de %Y" + short: "%d de %B" + month_names: + - + - janeiro + - fevereiro + - março + - abril + - maio + - junho + - julho + - agosto + - setembro + - outubro + - novembro + - dezembro + order: + - :day + - :month + - :year + datetime: + distance_in_words: + about_x_hours: + one: aproximadamente 1 hora + other: aproximadamente %{count} horas + about_x_months: + one: aproximadamente 1 mês + other: aproximadamente %{count} meses + about_x_years: + one: aproximadamente 1 ano + other: aproximadamente %{count} anos + almost_x_years: + one: quase 1 ano + other: quase %{count} anos + half_a_minute: meio minuto + less_than_x_seconds: + one: menos de 1 segundo + other: menos de %{count} segundos + less_than_x_minutes: + one: menos de um minuto + other: menos de %{count} minutos + over_x_years: + one: mais de 1 ano + other: mais de %{count} anos + x_seconds: + one: 1 segundo + other: "%{count} segundos" + x_minutes: + one: 1 minuto + other: "%{count} minutos" + x_days: + one: 1 dia + other: "%{count} dias" + x_months: + one: 1 mês + other: "%{count} meses" + x_years: + one: 1 ano + other: "%{count} anos" + prompts: + second: Segundo + minute: Minuto + hour: Hora + day: Dia + month: Mês + year: Ano + errors: + format: "%{attribute} %{message}" + messages: + accepted: deve ser aceito + blank: não pode ficar em branco + confirmation: não é igual a %{attribute} + empty: não pode ficar vazio + equal_to: deve ser igual a %{count} + even: deve ser par + exclusion: não está disponível + greater_than: deve ser maior que %{count} + greater_than_or_equal_to: deve ser maior ou igual a %{count} + inclusion: não está incluído na lista + invalid: não é válido + less_than: deve ser menor que %{count} + less_than_or_equal_to: deve ser menor ou igual a %{count} + model_invalid: 'A validação falhou: %{errors}' + not_a_number: não é um número + not_an_integer: não é um número inteiro + odd: deve ser ímpar + other_than: deve ser diferente de %{count} + present: deve ficar em branco + required: é obrigatório(a) + taken: já está em uso + too_long: + one: 'é muito longo (máximo: 1 caracter)' + other: 'é muito longo (máximo: %{count} caracteres)' + too_short: + one: 'é muito curto (mínimo: 1 caracter)' + other: 'é muito curto (mínimo: %{count} caracteres)' + wrong_length: + one: não possui o tamanho esperado (1 caracter) + other: não possui o tamanho esperado (%{count} caracteres) + template: + body: 'Por favor, verifique o(s) seguinte(s) campo(s):' + header: + one: 'Não foi possível gravar %{model}: 1 erro' + other: 'Não foi possível gravar %{model}: %{count} erros' + helpers: + select: + prompt: Por favor selecione + submit: + create: Criar %{model} + submit: Salvar %{model} + update: Atualizar %{model} + number: + currency: + format: + delimiter: "." + format: "%u %n" + precision: 2 + separator: "," + significant: false + strip_insignificant_zeros: false + unit: R$ + format: + delimiter: "." + precision: 3 + separator: "," + significant: false + strip_insignificant_zeros: false + human: + decimal_units: + format: "%n %u" + units: + billion: + one: bilhão + other: bilhões + million: + one: milhão + other: milhões + quadrillion: + one: quatrilhão + other: quatrilhões + thousand: mil + trillion: + one: trilhão + other: trilhões + unit: '' + format: + delimiter: '' + precision: 3 + significant: true + strip_insignificant_zeros: true + storage_units: + format: "%n %u" + units: + byte: + one: Byte + other: Bytes + eb: EB + gb: GB + kb: KB + mb: MB + pb: PB + tb: TB + percentage: + format: + delimiter: "." + format: "%n%" + precision: + format: + delimiter: "." + support: + array: + last_word_connector: " e " + two_words_connector: " e " + words_connector: ", " + time: + am: '' + formats: + default: "%a, %d de %B de %Y, %H:%M:%S %z" + long: "%d de %B de %Y, %H:%M" + short: "%d de %B, %H:%M" + pm: '' diff --git a/config/locales/devise.en.yml b/config/locales/devise.en.yml deleted file mode 100644 index 260e1c4b..00000000 --- a/config/locales/devise.en.yml +++ /dev/null @@ -1,65 +0,0 @@ -# Additional translations at https://github.com/heartcombo/devise/wiki/I18n - -en: - devise: - confirmations: - confirmed: "Your email address has been successfully confirmed." - send_instructions: "You will receive an email with instructions for how to confirm your email address in a few minutes." - send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions for how to confirm your email address in a few minutes." - failure: - already_authenticated: "You are already signed in." - inactive: "Your account is not activated yet." - invalid: "Invalid %{authentication_keys} or password." - locked: "Your account is locked." - last_attempt: "You have one more attempt before your account is locked." - not_found_in_database: "Invalid %{authentication_keys} or password." - timeout: "Your session expired. Please sign in again to continue." - unauthenticated: "You need to sign in or sign up before continuing." - unconfirmed: "You have to confirm your email address before continuing." - mailer: - confirmation_instructions: - subject: "Confirmation instructions" - reset_password_instructions: - subject: "Reset password instructions" - unlock_instructions: - subject: "Unlock instructions" - email_changed: - subject: "Email Changed" - password_change: - subject: "Password Changed" - omniauth_callbacks: - failure: "Could not authenticate you from %{kind} because \"%{reason}\"." - success: "Successfully authenticated from %{kind} account." - passwords: - no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided." - send_instructions: "You will receive an email with instructions on how to reset your password in a few minutes." - send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes." - updated: "Your password has been changed successfully. You are now signed in." - updated_not_active: "Your password has been changed successfully." - registrations: - destroyed: "Bye! Your account has been successfully cancelled. We hope to see you again soon." - signed_up: "Welcome! You have signed up successfully." - signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated." - signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked." - signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please follow the link to activate your account." - update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and follow the confirmation link to confirm your new email address." - updated: "Your account has been updated successfully." - updated_but_not_signed_in: "Your account has been updated successfully, but since your password was changed, you need to sign in again." - sessions: - signed_in: "Signed in successfully." - signed_out: "Signed out successfully." - already_signed_out: "Signed out successfully." - unlocks: - send_instructions: "You will receive an email with instructions for how to unlock your account in a few minutes." - send_paranoid_instructions: "If your account exists, you will receive an email with instructions for how to unlock it in a few minutes." - unlocked: "Your account has been unlocked successfully. Please sign in to continue." - errors: - messages: - already_confirmed: "was already confirmed, please try signing in" - confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one" - expired: "has expired, please request a new one" - not_found: "not found" - not_locked: "was not locked" - not_saved: - one: "1 error prohibited this %{resource} from being saved:" - other: "%{count} errors prohibited this %{resource} from being saved:" diff --git a/config/locales/en.yml b/config/locales/en.yml deleted file mode 100644 index 626daac9..00000000 --- a/config/locales/en.yml +++ /dev/null @@ -1,37 +0,0 @@ -# Files in the config/locales directory are used for internationalization -# and are automatically loaded by Rails. If you want to use locales other -# than English, add the necessary files in this directory. -# -# To use the locales, use `I18n.t`: -# -# I18n.t 'hello' -# -# In views, this is aliased to just `t`: -# -# <%= t('hello') %> -# -# To use a different locale, set it with `I18n.locale`: -# -# I18n.locale = :es -# -# This would use the information in config/locales/es.yml. -# -# The following keys must be escaped otherwise they will not be retrieved by -# the default I18n backend: -# -# true, false, on, off, yes, no -# -# Instead, surround them with single quotes. -# -# en: -# 'true': 'foo' -# -# To learn more, please read the Rails Internationalization guide -# available at https://guides.rubyonrails.org/i18n.html. - -en: - hello: "Hello world" - activerecord: - errors: - messages: - complexity: 'complexity requirement not met. Please use: 1 uppercase, 1 lowercase, 1 digit and 1 special character' diff --git a/config/locales/models/article/en.yml b/config/locales/models/article/en.yml new file mode 100644 index 00000000..cfdbd5e2 --- /dev/null +++ b/config/locales/models/article/en.yml @@ -0,0 +1,11 @@ +en: + activerecord: + models: + article: + one: Article + other: Articles + attributes: + article: + title: Title + body: Body + category: Category diff --git a/config/locales/models/article/pt-BR.yml b/config/locales/models/article/pt-BR.yml new file mode 100644 index 00000000..c59035ec --- /dev/null +++ b/config/locales/models/article/pt-BR.yml @@ -0,0 +1,11 @@ +pt-BR: + activerecord: + models: + article: + one: Artigo + other: Artigos + attributes: + article: + title: Título + body: Conteúdo + category: Categoria diff --git a/config/locales/models/category/en.yml b/config/locales/models/category/en.yml new file mode 100644 index 00000000..ba385afa --- /dev/null +++ b/config/locales/models/category/en.yml @@ -0,0 +1,10 @@ +en: + activerecord: + models: + category: + one: Category + other: Categories + attributes: + category: + articles: Articles + name: Name diff --git a/config/locales/models/category/pt-BR.yml b/config/locales/models/category/pt-BR.yml new file mode 100644 index 00000000..6945e409 --- /dev/null +++ b/config/locales/models/category/pt-BR.yml @@ -0,0 +1,10 @@ +pt-BR: + activerecord: + models: + category: + one: Categoria + other: Categorias + attributes: + category: + articles: Artigos + name: Nome diff --git a/config/locales/models/comment/en.yml b/config/locales/models/comment/en.yml new file mode 100644 index 00000000..bb8fa5b7 --- /dev/null +++ b/config/locales/models/comment/en.yml @@ -0,0 +1,9 @@ +en: + activerecord: + models: + comment: + one: Comment + other: Comments + attributes: + comment: + body: Body diff --git a/config/locales/models/comment/pt-BR.yml b/config/locales/models/comment/pt-BR.yml new file mode 100644 index 00000000..120e0021 --- /dev/null +++ b/config/locales/models/comment/pt-BR.yml @@ -0,0 +1,9 @@ +pt-BR: + activerecord: + models: + comment: + one: Comentário + other: Comentários + attributes: + comment: + body: Conteúdo diff --git a/config/locales/views/articles/en.yml b/config/locales/views/articles/en.yml new file mode 100644 index 00000000..5f8672e2 --- /dev/null +++ b/config/locales/views/articles/en.yml @@ -0,0 +1,25 @@ +en: + articles: + continue_reading: Continue reading... + about: + title: About + description: Hey there! My name is Mateus, im a programmer aiming to become a Ruby on Rails developer! + archives: Archives + elsewhere: Elsewhere + index: + subtitle: Newest posts + new_article: New Article + new: + title: New Article + create: + success: Article was successfully created. + update: + success: Article was successfully updated. + destroy: + success: Article was successfully destroyed. + form: + choose_category: Choose a Category + show: + comments: Comments + add_comment: "Add a comment:" + login_create_comment: Please, login to create a comment. diff --git a/config/locales/views/articles/pt-BR.yml b/config/locales/views/articles/pt-BR.yml new file mode 100644 index 00000000..b7b9a7f0 --- /dev/null +++ b/config/locales/views/articles/pt-BR.yml @@ -0,0 +1,25 @@ +pt-BR: + articles: + continue_reading: Continue lendo... + about: + title: Sobre + description: Olá! Meu nome é Mateus, sou um programador com o objetivo de me tornar um desenvolvedor Ruby on Rails! + archives: Arquivos + elsewhere: Outros lugares + index: + subtitle: Posts recentes + new_article: Novo Artigo + new: + title: Novo Artigo + create: + success: Artigo foi criado com sucesso. + update: + success: Artigo foi alterado com sucesso. + destroy: + success: Artigo foi excluído com sucesso. + form: + choose_category: Escolha uma Categoria + show: + comments: Comentários + add_comment: "Adicione um comentário:" + login_create_comment: Por favor, faça o login para criar um comentário. diff --git a/config/locales/views/categories/en.yml b/config/locales/views/categories/en.yml new file mode 100644 index 00000000..8be5a931 --- /dev/null +++ b/config/locales/views/categories/en.yml @@ -0,0 +1,4 @@ +en: + categories: + new: + title: New Article diff --git a/config/locales/views/categories/pt-BR.yml b/config/locales/views/categories/pt-BR.yml new file mode 100644 index 00000000..c5f82ad5 --- /dev/null +++ b/config/locales/views/categories/pt-BR.yml @@ -0,0 +1,4 @@ +pt-BR: + categories: + new: + title: Nova Categoria diff --git a/config/locales/views/comments/en.yml b/config/locales/views/comments/en.yml new file mode 100644 index 00000000..26f1910d --- /dev/null +++ b/config/locales/views/comments/en.yml @@ -0,0 +1,4 @@ +en: + comments: + index: + commenter: Commenter diff --git a/config/locales/views/comments/pt-BR.yml b/config/locales/views/comments/pt-BR.yml new file mode 100644 index 00000000..b1d40a91 --- /dev/null +++ b/config/locales/views/comments/pt-BR.yml @@ -0,0 +1,4 @@ +pt-BR: + comments: + index: + commenter: Comentarista diff --git a/config/locales/views/defaults/en.yml b/config/locales/views/defaults/en.yml new file mode 100644 index 00000000..7d0a6db3 --- /dev/null +++ b/config/locales/views/defaults/en.yml @@ -0,0 +1,33 @@ +en: + app: + title: Blog on Rails + menu: + categories: Categories + edit_user: Edit User + sign_out: Sign out + sign_in: Sign in + sign_up: Sign up + footer: + back_to_top: Back to top + template_info: Blog made by + pagination: + older: Older + newer: Newer + word: + by: by + in: in + actions: Actions + button: + back: Back + destroy: Destroy + edit: Edit + edit: + title: "Editing %{model}" + message: + confirm_destroy: Are you sure? + create: + success: "%{model} was successfully created." + update: + success: "%{model} was successfully updated." + destroy: + success: "%{model} was successfully destroyed." diff --git a/config/locales/views/defaults/pt-BR.yml b/config/locales/views/defaults/pt-BR.yml new file mode 100644 index 00000000..d27ac8e2 --- /dev/null +++ b/config/locales/views/defaults/pt-BR.yml @@ -0,0 +1,33 @@ +pt-BR: + app: + title: Blog on Rails + menu: + categories: Categorias + edit_user: Alterar Usuário + sign_out: Sair + sign_in: Entrar + sign_up: Criar conta + footer: + back_to_top: Voltar ao início + template_info: Blog criado por + pagination: + older: Anterior + newer: Próximo + word: + by: por + in: em + actions: Ações + button: + back: Voltar + destroy: Excluir + edit: Alterar + edit: + title: "Alterando %{model}" + message: + confirm_destroy: Você tem certeza que deseja excluir? + create: + success: "%{model} foi criado(a) com sucesso." + update: + success: "%{model} foi alterado(a) com sucesso." + destroy: + success: "%{model} foi excluído(a) com sucesso." diff --git a/config/locales/views/pundit/en.yml b/config/locales/views/pundit/en.yml new file mode 100644 index 00000000..d64e9ced --- /dev/null +++ b/config/locales/views/pundit/en.yml @@ -0,0 +1,9 @@ +en: + pundit: + default: You are not authorized to perform this action. + category_policy: + edit?: 'You cannot edit this category!' + update?: 'You cannot edit this category!' + new?: 'You cannot create categories!' + create?: 'You cannot create categories!' + destroy?: 'You cannot destroy this category!' diff --git a/config/locales/views/pundit/pt-BR.yml b/config/locales/views/pundit/pt-BR.yml new file mode 100644 index 00000000..c63a785f --- /dev/null +++ b/config/locales/views/pundit/pt-BR.yml @@ -0,0 +1,9 @@ +pt-BR: + pundit: + default: Você não está autorizado a realizar esta ação. + category_policy: + edit?: 'Você não pode alterar essa categoria!' + update?: 'Você não pode alterar essa categoria!' + new?: 'Você não pode criar categorias!' + create?: 'Você não pode criar categorias!' + destroy?: 'Você não pode excluir essa categoria!' diff --git a/config/locales/simple_form.en.yml b/config/locales/views/simple_form/simple_form.en.yml similarity index 100% rename from config/locales/simple_form.en.yml rename to config/locales/views/simple_form/simple_form.en.yml diff --git a/config/locales/views/simple_form/simple_form.pt-BR.yml b/config/locales/views/simple_form/simple_form.pt-BR.yml new file mode 100644 index 00000000..74010242 --- /dev/null +++ b/config/locales/views/simple_form/simple_form.pt-BR.yml @@ -0,0 +1,31 @@ +pt-BR: + simple_form: + "yes": 'Sim' + "no": 'Não' + required: + text: 'Obrigatórios' + mark: '*' + # You can uncomment the line below if you need to overwrite the whole required html. + # When using html, text and mark won't be used. + # html: '*' + error_notification: + default_message: "Por favor, verifique os erros abaixo:" + # Examples + # labels: + # defaults: + # password: 'Password' + # user: + # new: + # email: 'E-mail to sign in.' + # edit: + # email: 'E-mail.' + # hints: + # defaults: + # username: 'User name to sign in.' + # password: 'No special characters, please.' + # include_blanks: + # defaults: + # age: 'Rather not say' + # prompts: + # defaults: + # age: 'Select your age' diff --git a/config/routes.rb b/config/routes.rb index 9ca1c64c..3f23b35a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,10 +1,12 @@ Rails.application.routes.draw do - devise_for :users - root 'articles#index' + scope '(:locale)', locale: /pt-BR|en/ do + devise_for :users + root 'articles#index' - resources :articles do - resources :comments, only: %i[create destroy] - end + resources :articles do + resources :comments, only: %i[create destroy] + end - resources :categories, except: [:show] + resources :categories, except: [:show] + end end diff --git a/db/development.sqlite3 b/db/development.sqlite3 index 6c4d312a2dbbae4f07ba29c78e6b1cd65943a7eb..f2c30b0d03d41c22deab5815bad42e80fe39fedc 100644 GIT binary patch delta 525 zcmZoTAlPs~aDp^%Ap--08xT7JG2=uHbH>7r2}}GrH2IZ*0t^nDc>+ZEnb{Z^HY>+( z7hvR=d^=x-k#|$UIzc9`-J2B!*f|;5H}B~3WEJGy!obSu%)ob()0wA(dj(e$P}Y!> zyUB)Ggh9KJ6==ic{d2?pj0}v7bPddPjZ75`jjT+~tc(ox49rbT4Gnm)Ng0|N8yOm+ z${3kg85--E8JSp`O)i`-JUMn=whWSKKrJSgMor3WA`JQV6Fo~40|Nu&%`0Z}FtGqVt_pOlBID$n^HQYQP%Q&0Hvw5@Y-(vd*>1kn&j4NW#JSZBz@wFMp^x8hitc;5oKH+UHxCMycqH0!==*L}wb#7x_D-!Wfj z6kuam&%mq5<;)> zpL{!Cg^_1d!8*asiUPcxn|F7)u?hkevT|iG@ZIFy!qdUMf-3_k7skciWXmSPpx?*} zG-h(|tXwujOG|ST%Sp4PCe5BcnR7NDv$=)k<`uJfn7Esim_-=0K`I$0`^^kD6H`tqe`93=H**Ow23|jV6DYSu2RD-pJH= z^38cErmS#XFnMD$Jxe1?b7OP3i~-0zV?!$gOFdH)OAAZW$wl)K=7H238yFZGZCbF- z5bE_?(X2q0IA62wyLR1oj6lq^UH2XHbw)N;#$^n=id(su=QD0!`H?xCkBb-RHAa3; z27XSU7D-+vru#tp3FGwjADF)jfFzlDUNP{^;x*xU#jy)0wTff=E(wEY_GaHx$g&r#dn8^+Rqqum2 diff --git a/log/development.log b/log/development.log index d43164b5..ab8b42e4 100644 --- a/log/development.log +++ b/log/development.log @@ -23932,3 +23932,6834 @@ Processing by ArticlesController#index as HTML Completed 200 OK in 262ms (Views: 169.8ms | ActiveRecord: 9.7ms | Allocations: 52921) +Started GET "/" for 127.0.0.1 at 2022-07-25 08:32:46 -0300 +  (0.9ms) SELECT sqlite_version(*) +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +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#index as HTML + Article Load (1.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (2.8ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.9ms) SELECT 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") + ↳ 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: 1.7ms | Allocations: 635) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 485) + Rendered articles/_medium_featured.html.erb (Duration: 3.1ms | Allocations: 1480) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 1.4ms | Allocations: 535) + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 297) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.3ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 2.3ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 21.9ms | Allocations: 6513) +  (1.1ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 9.0ms | Allocations: 2260) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 110) + Rendered articles/_archives.html.erb (Duration: 2.2ms | Allocations: 1135) + Rendered articles/_elsewhere.html.erb (Duration: 0.7ms | Allocations: 115) + Rendered articles/_right_side.html.erb (Duration: 6.4ms | Allocations: 2115) + Category Load (1.0ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 92.5ms | Allocations: 25360) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 6]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_account_links.html.erb (Duration: 1.3ms | Allocations: 516) + Rendered layouts/_topnavbar.html.erb (Duration: 23.8ms | Allocations: 8931) + Rendered layouts/_flash_messages.html.erb (Duration: 2.2ms | Allocations: 237) + Rendered layouts/_footer.html.erb (Duration: 1.4ms | Allocations: 112) + Rendered layout layouts/application.html.erb (Duration: 391.9ms | Allocations: 53098) +Completed 200 OK in 526ms (Views: 390.2ms | ActiveRecord: 16.1ms | Allocations: 86633) + + +Started GET "/pt-BR/articles?category=Javascript" for 127.0.0.1 at 2022-07-25 08:32:51 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"category"=>"Javascript", "locale"=>"pt-BR"} + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/controllers/articles_controller.rb:10:in `index' + Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."category_id" = ? ORDER BY "articles"."created_at" DESC LIMIT ? [["category_id", 11], ["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? [["id", 11]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (2.2ms) SELECT 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") + ↳ 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.3ms | Allocations: 186) + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 267) + Rendered articles/_medium_featured.html.erb (Duration: 6.5ms | Allocations: 562) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 2.0ms | Allocations: 535) + User Load (4.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (165,172,178)) AND "articles"."category_id" = ? ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["category_id", 11], ["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + CACHE Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? [["id", 11]] + ↳ app/views/articles/index.html.erb:17 + CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 4.2ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 20.1ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 22.8ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 29.2ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 3.6ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 149.9ms | Allocations: 6266) +  (0.7ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (165,172,178)) AND "articles"."category_id" = ? [["category_id", 11]] + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 49.4ms | Allocations: 1194) + Rendered articles/_about.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 3.5ms | Allocations: 963) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 4.8ms | Allocations: 1251) + Rendered articles/index.html.erb within layouts/application (Duration: 254.2ms | Allocations: 17582) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 6]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_account_links.html.erb (Duration: 1.1ms | Allocations: 194) + Rendered layouts/_topnavbar.html.erb (Duration: 7.1ms | Allocations: 1606) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 270.7ms | Allocations: 22574) +Completed 200 OK in 324ms (Views: 267.4ms | ActiveRecord: 9.7ms | Allocations: 30816) + + +Started GET "/pt-BR/articles?category=Frontend" for 127.0.0.1 at 2022-07-25 08:32:53 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"category"=>"Frontend", "locale"=>"pt-BR"} + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/controllers/articles_controller.rb:10:in `index' + Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."category_id" = ? ORDER BY "articles"."created_at" DESC LIMIT ? [["category_id", 2], ["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? [["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 0.7ms | Allocations: 140) + Rendered articles/_article_detail.html.erb (Duration: 3.7ms | Allocations: 261) + Rendered articles/_medium_featured.html.erb (Duration: 9.3ms | Allocations: 539) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 1.3ms | Allocations: 535) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (19,25,26)) AND "articles"."category_id" = ? ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["category_id", 2], ["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + CACHE Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 22.7ms | Allocations: 6262) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (19,25,26)) AND "articles"."category_id" = ? [["category_id", 2]] + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 2.8ms | Allocations: 1164) + Rendered articles/_about.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 1.7ms | Allocations: 963) + Rendered articles/_elsewhere.html.erb (Duration: 0.6ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 3.7ms | Allocations: 1251) + Rendered articles/index.html.erb within layouts/application (Duration: 88.8ms | Allocations: 17442) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 6]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_account_links.html.erb (Duration: 0.4ms | Allocations: 193) + Rendered layouts/_topnavbar.html.erb (Duration: 4.3ms | Allocations: 1540) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 98.4ms | Allocations: 22222) +Completed 200 OK in 120ms (Views: 97.5ms | ActiveRecord: 3.2ms | Allocations: 29951) + + +Started GET "/pt-BR/articles?category=Backend" for 127.0.0.1 at 2022-07-25 08:32:54 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"category"=>"Backend", "locale"=>"pt-BR"} + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/controllers/articles_controller.rb:10:in `index' + Article Load (1.9ms) SELECT "articles".* FROM "articles" WHERE "articles"."category_id" = ? ORDER BY "articles"."created_at" DESC LIMIT ? [["category_id", 8], ["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? [["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 2.2ms | Allocations: 140) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 261) + Rendered articles/_medium_featured.html.erb (Duration: 5.8ms | Allocations: 539) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 2.1ms | Allocations: 535) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (69,89,79)) AND "articles"."category_id" = ? ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["category_id", 8], ["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + CACHE Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? [["id", 8]] + ↳ app/views/articles/index.html.erb:17 + CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 24.1ms | Allocations: 6262) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (69,89,79)) AND "articles"."category_id" = ? [["category_id", 8]] + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 3.1ms | Allocations: 1163) + Rendered articles/_about.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 0.9ms | Allocations: 963) + Rendered articles/_elsewhere.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 1.4ms | Allocations: 1251) + Rendered articles/index.html.erb within layouts/application (Duration: 69.0ms | Allocations: 17440) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 6]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_account_links.html.erb (Duration: 0.3ms | Allocations: 193) + Rendered layouts/_topnavbar.html.erb (Duration: 3.6ms | Allocations: 1539) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 79.4ms | Allocations: 22225) +Completed 200 OK in 118ms (Views: 80.7ms | ActiveRecord: 3.8ms | Allocations: 29934) + + +Started GET "/pt-BR/articles?category=Angular" for 127.0.0.1 at 2022-07-25 08:32:55 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"category"=>"Angular", "locale"=>"pt-BR"} + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/controllers/articles_controller.rb:10:in `index' + Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."category_id" = ? ORDER BY "articles"."created_at" DESC LIMIT ? [["category_id", 10], ["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? [["id", 10]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 0.8ms | Allocations: 140) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 261) + Rendered articles/_medium_featured.html.erb (Duration: 1.6ms | Allocations: 539) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 1.4ms | Allocations: 535) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.8ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (148,133,140)) AND "articles"."category_id" = ? ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["category_id", 10], ["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + CACHE Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? [["id", 10]] + ↳ app/views/articles/index.html.erb:17 + CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.3ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.3ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.3ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 26.1ms | Allocations: 6262) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (148,133,140)) AND "articles"."category_id" = ? [["category_id", 10]] + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 2.2ms | Allocations: 1164) + Rendered articles/_about.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 1.1ms | Allocations: 963) + Rendered articles/_elsewhere.html.erb (Duration: 0.4ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 3.2ms | Allocations: 1251) + Rendered articles/index.html.erb within layouts/application (Duration: 69.4ms | Allocations: 17442) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 6]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_account_links.html.erb (Duration: 0.4ms | Allocations: 193) + Rendered layouts/_topnavbar.html.erb (Duration: 3.5ms | Allocations: 1540) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 79.9ms | Allocations: 22220) +Completed 200 OK in 110ms (Views: 79.3ms | ActiveRecord: 2.7ms | Allocations: 29933) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:32:57 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.2ms) SELECT 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") + ↳ 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: 0.4ms | Allocations: 140) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 259) + Rendered articles/_medium_featured.html.erb (Duration: 1.5ms | Allocations: 537) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 1.2ms | Allocations: 535) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.7ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.3ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 30.3ms | Allocations: 6271) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 2.1ms | Allocations: 1138) + Rendered articles/_about.html.erb (Duration: 0.0ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 1.0ms | Allocations: 963) + Rendered articles/_elsewhere.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 1.5ms | Allocations: 1251) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 61.0ms | Allocations: 19040) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 6]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_account_links.html.erb (Duration: 0.3ms | Allocations: 193) + Rendered layouts/_topnavbar.html.erb (Duration: 4.8ms | Allocations: 1540) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 79.7ms | Allocations: 23820) +Completed 200 OK in 100ms (Views: 78.3ms | ActiveRecord: 5.0ms | Allocations: 30533) + + +Started GET "/pt-BR/articles/211" for 127.0.0.1 at 2022-07-25 08:32:58 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:32:in `show' + Rendering layout layouts/application.html.erb + Rendering articles/show.html.erb within layouts/application + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 34.6ms | Allocations: 3083) + Rendered collection of templates [0 times] (Duration: 0.1ms | Allocations: 63) + Rendered comments/_form.html.erb (Duration: 47.8ms | Allocations: 15359) + Rendered articles/show.html.erb within layouts/application (Duration: 88.7ms | Allocations: 19698) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 6]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 197) + Rendered layouts/_topnavbar.html.erb (Duration: 5.3ms | Allocations: 1770) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 100.4ms | Allocations: 24763) +Completed 200 OK in 120ms (Views: 99.7ms | ActiveRecord: 3.0ms | Allocations: 30573) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:33:03 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.8ms) SELECT 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") + ↳ 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: 2.1ms | Allocations: 149) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 265) + Rendered articles/_medium_featured.html.erb (Duration: 5.2ms | Allocations: 560) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 10.9ms | Allocations: 535) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.7ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 3.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 41.5ms | Allocations: 6271) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 6.0ms | Allocations: 1162) + Rendered articles/_about.html.erb (Duration: 0.4ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 1.3ms | Allocations: 963) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 8.0ms | Allocations: 1251) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 135.3ms | Allocations: 19133) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 6]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_account_links.html.erb (Duration: 0.3ms | Allocations: 193) + Rendered layouts/_topnavbar.html.erb (Duration: 12.6ms | Allocations: 1539) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 160.3ms | Allocations: 23910) +Completed 200 OK in 205ms (Views: 166.3ms | ActiveRecord: 3.5ms | Allocations: 30872) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:36:53 -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#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.2ms) SELECT sqlite_version(*) + ↳ app/models/category.rb:6:in `block in ' + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.5ms) SELECT 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") + ↳ 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: 2.5ms | Allocations: 336) + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 321) + Rendered articles/_medium_featured.html.erb (Duration: 10.8ms | Allocations: 671) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 1.4ms | Allocations: 535) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 13.8ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 57.8ms | Allocations: 6275) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 4.1ms | Allocations: 1857) + Rendered articles/_about.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered articles/_archives.html.erb (Duration: 2.3ms | Allocations: 982) + Rendered articles/_elsewhere.html.erb (Duration: 0.6ms | Allocations: 40) + Rendered articles/_right_side.html.erb (Duration: 4.9ms | Allocations: 1273) + Category Load (1.0ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 158.5ms | Allocations: 20690) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 6]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_account_links.html.erb (Duration: 2.0ms | Allocations: 283) + Rendered layouts/_topnavbar.html.erb (Duration: 39.5ms | Allocations: 6179) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 68) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 218.5ms | Allocations: 30283) +Completed 200 OK in 374ms (Views: 226.9ms | ActiveRecord: 13.8ms | Allocations: 56855) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:43:52 -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#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.6ms) SELECT sqlite_version(*) + ↳ app/models/category.rb:6:in `block in ' + Article Load (1.5ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.1ms) SELECT 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") + ↳ 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: 8.0ms | Allocations: 460) + Rendered articles/_article_detail.html.erb (Duration: 14.5ms | Allocations: 424) + Rendered articles/_medium_featured.html.erb (Duration: 26.4ms | Allocations: 1054) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 14.6ms | Allocations: 535) + User Load (5.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 5.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 57.7ms | Allocations: 6410) +  (0.8ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 16.7ms | Allocations: 1966) + Rendered articles/_about.html.erb (Duration: 0.3ms | Allocations: 108) + Rendered articles/_archives.html.erb (Duration: 3.4ms | Allocations: 1124) + Rendered articles/_elsewhere.html.erb (Duration: 2.0ms | Allocations: 112) + Rendered articles/_right_side.html.erb (Duration: 10.1ms | Allocations: 2097) + Category Load (0.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 237.4ms | Allocations: 23243) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (1.2ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 6]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_account_links.html.erb (Duration: 21.9ms | Allocations: 500) + Rendered layouts/_topnavbar.html.erb (Duration: 82.7ms | Allocations: 6245) + Rendered layouts/_flash_messages.html.erb (Duration: 0.7ms | Allocations: 220) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 110) + Rendered layout layouts/application.html.erb (Duration: 354.7ms | Allocations: 33761) +Completed 200 OK in 558ms (Views: 358.8ms | ActiveRecord: 15.3ms | Allocations: 59653) + + +Started GET "/en" for 127.0.0.1 at 2022-07-25 08:44:06 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"en"} + Article Load (1.1ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (7.3ms) SELECT 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") + ↳ 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: 1.9ms | Allocations: 150) + Rendered articles/_article_detail.html.erb (Duration: 3.5ms | Allocations: 265) + Rendered articles/_medium_featured.html.erb (Duration: 20.5ms | Allocations: 661) + Rendered articles/_article_detail.html.erb (Duration: 3.7ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 15.5ms | Allocations: 535) + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (17.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 263) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 39.8ms | Allocations: 6272) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 10.0ms | Allocations: 1163) + Rendered articles/_about.html.erb (Duration: 0.4ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 14.2ms | Allocations: 962) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 19.8ms | Allocations: 1562) + Category Load (0.4ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 311.3ms | Allocations: 20060) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 6]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_account_links.html.erb (Duration: 1.2ms | Allocations: 193) + Rendered layouts/_topnavbar.html.erb (Duration: 8.6ms | Allocations: 1668) + Rendered layouts/_flash_messages.html.erb (Duration: 0.3ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 337.8ms | Allocations: 25414) +Completed 200 OK in 443ms (Views: 328.5ms | ActiveRecord: 30.6ms | Allocations: 33053) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:44:09 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.8ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.3ms) SELECT 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") + ↳ 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: 1.5ms | Allocations: 140) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 259) + Rendered articles/_medium_featured.html.erb (Duration: 3.7ms | Allocations: 537) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 3.4ms | Allocations: 535) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 16.3ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 3.0ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 5.3ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 86.1ms | Allocations: 6270) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 3.2ms | Allocations: 1136) + Rendered articles/_about.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 1.2ms | Allocations: 963) + Rendered articles/_elsewhere.html.erb (Duration: 0.3ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 7.1ms | Allocations: 1251) + Category Load (2.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 224.1ms | Allocations: 19032) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.6ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 6]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_account_links.html.erb (Duration: 1.4ms | Allocations: 193) + Rendered layouts/_topnavbar.html.erb (Duration: 32.6ms | Allocations: 1551) + Rendered layouts/_flash_messages.html.erb (Duration: 1.0ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.5ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 303.0ms | Allocations: 23821) +Completed 200 OK in 388ms (Views: 305.7ms | ActiveRecord: 8.3ms | Allocations: 30522) + + +Started DELETE "/pt-BR/users/sign_out" for 127.0.0.1 at 2022-07-25 08:44:24 -0300 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "locale"=>"pt-BR"} + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 6], ["LIMIT", 1]] + TRANSACTION (0.4ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (4.7ms) UPDATE "users" SET "remember_created_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["remember_created_at", nil], ["updated_at", "2022-07-25 11:44:24.940003"], ["id", 6]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (62.1ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 156ms (ActiveRecord: 67.6ms | Allocations: 8878) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:44:25 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (1.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.8ms) SELECT 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") + ↳ 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.1ms | Allocations: 166) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 259) + Rendered articles/_medium_featured.html.erb (Duration: 8.3ms | Allocations: 553) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 4.8ms | Allocations: 535) + Article Load (2.8ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 4.7ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 8.6ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 72.3ms | Allocations: 6275) +  (1.7ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 18.8ms | Allocations: 1165) + Rendered articles/_about.html.erb (Duration: 0.4ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 5.5ms | Allocations: 963) + Rendered articles/_elsewhere.html.erb (Duration: 0.4ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 23.3ms | Allocations: 1251) + Category Load (0.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 249.9ms | Allocations: 18168) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 2.2ms | Allocations: 252) + Rendered layouts/_topnavbar.html.erb (Duration: 12.1ms | Allocations: 481) + Rendered layouts/_flash_messages.html.erb (Duration: 0.9ms | Allocations: 62) + Rendered layouts/_footer.html.erb (Duration: 0.5ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 312.3ms | Allocations: 22044) +Completed 200 OK in 396ms (Views: 316.7ms | ActiveRecord: 11.3ms | Allocations: 29008) + + +Started GET "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 08:44:27 -0300 +Processing by Devise::SessionsController#new as HTML + Parameters: {"locale"=>"pt-BR"} + Rendering layout layouts/application.html.erb + Rendering devise/sessions/new.html.erb within layouts/application + Rendered devise/shared/_links.html.erb (Duration: 18.4ms | Allocations: 877) + Rendered devise/sessions/new.html.erb within layouts/application (Duration: 131.8ms | Allocations: 11679) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 1.2ms | Allocations: 194) + Rendered layouts/_topnavbar.html.erb (Duration: 2.8ms | Allocations: 476) + Rendered layouts/_flash_messages.html.erb (Duration: 0.5ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 201.6ms | Allocations: 15513) +Completed 200 OK in 231ms (Views: 210.8ms | ActiveRecord: 0.0ms | Allocations: 17802) + + +Started POST "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 08:44:32 -0300 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Log in", "locale"=>"pt-BR"} + User Load (2.6ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "admin@admin.com"], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (0.5ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (1.5ms) UPDATE "users" SET "remember_created_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["remember_created_at", "2022-07-25 11:44:32.653813"], ["updated_at", "2022-07-25 11:44:32.654954"], ["id", 3]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (70.8ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (0.3ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (1.7ms) UPDATE "users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["sign_in_count", 9], ["current_sign_in_at", "2022-07-25 11:44:32.763261"], ["last_sign_in_at", "2022-07-23 12:34:57.581022"], ["updated_at", "2022-07-25 11:44:32.764048"], ["id", 3]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (69.0ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 660ms (ActiveRecord: 146.4ms | Allocations: 16723) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:44:33 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (1.1ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 2.8ms | Allocations: 180) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 265) + Rendered articles/_medium_featured.html.erb (Duration: 8.4ms | Allocations: 561) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 4.5ms | Allocations: 535) + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.2ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 3.5ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 3.4ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 13.7ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 2.3ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 69.5ms | Allocations: 6271) +  (1.5ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 33.7ms | Allocations: 1165) + Rendered articles/_about.html.erb (Duration: 0.5ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 9.9ms | Allocations: 963) + Rendered articles/_elsewhere.html.erb (Duration: 0.5ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 18.7ms | Allocations: 1251) + Category Load (1.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 282.0ms | Allocations: 19185) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 2.2ms | Allocations: 194) + Rendered layouts/_topnavbar.html.erb (Duration: 32.3ms | Allocations: 519) + Rendered layouts/_flash_messages.html.erb (Duration: 1.3ms | Allocations: 64) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 336.2ms | Allocations: 23097) +Completed 200 OK in 430ms (Views: 332.5ms | ActiveRecord: 11.4ms | Allocations: 30187) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:46:42 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (1.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (4.7ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (10.8ms) SELECT 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") + ↳ 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.7ms | Allocations: 351) + Rendered articles/_article_detail.html.erb (Duration: 8.2ms | Allocations: 388) + Rendered articles/_medium_featured.html.erb (Duration: 35.5ms | Allocations: 982) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 12.7ms | Allocations: 535) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (10.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (2.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 13.2ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 103.0ms | Allocations: 6442) +  (0.8ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 43.4ms | Allocations: 1308) + Rendered articles/_about.html.erb (Duration: 0.5ms | Allocations: 108) + Rendered articles/_archives.html.erb (Duration: 9.0ms | Allocations: 1112) + Rendered articles/_elsewhere.html.erb (Duration: 1.3ms | Allocations: 112) + Rendered articles/_right_side.html.erb (Duration: 51.1ms | Allocations: 2053) + Category Load (17.4ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 439.4ms | Allocations: 22078) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 15.3ms | Allocations: 440) + Rendered layouts/_topnavbar.html.erb (Duration: 21.2ms | Allocations: 1037) + Rendered layouts/_flash_messages.html.erb (Duration: 1.4ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 110) + Rendered layout layouts/application.html.erb (Duration: 504.0ms | Allocations: 27444) +Completed 200 OK in 618ms (Views: 491.6ms | ActiveRecord: 50.3ms | Allocations: 35233) + + +Started DELETE "/pt-BR/users/sign_out" for 127.0.0.1 at 2022-07-25 08:46:47 -0300 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "locale"=>"pt-BR"} + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + TRANSACTION (0.2ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (1.4ms) UPDATE "users" SET "remember_created_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["remember_created_at", nil], ["updated_at", "2022-07-25 11:46:47.320358"], ["id", 3]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (53.2ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 139ms (ActiveRecord: 55.4ms | Allocations: 7494) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:46:47 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (2.0ms) SELECT 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") + ↳ 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: 2.7ms | Allocations: 141) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 259) + Rendered articles/_medium_featured.html.erb (Duration: 8.0ms | Allocations: 537) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 7.7ms | Allocations: 535) + Article Load (2.3ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (3.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 6.6ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 58.8ms | Allocations: 6267) +  (0.8ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 9.6ms | Allocations: 1136) + Rendered articles/_about.html.erb (Duration: 1.1ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 3.6ms | Allocations: 963) + Rendered articles/_elsewhere.html.erb (Duration: 0.8ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 22.5ms | Allocations: 1251) + Category Load (0.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 186.4ms | Allocations: 18005) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 3.0ms | Allocations: 224) + Rendered layouts/_topnavbar.html.erb (Duration: 3.8ms | Allocations: 438) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 228.9ms | Allocations: 21704) +Completed 200 OK in 408ms (Views: 232.5ms | ActiveRecord: 12.8ms | Allocations: 28493) + + +Started GET "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 08:46:51 -0300 +Processing by Devise::SessionsController#new as HTML + Parameters: {"locale"=>"pt-BR"} + Rendering layout layouts/application.html.erb + Rendering devise/sessions/new.html.erb within layouts/application + Rendered devise/shared/_links.html.erb (Duration: 6.0ms | Allocations: 651) + Rendered devise/sessions/new.html.erb within layouts/application (Duration: 115.0ms | Allocations: 10122) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 1.6ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 17.7ms | Allocations: 499) + Rendered layouts/_flash_messages.html.erb (Duration: 0.3ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 1.2ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 181.8ms | Allocations: 13979) +Completed 200 OK in 200ms (Views: 188.8ms | ActiveRecord: 0.0ms | Allocations: 15945) + + +Started POST "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 08:46:54 -0300 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Log in", "locale"=>"pt-BR"} + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "admin@admin.com"], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (0.4ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (1.5ms) UPDATE "users" SET "remember_created_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["remember_created_at", "2022-07-25 11:46:55.313995"], ["updated_at", "2022-07-25 11:46:55.315252"], ["id", 3]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (51.4ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (10.4ms) UPDATE "users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["sign_in_count", 10], ["current_sign_in_at", "2022-07-25 11:46:55.417998"], ["last_sign_in_at", "2022-07-25 11:44:32.763261"], ["updated_at", "2022-07-25 11:46:55.419208"], ["id", 3]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (100.7ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 823ms (ActiveRecord: 165.2ms | Allocations: 14870) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:46:55 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.5ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (2.5ms) SELECT 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") + ↳ 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.1ms | Allocations: 149) + Rendered articles/_article_detail.html.erb (Duration: 2.3ms | Allocations: 259) + Rendered articles/_medium_featured.html.erb (Duration: 11.0ms | Allocations: 552) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 6.6ms | Allocations: 535) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 7.9ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 4.9ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 14.2ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 3.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 66.1ms | Allocations: 6271) +  (0.4ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 4.4ms | Allocations: 1161) + Rendered articles/_about.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 2.2ms | Allocations: 963) + Rendered articles/_elsewhere.html.erb (Duration: 0.4ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 3.8ms | Allocations: 1251) + Category Load (0.7ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 233.2ms | Allocations: 19105) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 1.8ms | Allocations: 219) + Rendered layouts/_topnavbar.html.erb (Duration: 17.6ms | Allocations: 487) + Rendered layouts/_flash_messages.html.erb (Duration: 2.2ms | Allocations: 60) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered layout layouts/application.html.erb (Duration: 311.5ms | Allocations: 22852) +Completed 200 OK in 404ms (Views: 314.8ms | ActiveRecord: 7.6ms | Allocations: 29679) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:49:26 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.5ms) SELECT 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") + ↳ 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: 1.7ms | Allocations: 351) + Rendered articles/_article_detail.html.erb (Duration: 10.9ms | Allocations: 389) + Rendered articles/_medium_featured.html.erb (Duration: 12.9ms | Allocations: 983) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 2.0ms | Allocations: 535) + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 263) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 261) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 21.1ms | Allocations: 6423) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 3.0ms | Allocations: 1308) + Rendered articles/_about.html.erb (Duration: 0.4ms | Allocations: 108) + Rendered articles/_archives.html.erb (Duration: 1.5ms | Allocations: 1112) + Rendered articles/_elsewhere.html.erb (Duration: 0.4ms | Allocations: 112) + Rendered articles/_right_side.html.erb (Duration: 4.9ms | Allocations: 2053) + Category Load (0.4ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 88.6ms | Allocations: 22066) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 1.3ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 4.3ms | Allocations: 1022) + Rendered layouts/_flash_messages.html.erb (Duration: 0.6ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 187) + Rendered layout layouts/application.html.erb (Duration: 100.4ms | Allocations: 27504) +Completed 200 OK in 125ms (Views: 101.6ms | ActiveRecord: 4.0ms | Allocations: 35262) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:49:42 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.2ms) SELECT 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") + ↳ 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: 1.3ms | Allocations: 140) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 259) + Rendered articles/_medium_featured.html.erb (Duration: 5.1ms | Allocations: 537) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 3.8ms | Allocations: 535) + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.6ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 40.3ms | Allocations: 6267) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 4.6ms | Allocations: 1136) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 39) + Rendered articles/_archives.html.erb (Duration: 2.3ms | Allocations: 963) + Rendered articles/_elsewhere.html.erb (Duration: 0.1ms | Allocations: 39) + Rendered articles/_right_side.html.erb (Duration: 7.5ms | Allocations: 1251) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 118.6ms | Allocations: 19033) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 2.3ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 10.0ms | Allocations: 486) + Rendered layouts/_flash_messages.html.erb (Duration: 0.9ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.6ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 160.3ms | Allocations: 22784) +Completed 200 OK in 218ms (Views: 163.8ms | ActiveRecord: 6.7ms | Allocations: 29614) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:54:46 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.1ms) SELECT sqlite_version(*) + ↳ app/models/category.rb:6:in `block in ' + Article Load (0.5ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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.4ms | Allocations: 351) + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 388) + Rendered articles/_medium_featured.html.erb (Duration: 11.4ms | Allocations: 982) + Rendered articles/_article_detail.html.erb (Duration: 2.9ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 10.0ms | Allocations: 535) + User Load (2.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (9.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 6.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 6.4ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 8.0ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 9.9ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 6.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 5.8ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 117.5ms | Allocations: 6410) +  (0.6ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 18.3ms | Allocations: 1308) + Rendered articles/_about.html.erb (Duration: 0.5ms | Allocations: 108) + Rendered articles/_archives.html.erb (Duration: 3.8ms | Allocations: 1112) + Rendered articles/_elsewhere.html.erb (Duration: 6.4ms | Allocations: 112) + Rendered articles/_right_side.html.erb (Duration: 26.9ms | Allocations: 2050) + Category Load (0.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 320.3ms | Allocations: 22290) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 1.5ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 6.3ms | Allocations: 998) + Rendered layouts/_flash_messages.html.erb (Duration: 2.3ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 13.5ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 418.9ms | Allocations: 27717) +Completed 200 OK in 467ms (Views: 410.2ms | ActiveRecord: 17.8ms | Allocations: 36218) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:57:25 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 1.0ms | Allocations: 351) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 388) + Rendered articles/_medium_featured.html.erb (Duration: 3.2ms | Allocations: 982) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 258) + Rendered articles/_medium_featured.html.erb (Duration: 1.2ms | Allocations: 535) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.7ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 262) + Rendered articles/_article_detail.html.erb (Duration: 0.3ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.3ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.3ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 261) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 260) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 260) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 17.4ms | Allocations: 6410) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 2.8ms | Allocations: 1308) + Rendered articles/_about.html.erb (Duration: 0.7ms | Allocations: 184) + Rendered articles/_archives.html.erb (Duration: 1.5ms | Allocations: 1112) + Rendered articles/_elsewhere.html.erb (Duration: 1.7ms | Allocations: 112) + Rendered articles/_right_side.html.erb (Duration: 7.1ms | Allocations: 2129) + Category Load (0.7ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 76.0ms | Allocations: 22217) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 2.2ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 4.9ms | Allocations: 999) + Rendered layouts/_flash_messages.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.4ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 89.9ms | Allocations: 27616) +Completed 200 OK in 116ms (Views: 88.8ms | ActiveRecord: 4.9ms | Allocations: 35522) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:58:59 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.6ms) SELECT 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") + ↳ 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: 0.7ms | Allocations: 351) + Rendered articles/_article_detail.html.erb (Duration: 6.8ms | Allocations: 482) + Rendered articles/_medium_featured.html.erb (Duration: 8.8ms | Allocations: 1075) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 286) + Rendered articles/_medium_featured.html.erb (Duration: 5.2ms | Allocations: 563) + User Load (4.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.9ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 4.2ms | Allocations: 290) + Rendered articles/_article_detail.html.erb (Duration: 2.9ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 288) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 36.4ms | Allocations: 6690) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 4.1ms | Allocations: 1308) + Rendered articles/_about.html.erb (Duration: 0.4ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 4.9ms | Allocations: 1231) + Rendered articles/_elsewhere.html.erb (Duration: 0.6ms | Allocations: 112) + Rendered articles/_right_side.html.erb (Duration: 9.6ms | Allocations: 2231) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 114.6ms | Allocations: 22663) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.9ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 8.3ms | Allocations: 998) + Rendered layouts/_flash_messages.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.5ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 134.3ms | Allocations: 28048) +Completed 200 OK in 167ms (Views: 131.5ms | ActiveRecord: 7.8ms | Allocations: 35944) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 08:59:55 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.8ms) SELECT 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") + ↳ 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: 0.9ms | Allocations: 351) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 469) + Rendered articles/_medium_featured.html.erb (Duration: 3.7ms | Allocations: 1063) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 286) + Rendered articles/_medium_featured.html.erb (Duration: 3.2ms | Allocations: 563) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 291) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 288) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 28.9ms | Allocations: 6694) +  (0.9ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 12.2ms | Allocations: 1309) + Rendered articles/_about.html.erb (Duration: 0.3ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 1.4ms | Allocations: 1227) + Rendered articles/_elsewhere.html.erb (Duration: 0.3ms | Allocations: 112) + Rendered articles/_right_side.html.erb (Duration: 4.5ms | Allocations: 2229) + Category Load (0.5ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 122.5ms | Allocations: 22671) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.7ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 2.3ms | Allocations: 999) + Rendered layouts/_flash_messages.html.erb (Duration: 0.6ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.8ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 137.5ms | Allocations: 28071) +Completed 200 OK in 162ms (Views: 138.2ms | ActiveRecord: 4.9ms | Allocations: 35973) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:00:14 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (2.2ms) SELECT 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") + ↳ 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: 1.0ms | Allocations: 351) + Rendered articles/_article_detail.html.erb (Duration: 4.3ms | Allocations: 469) + Rendered articles/_medium_featured.html.erb (Duration: 12.4ms | Allocations: 1063) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 286) + Rendered articles/_medium_featured.html.erb (Duration: 9.0ms | Allocations: 563) + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 290) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 3.0ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 9.2ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 6.7ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 9.2ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 3.6ms | Allocations: 288) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 87.8ms | Allocations: 6690) +  (1.1ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 28.6ms | Allocations: 1308) + Rendered articles/_about.html.erb (Duration: 2.4ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 12.0ms | Allocations: 1239) + Rendered articles/_elsewhere.html.erb (Duration: 0.4ms | Allocations: 112) + Rendered articles/_right_side.html.erb (Duration: 49.3ms | Allocations: 2241) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 306.5ms | Allocations: 22678) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.8ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 2.2ms | Allocations: 999) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.9ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 373.6ms | Allocations: 28077) +Completed 200 OK in 407ms (Views: 375.7ms | ActiveRecord: 7.8ms | Allocations: 35981) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:03:01 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 1.6ms | Allocations: 392) + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 446) + Rendered articles/_medium_featured.html.erb (Duration: 4.0ms | Allocations: 1051) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 286) + Rendered articles/_medium_featured.html.erb (Duration: 4.0ms | Allocations: 575) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.6ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 290) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 2.3ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 288) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 27.2ms | Allocations: 6810) +  (0.5ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 7.5ms | Allocations: 1344) + Rendered articles/_about.html.erb (Duration: 0.5ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 3.2ms | Allocations: 1239) + Rendered articles/_elsewhere.html.erb (Duration: 0.5ms | Allocations: 150) + Rendered articles/_right_side.html.erb (Duration: 6.8ms | Allocations: 2276) + Category Load (0.9ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 108.6ms | Allocations: 22895) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.8ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 2.6ms | Allocations: 1000) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.4ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 120.9ms | Allocations: 28303) +Completed 200 OK in 141ms (Views: 121.2ms | ActiveRecord: 3.7ms | Allocations: 36196) + + +Started GET "/pt-BR?page=2" for 127.0.0.1 at 2022-07-25 09:03:12 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"page"=>"2", "locale"=>"pt-BR"} + Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 2.0ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 4.4ms | Allocations: 287) + Rendered articles/_medium_featured.html.erb (Duration: 9.9ms | Allocations: 577) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 286) + Rendered articles/_medium_featured.html.erb (Duration: 3.5ms | Allocations: 575) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.0ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 10]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 5], ["id", 2], ["id", 10], ["id", 9], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 290) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 3.6ms | Allocations: 288) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 32.4ms | Allocations: 6667) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 3.2ms | Allocations: 1355) + Rendered articles/_about.html.erb (Duration: 0.1ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 2.1ms | Allocations: 1068) + Rendered articles/_elsewhere.html.erb (Duration: 0.7ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 4.6ms | Allocations: 1398) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 97.0ms | Allocations: 19933) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.3ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 0.9ms | Allocations: 486) + 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: 102.5ms | Allocations: 23694) +Completed 200 OK in 139ms (Views: 102.7ms | ActiveRecord: 4.8ms | Allocations: 30527) + + +Started GET "/pt-BR?page=2" for 127.0.0.1 at 2022-07-25 09:04:23 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"page"=>"2", "locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 1.1ms | Allocations: 386) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 446) + Rendered articles/_medium_featured.html.erb (Duration: 5.1ms | Allocations: 1052) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 286) + Rendered articles/_medium_featured.html.erb (Duration: 0.8ms | Allocations: 575) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 10]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 5], ["id", 2], ["id", 10], ["id", 9], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 290) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 3.5ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 288) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 34.4ms | Allocations: 6810) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 6.0ms | Allocations: 1516) + Rendered articles/_about.html.erb (Duration: 0.6ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 1.9ms | Allocations: 1173) + Rendered articles/_elsewhere.html.erb (Duration: 0.5ms | Allocations: 144) + Rendered articles/_right_side.html.erb (Duration: 5.6ms | Allocations: 2208) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 94.3ms | Allocations: 22998) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.8ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 2.6ms | Allocations: 999) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.4ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 109.8ms | Allocations: 28397) +Completed 200 OK in 146ms (Views: 109.9ms | ActiveRecord: 3.5ms | Allocations: 36169) + + +Started GET "/en?page=2" for 127.0.0.1 at 2022-07-25 09:04:33 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"page"=>"2", "locale"=>"en"} + Article Load (0.5ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.3ms) SELECT 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") + ↳ 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.4ms | Allocations: 153) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 287) + Rendered articles/_medium_featured.html.erb (Duration: 2.4ms | Allocations: 680) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 286) + Rendered articles/_medium_featured.html.erb (Duration: 2.0ms | Allocations: 575) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.1ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 10]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 5], ["id", 2], ["id", 10], ["id", 9], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 290) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 288) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 44.3ms | Allocations: 6667) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 12.3ms | Allocations: 1341) + Rendered articles/_about.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.2ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 1.1ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 5.9ms | Allocations: 1644) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 151.1ms | Allocations: 20799) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 2.3ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 6.3ms | Allocations: 589) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 169.7ms | Allocations: 24975) +Completed 200 OK in 207ms (Views: 166.2ms | ActiveRecord: 7.9ms | Allocations: 32486) + + +Started GET "/pt-BR?page=2" for 127.0.0.1 at 2022-07-25 09:04:44 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"page"=>"2", "locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 0.8ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 287) + Rendered articles/_medium_featured.html.erb (Duration: 1.9ms | Allocations: 577) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 286) + Rendered articles/_medium_featured.html.erb (Duration: 2.0ms | Allocations: 575) + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.6ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 10]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 5], ["id", 2], ["id", 10], ["id", 9], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 290) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 288) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 25.5ms | Allocations: 6667) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 9.1ms | Allocations: 1342) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.1ms | Allocations: 1003) + Rendered articles/_elsewhere.html.erb (Duration: 0.1ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 1.9ms | Allocations: 1333) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 87.4ms | Allocations: 19855) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.9ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 8.6ms | Allocations: 486) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 108.0ms | Allocations: 23616) +Completed 200 OK in 125ms (Views: 105.3ms | ActiveRecord: 4.5ms | Allocations: 30320) + + +Started GET "/pt-BR/articles/58" for 127.0.0.1 at 2022-07-25 09:04:53 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"58"} + Article Load (1.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 58], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 58]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 37.7ms | Allocations: 3068) + Rendered collection of templates [0 times] (Duration: 0.8ms | Allocations: 54) + Rendered comments/_form.html.erb (Duration: 47.7ms | Allocations: 7245) + Rendered articles/show.html.erb within layouts/application (Duration: 110.4ms | Allocations: 11526) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 1.4ms | Allocations: 222) + Rendered layouts/_topnavbar.html.erb (Duration: 7.1ms | Allocations: 504) + Rendered layouts/_flash_messages.html.erb (Duration: 0.7ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 1.0ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 133.6ms | Allocations: 15341) +Completed 200 OK in 316ms (Views: 145.5ms | ActiveRecord: 4.8ms | Allocations: 24262) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 09:05:00 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (2.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 78.0ms | Allocations: 3166) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 2.5ms | Allocations: 234) + Rendered layouts/_topnavbar.html.erb (Duration: 28.9ms | Allocations: 522) + Rendered layouts/_flash_messages.html.erb (Duration: 0.9ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 1.5ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 152.7ms | Allocations: 7163) +Completed 200 OK in 240ms (Views: 166.3ms | ActiveRecord: 2.5ms | Allocations: 10108) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:05:02 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.8ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.2ms) SELECT 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") + ↳ 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: 1.1ms | Allocations: 153) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 293) + Rendered articles/_medium_featured.html.erb (Duration: 9.9ms | Allocations: 601) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 286) + Rendered articles/_medium_featured.html.erb (Duration: 8.2ms | Allocations: 575) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.2ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (2.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 7.4ms | Allocations: 290) + Rendered articles/_article_detail.html.erb (Duration: 3.5ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 3.7ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 10.5ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 288) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 58.6ms | Allocations: 6672) +  (0.9ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 24.0ms | Allocations: 1186) + Rendered articles/_about.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.9ms | Allocations: 1003) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 4.2ms | Allocations: 1333) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 212.8ms | Allocations: 19763) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 1.4ms | Allocations: 487) + 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: 226.4ms | Allocations: 23525) +Completed 200 OK in 371ms (Views: 222.7ms | ActiveRecord: 10.0ms | Allocations: 30473) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:05:10 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (4.6ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (2.0ms) SELECT 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") + ↳ 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: 2.9ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 287) + Rendered articles/_medium_featured.html.erb (Duration: 6.7ms | Allocations: 577) + Rendered articles/_article_detail.html.erb (Duration: 3.4ms | Allocations: 286) + Rendered articles/_medium_featured.html.erb (Duration: 33.4ms | Allocations: 575) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (6.7ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 290) + Rendered articles/_article_detail.html.erb (Duration: 5.9ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 22.0ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 4.7ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 289) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 288) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 288) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 88.6ms | Allocations: 6667) +  (1.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 12.6ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 1.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 2.7ms | Allocations: 1003) + Rendered articles/_elsewhere.html.erb (Duration: 1.0ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 11.1ms | Allocations: 1333) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 275.1ms | Allocations: 19663) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 1.3ms | Allocations: 486) + 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: 292.7ms | Allocations: 23424) +Completed 200 OK in 401ms (Views: 291.4ms | ActiveRecord: 17.7ms | Allocations: 30133) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:07:05 -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#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.2ms) SELECT sqlite_version(*) + ↳ app/models/category.rb:6:in `block in ' + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.6ms) SELECT 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") + ↳ 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.4ms | Allocations: 371) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 385) + Rendered articles/_medium_featured.html.erb (Duration: 9.5ms | Allocations: 748) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 3.2ms | Allocations: 601) + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 67.4ms | Allocations: 6930) +  (0.8ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 23.6ms | Allocations: 1881) + Rendered articles/_about.html.erb (Duration: 1.4ms | Allocations: 68) + Rendered articles/_archives.html.erb (Duration: 4.2ms | Allocations: 1022) + Rendered articles/_elsewhere.html.erb (Duration: 1.2ms | Allocations: 54) + Rendered articles/_right_side.html.erb (Duration: 19.7ms | Allocations: 1355) + Category Load (0.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 225.3ms | Allocations: 21667) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.6ms | Allocations: 311) + Rendered layouts/_topnavbar.html.erb (Duration: 2.9ms | Allocations: 906) + Rendered layouts/_flash_messages.html.erb (Duration: 0.3ms | Allocations: 68) + Rendered layouts/_footer.html.erb (Duration: 1.1ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 261.7ms | Allocations: 26015) +Completed 200 OK in 361ms (Views: 263.8ms | ActiveRecord: 11.9ms | Allocations: 51471) + + +Started GET "/en" for 127.0.0.1 at 2022-07-25 09:07:15 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"en"} + Article Load (0.7ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.9ms) SELECT 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") + ↳ 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: 2.4ms | Allocations: 163) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 319) + Rendered articles/_medium_featured.html.erb (Duration: 12.4ms | Allocations: 626) + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 3.7ms | Allocations: 600) + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.7ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 17.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 8.9ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 7.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 14.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 5.2ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 146.5ms | Allocations: 6921) +  (1.6ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 23.2ms | Allocations: 1186) + Rendered articles/_about.html.erb (Duration: 0.4ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 17.4ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.5ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 31.1ms | Allocations: 1332) + Category Load (0.9ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 328.8ms | Allocations: 20081) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 2.7ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 13.0ms | Allocations: 493) + Rendered layouts/_flash_messages.html.erb (Duration: 0.8ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 1.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 394.9ms | Allocations: 23978) +Completed 200 OK in 529ms (Views: 392.2ms | ActiveRecord: 11.9ms | Allocations: 31055) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:07:19 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.3ms) SELECT 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") + ↳ 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.5ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 6.6ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 5.9ms | Allocations: 601) + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.9ms | Allocations: 316) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 8.4ms | Allocations: 314) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 57.1ms | Allocations: 6927) +  (1.1ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 11.5ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 2.2ms | Allocations: 1003) + Rendered articles/_elsewhere.html.erb (Duration: 0.9ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 8.2ms | Allocations: 1333) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 158.1ms | Allocations: 19975) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 2.3ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 6.0ms | Allocations: 486) + Rendered layouts/_flash_messages.html.erb (Duration: 0.5ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.7ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 200.7ms | Allocations: 23736) +Completed 200 OK in 263ms (Views: 197.8ms | ActiveRecord: 7.1ms | Allocations: 30425) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:21:03 -0300 +  (2.1ms) SELECT sqlite_version(*) +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +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#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (2.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (7.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.5ms) SELECT 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") + ↳ 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: 1.1ms | Allocations: 681) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 611) + Rendered articles/_medium_featured.html.erb (Duration: 3.3ms | Allocations: 1619) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 3.6ms | Allocations: 600) + User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.8ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 3.0ms | Allocations: 357) + Rendered articles/_article_detail.html.erb (Duration: 2.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 27.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 19.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 5.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 20.1ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 134.7ms | Allocations: 7169) +  (3.9ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 28.3ms | Allocations: 2315) + Rendered articles/_about.html.erb (Duration: 0.9ms | Allocations: 187) + Rendered articles/_archives.html.erb (Duration: 7.2ms | Allocations: 1196) + Rendered articles/_elsewhere.html.erb (Duration: 2.1ms | Allocations: 151) + Rendered articles/_right_side.html.erb (Duration: 19.3ms | Allocations: 2280) + Category Load (0.7ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 269.7ms | Allocations: 26575) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 5.7ms | Allocations: 553) + Rendered layouts/_topnavbar.html.erb (Duration: 13.3ms | Allocations: 1533) + Rendered layouts/_flash_messages.html.erb (Duration: 2.8ms | Allocations: 238) + Rendered layouts/_footer.html.erb (Duration: 0.6ms | Allocations: 187) + Rendered layout layouts/application.html.erb (Duration: 355.5ms | Allocations: 34852) +Completed 200 OK in 1346ms (Views: 351.1ms | ActiveRecord: 43.2ms | Allocations: 127922) + + +Started DELETE "/pt-BR/users/sign_out" for 127.0.0.1 at 2022-07-25 09:21:08 -0300 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "locale"=>"pt-BR"} + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + TRANSACTION (0.4ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (8.7ms) UPDATE "users" SET "remember_created_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["remember_created_at", nil], ["updated_at", "2022-07-25 12:21:08.380411"], ["id", 3]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (71.5ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 172ms (ActiveRecord: 81.1ms | Allocations: 9425) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:21:08 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (1.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (2.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.9ms) SELECT 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") + ↳ 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: 2.8ms | Allocations: 184) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered articles/_medium_featured.html.erb (Duration: 2.2ms | Allocations: 619) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 9.0ms | Allocations: 600) + Article Load (10.1ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 8.5ms | Allocations: 316) + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 8.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 8.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 5.3ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 104.7ms | Allocations: 6922) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 16.9ms | Allocations: 1192) + Rendered articles/_about.html.erb (Duration: 1.4ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 3.1ms | Allocations: 1003) + Rendered articles/_elsewhere.html.erb (Duration: 0.4ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 22.5ms | Allocations: 1333) + Category Load (0.7ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 338.1ms | Allocations: 19119) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.6ms | Allocations: 286) + Rendered layouts/_topnavbar.html.erb (Duration: 1.7ms | Allocations: 509) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 63) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 362.5ms | Allocations: 23056) +Completed 200 OK in 484ms (Views: 366.5ms | ActiveRecord: 17.8ms | Allocations: 30019) + + +Started GET "/pt-BR/users/sign_up" for 127.0.0.1 at 2022-07-25 09:21:10 -0300 +Processing by Devise::RegistrationsController#new as HTML + Parameters: {"locale"=>"pt-BR"} + Rendering layout layouts/application.html.erb + Rendering devise/registrations/new.html.erb within layouts/application + Rendered devise/shared/_links.html.erb (Duration: 9.4ms | Allocations: 802) + Rendered devise/registrations/new.html.erb within layouts/application (Duration: 256.8ms | Allocations: 17067) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 1.6ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 11.4ms | Allocations: 490) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.7ms | Allocations: 69) + Rendered layout layouts/application.html.erb (Duration: 300.6ms | Allocations: 20958) +Completed 200 OK in 364ms (Views: 349.9ms | ActiveRecord: 0.0ms | Allocations: 23328) + + +Started GET "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 09:21:13 -0300 +Processing by Devise::SessionsController#new as HTML + Parameters: {"locale"=>"pt-BR"} + Rendering layout layouts/application.html.erb + Rendering devise/sessions/new.html.erb within layouts/application + Rendered devise/shared/_links.html.erb (Duration: 16.6ms | Allocations: 461) + Rendered devise/sessions/new.html.erb within layouts/application (Duration: 197.8ms | Allocations: 10336) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 15.4ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 30.0ms | Allocations: 490) + Rendered layouts/_flash_messages.html.erb (Duration: 1.0ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 1.0ms | Allocations: 69) + Rendered layout layouts/application.html.erb (Duration: 259.9ms | Allocations: 14214) +Completed 200 OK in 268ms (Views: 264.6ms | ActiveRecord: 0.0ms | Allocations: 16160) + + +Started POST "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 09:21:24 -0300 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Login", "locale"=>"pt-BR"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "admin@admin.com"], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (0.9ms) UPDATE "users" SET "remember_created_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["remember_created_at", "2022-07-25 12:21:25.290318"], ["updated_at", "2022-07-25 12:21:25.291598"], ["id", 3]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (66.1ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (0.2ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (6.2ms) UPDATE "users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["sign_in_count", 11], ["current_sign_in_at", "2022-07-25 12:21:25.388469"], ["last_sign_in_at", "2022-07-25 11:46:55.417998"], ["updated_at", "2022-07-25 12:21:25.389598"], ["id", 3]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (58.6ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 571ms (ActiveRecord: 132.4ms | Allocations: 16822) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:21:25 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (2.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.8ms) SELECT 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") + ↳ 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: 0.6ms | Allocations: 198) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 319) + Rendered articles/_medium_featured.html.erb (Duration: 1.7ms | Allocations: 627) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 3.2ms | Allocations: 600) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.9ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 5.7ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 24.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 18.0ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 87.4ms | Allocations: 6921) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 12.2ms | Allocations: 1191) + Rendered articles/_about.html.erb (Duration: 6.6ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 7.8ms | Allocations: 1003) + Rendered articles/_elsewhere.html.erb (Duration: 1.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 22.8ms | Allocations: 1333) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 206.9ms | Allocations: 20129) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.4ms | Allocations: 219) + Rendered layouts/_topnavbar.html.erb (Duration: 1.8ms | Allocations: 497) + Rendered layouts/_flash_messages.html.erb (Duration: 0.3ms | Allocations: 65) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 215.5ms | Allocations: 24053) +Completed 200 OK in 325ms (Views: 219.6ms | ActiveRecord: 8.6ms | Allocations: 31494) + + +Started DELETE "/pt-BR/users/sign_out" for 127.0.0.1 at 2022-07-25 09:24:03 -0300 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "locale"=>"pt-BR"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + TRANSACTION (4.1ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (0.3ms) UPDATE "users" SET "remember_created_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["remember_created_at", nil], ["updated_at", "2022-07-25 12:24:03.204934"], ["id", 3]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (109.6ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 157ms (ActiveRecord: 114.1ms | Allocations: 7441) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:24:03 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (9.9ms) SELECT 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") + ↳ 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.9ms | Allocations: 386) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 479) + Rendered articles/_medium_featured.html.erb (Duration: 17.3ms | Allocations: 1086) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 2.3ms | Allocations: 601) + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 316) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 14.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 14.9ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 18.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 314) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 118.2ms | Allocations: 7070) +  (0.9ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 14.9ms | Allocations: 1334) + Rendered articles/_about.html.erb (Duration: 1.8ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 10.6ms | Allocations: 1167) + Rendered articles/_elsewhere.html.erb (Duration: 0.5ms | Allocations: 144) + Rendered articles/_right_side.html.erb (Duration: 20.1ms | Allocations: 2201) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 293.8ms | Allocations: 22076) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 22.2ms | Allocations: 410) + Rendered layouts/_topnavbar.html.erb (Duration: 41.8ms | Allocations: 946) + Rendered layouts/_flash_messages.html.erb (Duration: 8.9ms | Allocations: 224) + Rendered layouts/_footer.html.erb (Duration: 6.9ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 422.5ms | Allocations: 27451) +Completed 200 OK in 562ms (Views: 431.1ms | ActiveRecord: 15.1ms | Allocations: 35359) + + +Started GET "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 09:24:05 -0300 +Processing by Devise::SessionsController#new as HTML + Parameters: {"locale"=>"pt-BR"} + Rendering layout layouts/application.html.erb + Rendering devise/sessions/new.html.erb within layouts/application + Rendered devise/shared/_links.html.erb (Duration: 8.4ms | Allocations: 703) + Rendered devise/sessions/new.html.erb within layouts/application (Duration: 406.7ms | Allocations: 10205) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.3ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 1.7ms | Allocations: 490) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 423.4ms | Allocations: 14096) +Completed 200 OK in 456ms (Views: 451.3ms | ActiveRecord: 0.0ms | Allocations: 16296) + + +Started GET "/pt-BR/users/password/new" for 127.0.0.1 at 2022-07-25 09:24:07 -0300 +Processing by Devise::PasswordsController#new as HTML + Parameters: {"locale"=>"pt-BR"} + Rendering layout layouts/application.html.erb + Rendering devise/passwords/new.html.erb within layouts/application + Rendered devise/shared/_links.html.erb (Duration: 3.7ms | Allocations: 330) + Rendered devise/passwords/new.html.erb within layouts/application (Duration: 26.0ms | Allocations: 4333) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 4.1ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 13.7ms | Allocations: 491) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.5ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 77.0ms | Allocations: 8200) +Completed 200 OK in 92ms (Views: 83.4ms | ActiveRecord: 0.0ms | Allocations: 9970) + + +Started GET "/pt-BR/users/confirmation/new" for 127.0.0.1 at 2022-07-25 09:24:09 -0300 +Processing by Devise::ConfirmationsController#new as HTML + Parameters: {"locale"=>"pt-BR"} + Rendering layout layouts/application.html.erb + Rendering devise/confirmations/new.html.erb within layouts/application + Rendered devise/shared/_links.html.erb (Duration: 4.4ms | Allocations: 331) + Rendered devise/confirmations/new.html.erb within layouts/application (Duration: 42.4ms | Allocations: 4734) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 2.5ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 11.6ms | Allocations: 524) + Rendered layouts/_flash_messages.html.erb (Duration: 0.8ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 1.2ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 83.9ms | Allocations: 8632) +Completed 200 OK in 98ms (Views: 90.1ms | ActiveRecord: 0.0ms | Allocations: 10282) + + +Started GET "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 09:24:10 -0300 +Processing by Devise::SessionsController#new as HTML + Parameters: {"locale"=>"pt-BR"} + Rendering layout layouts/application.html.erb + Rendering devise/sessions/new.html.erb within layouts/application + Rendered devise/shared/_links.html.erb (Duration: 3.7ms | Allocations: 297) + Rendered devise/sessions/new.html.erb within layouts/application (Duration: 84.7ms | Allocations: 9139) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 1.3ms | Allocations: 208) + Rendered layouts/_topnavbar.html.erb (Duration: 2.2ms | Allocations: 441) + 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: 144.5ms | Allocations: 12748) +Completed 200 OK in 169ms (Views: 149.4ms | ActiveRecord: 0.0ms | Allocations: 13517) + + +Started POST "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 09:24:13 -0300 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login", "locale"=>"pt-BR"} + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "admin@admin.com"], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (0.3ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (3.0ms) UPDATE "users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["sign_in_count", 12], ["current_sign_in_at", "2022-07-25 12:24:13.624965"], ["last_sign_in_at", "2022-07-25 12:21:25.388469"], ["updated_at", "2022-07-25 12:24:13.626345"], ["id", 3]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (58.0ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 536ms (ActiveRecord: 62.3ms | Allocations: 9553) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:24:13 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (1.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.7ms) SELECT 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") + ↳ 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: 1.4ms | Allocations: 161) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 313) + Rendered articles/_medium_featured.html.erb (Duration: 4.8ms | Allocations: 618) + Rendered articles/_article_detail.html.erb (Duration: 10.4ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 15.6ms | Allocations: 600) + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 47.1ms | Allocations: 6921) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 5.4ms | Allocations: 1183) + Rendered articles/_about.html.erb (Duration: 1.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 28.7ms | Allocations: 1003) + Rendered articles/_elsewhere.html.erb (Duration: 1.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 39.6ms | Allocations: 1333) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 183.4ms | Allocations: 20038) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 1.3ms | Allocations: 229) + Rendered layouts/_topnavbar.html.erb (Duration: 4.6ms | Allocations: 500) + Rendered layouts/_flash_messages.html.erb (Duration: 0.9ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.6ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 207.6ms | Allocations: 23830) +Completed 200 OK in 301ms (Views: 207.0ms | ActiveRecord: 7.3ms | Allocations: 30672) + + +Started GET "/pt-BR/users/edit" for 127.0.0.1 at 2022-07-25 09:24:22 -0300 +Processing by Devise::RegistrationsController#edit as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + Rendering layout layouts/application.html.erb + Rendering devise/registrations/edit.html.erb within layouts/application + Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 25.1ms | Allocations: 8480) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 1.3ms | Allocations: 233) + Rendered layouts/_topnavbar.html.erb (Duration: 7.9ms | Allocations: 532) + Rendered layouts/_flash_messages.html.erb (Duration: 0.8ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 1.2ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 71.2ms | Allocations: 12384) +Completed 200 OK in 92ms (Views: 78.7ms | ActiveRecord: 0.2ms | Allocations: 15170) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:24:35 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (2.0ms) SELECT 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") + ↳ 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.4ms | Allocations: 158) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 319) + Rendered articles/_medium_featured.html.erb (Duration: 23.0ms | Allocations: 625) + Rendered articles/_article_detail.html.erb (Duration: 12.8ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 30.0ms | Allocations: 600) + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (21.8ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 3.5ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 79.6ms | Allocations: 6922) +  (1.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 33.8ms | Allocations: 1188) + Rendered articles/_about.html.erb (Duration: 1.0ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 14.7ms | Allocations: 1003) + Rendered articles/_elsewhere.html.erb (Duration: 0.7ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 22.8ms | Allocations: 1333) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 415.8ms | Allocations: 20058) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 0.7ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 7.0ms | Allocations: 486) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 465.5ms | Allocations: 23822) +Completed 200 OK in 639ms (Views: 443.6ms | ActiveRecord: 29.7ms | Allocations: 30866) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:29:59 -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#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.5ms) SELECT sqlite_version(*) + ↳ app/models/category.rb:6:in `block in ' + Article Load (8.7ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (4.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (12.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.6ms) SELECT 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") + ↳ 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: 5.6ms | Allocations: 372) + Rendered articles/_article_detail.html.erb (Duration: 19.0ms | Allocations: 382) + Rendered articles/_medium_featured.html.erb (Duration: 21.0ms | Allocations: 744) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 6.9ms | Allocations: 600) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.4ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 14.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 16.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 9.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 15.0ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 219.0ms | Allocations: 6925) +  (0.5ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 13.2ms | Allocations: 1883) + Rendered articles/_about.html.erb (Duration: 1.1ms | Allocations: 68) + Rendered articles/_archives.html.erb (Duration: 33.9ms | Allocations: 1021) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 54) + Rendered articles/_right_side.html.erb (Duration: 39.0ms | Allocations: 1354) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 524.7ms | Allocations: 21658) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 6.9ms | Allocations: 311) + Rendered layouts/_topnavbar.html.erb (Duration: 14.8ms | Allocations: 906) + Rendered layouts/_flash_messages.html.erb (Duration: 6.4ms | Allocations: 68) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 574.8ms | Allocations: 26009) +Completed 200 OK in 984ms (Views: 574.6ms | ActiveRecord: 33.9ms | Allocations: 50021) + + +Started GET "/pt-BR/articles?month_year=July+2021" for 127.0.0.1 at 2022-07-25 09:30:03 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"month_year"=>"July 2021", "locale"=>"pt-BR"} + Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."created_at" BETWEEN ? AND ? ORDER BY "articles"."created_at" DESC LIMIT ? [["created_at", "2021-07-01"], ["created_at", "2021-08-01"], ["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 8], ["id", 5]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (2.0ms) SELECT 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") + ↳ 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: 2.4ms | Allocations: 162) + Rendered articles/_article_detail.html.erb (Duration: 20.9ms | Allocations: 319) + Rendered articles/_medium_featured.html.erb (Duration: 31.8ms | Allocations: 625) + Rendered articles/_article_detail.html.erb (Duration: 14.6ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 22.4ms | Allocations: 601) + User Load (1.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.9ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (88,72,36)) AND "articles"."created_at" BETWEEN ? AND ? ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["created_at", "2021-07-01"], ["created_at", "2021-08-01"], ["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.9ms | Allocations: 264) + Rendered collection of articles/_article.html.erb [1 times] (Duration: 7.4ms | Allocations: 754) + Rendered articles/_pagination.html.erb (Duration: 2.3ms | Allocations: 94) + Rendered articles/_about.html.erb (Duration: 0.4ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 6.4ms | Allocations: 983) + Rendered articles/_elsewhere.html.erb (Duration: 1.1ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 11.7ms | Allocations: 1313) + Category Load (0.8ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 194.2ms | Allocations: 10285) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 2.8ms | Allocations: 219) + Rendered layouts/_topnavbar.html.erb (Duration: 53.0ms | Allocations: 495) + Rendered layouts/_flash_messages.html.erb (Duration: 38.9ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 368.9ms | Allocations: 14175) +Completed 200 OK in 567ms (Views: 371.8ms | ActiveRecord: 11.1ms | Allocations: 21370) + + +Started GET "/pt-BR/articles?month_year=September+2021" for 127.0.0.1 at 2022-07-25 09:30:10 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"month_year"=>"September 2021", "locale"=>"pt-BR"} + Article Load (1.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."created_at" BETWEEN ? AND ? ORDER BY "articles"."created_at" DESC LIMIT ? [["created_at", "2021-09-01"], ["created_at", "2021-10-01"], ["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?) [["id", 5], ["id", 2], ["id", 10]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.5ms) SELECT 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") + ↳ 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: 1.1ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 4.5ms | Allocations: 314) + Rendered articles/_medium_featured.html.erb (Duration: 24.9ms | Allocations: 604) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 2.1ms | Allocations: 601) + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.7ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (42,13,139)) AND "articles"."created_at" BETWEEN ? AND ? ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["created_at", "2021-09-01"], ["created_at", "2021-10-01"], ["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (3.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?) [["id", 9], ["id", 5], ["id", 10], ["id", 11], ["id", 8]] + ↳ app/views/articles/index.html.erb:17 + CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 11.3ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 7.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 6.8ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 13.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 26.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 5.2ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 129.8ms | Allocations: 6916) +  (1.7ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (42,13,139)) AND "articles"."created_at" BETWEEN ? AND ? [["created_at", "2021-09-01"], ["created_at", "2021-10-01"]] + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 15.1ms | Allocations: 1229) + Rendered articles/_about.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 3.5ms | Allocations: 978) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 5.0ms | Allocations: 1308) + Category Load (0.7ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 269.8ms | Allocations: 19906) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_account_links.html.erb (Duration: 1.6ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 4.0ms | Allocations: 486) + Rendered layouts/_flash_messages.html.erb (Duration: 1.1ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 1.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 285.6ms | Allocations: 23668) +Completed 200 OK in 392ms (Views: 279.5ms | ActiveRecord: 10.7ms | Allocations: 30441) + + +Started GET "/pt-BR/articles?month_year=September+2021" for 127.0.0.1 at 2022-07-25 09:35:53 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"month_year"=>"September 2021", "locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."created_at" BETWEEN ? AND ? ORDER BY "articles"."created_at" DESC LIMIT ? [["created_at", "2021-09-01"], ["created_at", "2021-10-01"], ["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?) [["id", 5], ["id", 2], ["id", 10]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.2ms) SELECT 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") + ↳ 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: 16.5ms | Allocations: 386) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 481) + Rendered articles/_medium_featured.html.erb (Duration: 5.4ms | Allocations: 1087) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 5.0ms | Allocations: 601) + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (42,13,139)) AND "articles"."created_at" BETWEEN ? AND ? ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["created_at", "2021-09-01"], ["created_at", "2021-10-01"], ["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?) [["id", 9], ["id", 5], ["id", 10], ["id", 11], ["id", 8]] + ↳ app/views/articles/index.html.erb:17 + CACHE User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | 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: 2.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 73.6ms | Allocations: 7059) +  (13.6ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (42,13,139)) AND "articles"."created_at" BETWEEN ? AND ? [["created_at", "2021-09-01"], ["created_at", "2021-10-01"]] + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 52.3ms | Allocations: 1379) + Rendered articles/_about.html.erb (Duration: 1.7ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 43.4ms | Allocations: 1143) + Rendered articles/_elsewhere.html.erb (Duration: 0.7ms | Allocations: 147) + Rendered articles/_right_side.html.erb (Duration: 73.3ms | Allocations: 2181) + Category Load (0.6ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 363.3ms | Allocations: 23038) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 14.5ms | Allocations: 272) + Rendered layouts/_account_links.html.erb (Duration: 2.1ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 46.6ms | Allocations: 1485) + Rendered layouts/_flash_messages.html.erb (Duration: 17.6ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 2.4ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 465.0ms | Allocations: 28926) +Completed 200 OK in 516ms (Views: 455.8ms | ActiveRecord: 19.6ms | Allocations: 36869) + + +Started GET "/en" for 127.0.0.1 at 2022-07-25 09:35:57 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"en"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (9.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.7ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (6.0ms) SELECT 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") + ↳ 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: 1.6ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 21.3ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 42.7ms | Allocations: 705) + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 5.4ms | Allocations: 600) + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 10.6ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 61.8ms | Allocations: 6917) +  (1.4ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 20.1ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 2.5ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 3.2ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.4ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 16.9ms | Allocations: 1644) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 289.5ms | Allocations: 20906) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.4ms | Allocations: 133) + Rendered layouts/_account_links.html.erb (Duration: 0.8ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 9.3ms | Allocations: 887) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 338.4ms | Allocations: 25408) +Completed 200 OK in 533ms (Views: 359.3ms | ActiveRecord: 22.4ms | Allocations: 33014) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:36:00 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (1.1ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (4.3ms) SELECT 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") + ↳ 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: 2.7ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 12.3ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 5.6ms | Allocations: 600) + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (10.3ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 15.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 22.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 4.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 313) + 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.8ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 156.3ms | Allocations: 6921) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 2.9ms | Allocations: 1162) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.8ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 2.9ms | Allocations: 1332) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 270.7ms | Allocations: 19967) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.2ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 0.4ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 1.5ms | Allocations: 678) + 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: 279.4ms | Allocations: 23923) +Completed 200 OK in 359ms (Views: 271.7ms | ActiveRecord: 19.4ms | Allocations: 30618) + + +Started GET "/en" for 127.0.0.1 at 2022-07-25 09:36:02 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"en"} + Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (14.8ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (2.5ms) SELECT 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") + ↳ 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: 1.5ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 5.3ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 19.6ms | Allocations: 600) + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.0ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (5.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 4.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 11.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 71.3ms | Allocations: 6917) +  (0.9ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 15.4ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 0.7ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 11.4ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.9ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 23.2ms | Allocations: 1332) + Category Load (0.5ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 233.5ms | Allocations: 19961) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.0ms | Allocations: 132) + Rendered layouts/_account_links.html.erb (Duration: 3.2ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 20.3ms | Allocations: 681) + Rendered layouts/_flash_messages.html.erb (Duration: 1.0ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 5.9ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 290.0ms | Allocations: 23920) +Completed 200 OK in 444ms (Views: 301.5ms | ActiveRecord: 28.0ms | Allocations: 30631) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:36:04 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (15.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (6.2ms) SELECT 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") + ↳ 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: 1.8ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 4.1ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 23.8ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 5.1ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 19.0ms | Allocations: 600) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (3.2ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (21.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 316) + Rendered articles/_article_detail.html.erb (Duration: 4.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 10.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 10.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 78.1ms | Allocations: 6918) +  (0.9ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 16.7ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 0.4ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 3.6ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.8ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 7.6ms | Allocations: 1332) + Category Load (0.5ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 403.0ms | Allocations: 19965) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.7ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 9.3ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 25.2ms | Allocations: 678) + Rendered layouts/_flash_messages.html.erb (Duration: 13.3ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 488.4ms | Allocations: 23921) +Completed 200 OK in 670ms (Views: 483.2ms | ActiveRecord: 48.6ms | Allocations: 30614) + + +Started GET "/en" for 127.0.0.1 at 2022-07-25 09:36:06 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"en"} + Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.2ms) SELECT 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") + ↳ 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: 1.9ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 16.0ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 5.1ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 8.3ms | Allocations: 600) + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 3.9ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 5.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 97.6ms | Allocations: 6917) +  (0.7ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 7.6ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 2.6ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 7.0ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 15.0ms | Allocations: 1332) + Category Load (0.6ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 292.5ms | Allocations: 19961) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.3ms | Allocations: 132) + Rendered layouts/_account_links.html.erb (Duration: 3.0ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 15.7ms | Allocations: 678) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.7ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 333.5ms | Allocations: 23917) +Completed 200 OK in 420ms (Views: 335.1ms | ActiveRecord: 8.0ms | Allocations: 30626) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:36:08 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (36.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.5ms) SELECT 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") + ↳ 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: 36.2ms | Allocations: 153) + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 16.7ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 3.3ms | Allocations: 600) + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.6ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 36.5ms | Allocations: 6917) +  (1.0ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 7.6ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.2ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 4.4ms | Allocations: 1332) + Category Load (0.7ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 175.4ms | Allocations: 19976) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 2.0ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 1.1ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 11.0ms | Allocations: 678) + Rendered layouts/_flash_messages.html.erb (Duration: 0.5ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.5ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 208.7ms | Allocations: 23932) +Completed 200 OK in 689ms (Views: 245.4ms | ActiveRecord: 42.4ms | Allocations: 30630) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:44:32 -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#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.1ms) SELECT sqlite_version(*) + ↳ app/models/category.rb:6:in `block in ' + Article Load (0.5ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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.9ms | Allocations: 371) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 382) + Rendered articles/_medium_featured.html.erb (Duration: 5.4ms | Allocations: 744) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 1.5ms | Allocations: 600) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.6ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 19.7ms | Allocations: 6925) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 3.6ms | Allocations: 1881) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 68) + Rendered articles/_archives.html.erb (Duration: 1.2ms | Allocations: 1021) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 54) + Rendered articles/_right_side.html.erb (Duration: 3.3ms | Allocations: 1354) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 81.2ms | Allocations: 21655) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.3ms | Allocations: 157) + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 293) + Rendered layouts/_topnavbar.html.erb (Duration: 3.8ms | Allocations: 1106) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 68) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 94.5ms | Allocations: 26206) +Completed 200 OK in 183ms (Views: 95.6ms | ActiveRecord: 3.8ms | Allocations: 60199) + + +Started DELETE "/pt-BR/users/sign_out" for 127.0.0.1 at 2022-07-25 09:44:38 -0300 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "locale"=>"pt-BR"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 11ms (ActiveRecord: 0.1ms | Allocations: 3074) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:44:38 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.7ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (2.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 2.8ms | Allocations: 184) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 313) + Rendered articles/_medium_featured.html.erb (Duration: 5.6ms | Allocations: 618) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 3.7ms | Allocations: 600) + Article Load (1.7ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 24.9ms | Allocations: 6921) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 4.6ms | Allocations: 1189) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.2ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 2.1ms | Allocations: 1332) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 82.6ms | Allocations: 19017) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.3ms | Allocations: 133) + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 276) + Rendered layouts/_topnavbar.html.erb (Duration: 1.6ms | Allocations: 693) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 90.4ms | Allocations: 23112) +Completed 200 OK in 145ms (Views: 89.5ms | ActiveRecord: 7.9ms | Allocations: 29970) + + +Started GET "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 09:44:40 -0300 +Processing by Devise::SessionsController#new as HTML + Parameters: {"locale"=>"pt-BR"} + Rendering layout layouts/application.html.erb + Rendering devise/sessions/new.html.erb within layouts/application + Rendered devise/shared/_links.html.erb (Duration: 2.4ms | Allocations: 772) + Rendered devise/sessions/new.html.erb within layouts/application (Duration: 17.5ms | Allocations: 10388) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.3ms | Allocations: 152) + Rendered layouts/_account_links.html.erb (Duration: 0.7ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 2.4ms | Allocations: 703) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 28.4ms | Allocations: 14477) +Completed 200 OK in 33ms (Views: 32.1ms | ActiveRecord: 0.0ms | Allocations: 16663) + + +Started POST "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 09:44:43 -0300 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"teste2@teste2.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login", "locale"=>"pt-BR"} + User Load (6.8ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "teste2@teste2.com"], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (0.9ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (0.5ms) UPDATE "users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["sign_in_count", 6], ["current_sign_in_at", "2022-07-25 12:44:43.623593"], ["last_sign_in_at", "2022-07-23 12:34:36.929737"], ["updated_at", "2022-07-25 12:44:43.623914"], ["id", 2]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (59.3ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 383ms (ActiveRecord: 67.5ms | Allocations: 9435) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:44:43 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (2.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.7ms) SELECT 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") + ↳ 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: 11.8ms | Allocations: 159) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 313) + Rendered articles/_medium_featured.html.erb (Duration: 4.8ms | Allocations: 618) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 2.0ms | Allocations: 600) + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 12.1ms | Allocations: 6921) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 4.4ms | Allocations: 1183) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.7ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.7ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 4.5ms | Allocations: 1332) + Category Load (0.6ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 78.3ms | Allocations: 20018) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_locale_links.html.erb (Duration: 0.3ms | Allocations: 151) + Rendered layouts/_account_links.html.erb (Duration: 0.4ms | Allocations: 222) + Rendered layouts/_topnavbar.html.erb (Duration: 39.8ms | Allocations: 8276) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 69) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 126.7ms | Allocations: 31581) +Completed 200 OK in 188ms (Views: 128.9ms | ActiveRecord: 8.3ms | Allocations: 38426) + + +Started GET "/pt-BR/articles" for 127.0.0.1 at 2022-07-25 09:45:02 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.5ms) SELECT 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") + ↳ 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: 1.2ms | Allocations: 161) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 319) + Rendered articles/_medium_featured.html.erb (Duration: 4.3ms | Allocations: 626) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 8.3ms | Allocations: 600) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.9ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | 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.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 26.0ms | Allocations: 6921) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 3.0ms | Allocations: 1184) + Rendered articles/_about.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.5ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 2.7ms | Allocations: 1332) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 98.9ms | Allocations: 20051) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_locale_links.html.erb (Duration: 0.3ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 8.6ms | Allocations: 1796) + 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: 119.7ms | Allocations: 25251) +Completed 200 OK in 152ms (Views: 116.3ms | ActiveRecord: 6.0ms | Allocations: 32198) + + +Started GET "/pt-BR/articles" for 127.0.0.1 at 2022-07-25 09:45:15 -0300 +  (0.5ms) SELECT sqlite_version(*) +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +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#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.5ms) SELECT 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") + ↳ 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: 1.9ms | Allocations: 684) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 611) + Rendered articles/_medium_featured.html.erb (Duration: 7.8ms | Allocations: 1618) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 2.2ms | Allocations: 600) + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 357) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 4.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 41.6ms | Allocations: 7169) +  (1.7ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 12.0ms | Allocations: 2316) + Rendered articles/_about.html.erb (Duration: 0.5ms | Allocations: 186) + Rendered articles/_archives.html.erb (Duration: 1.7ms | Allocations: 1194) + Rendered articles/_elsewhere.html.erb (Duration: 1.3ms | Allocations: 151) + Rendered articles/_right_side.html.erb (Duration: 7.7ms | Allocations: 2277) + Category Load (1.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 114.7ms | Allocations: 26572) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.8ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_locale_links.html.erb (Duration: 3.4ms | Allocations: 314) + Rendered layouts/_account_links.html.erb (Duration: 2.2ms | Allocations: 517) + Rendered layouts/_topnavbar.html.erb (Duration: 94.3ms | Allocations: 9483) + Rendered layouts/_flash_messages.html.erb (Duration: 2.3ms | Allocations: 238) + Rendered layouts/_footer.html.erb (Duration: 2.6ms | Allocations: 187) + Rendered layout layouts/application.html.erb (Duration: 251.5ms | Allocations: 42799) +Completed 200 OK in 346ms (Views: 248.2ms | ActiveRecord: 13.8ms | Allocations: 83834) + + +Started GET "/pt-BR/articles" for 127.0.0.1 at 2022-07-25 09:45:18 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 1.0ms | Allocations: 206) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 319) + Rendered articles/_medium_featured.html.erb (Duration: 3.9ms | Allocations: 627) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 3.3ms | Allocations: 600) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.7ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.1ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 33.0ms | Allocations: 6921) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 6.8ms | Allocations: 1189) + Rendered articles/_about.html.erb (Duration: 0.5ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 6.6ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.5ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 9.4ms | Allocations: 1332) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 105.7ms | Allocations: 20116) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_locale_links.html.erb (Duration: 0.3ms | Allocations: 133) + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 219) + Rendered layouts/_topnavbar.html.erb (Duration: 8.6ms | Allocations: 1838) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 126.5ms | Allocations: 25369) +Completed 200 OK in 143ms (Views: 123.2ms | ActiveRecord: 5.8ms | Allocations: 32524) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 09:45:38 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:4:in `resolve' +Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.4ms | Allocations: 4547) + + + +ArgumentError (missing keyword: :fallback_location): + +app/controllers/application_controller.rb:24:in `user_not_authorized' +Started GET "/pt-BR/articles" for 127.0.0.1 at 2022-07-25 09:47:28 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.8ms) SELECT 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") + ↳ 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: 1.6ms | Allocations: 195) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 319) + Rendered articles/_medium_featured.html.erb (Duration: 4.8ms | Allocations: 625) + Rendered articles/_article_detail.html.erb (Duration: 7.9ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 15.0ms | Allocations: 600) + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.4ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (2.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 6.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 60.2ms | Allocations: 6921) +  (0.4ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 7.3ms | Allocations: 1191) + Rendered articles/_about.html.erb (Duration: 0.6ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 5.4ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.3ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 11.8ms | Allocations: 1332) + Category Load (0.7ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 199.0ms | Allocations: 20113) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_locale_links.html.erb (Duration: 2.6ms | Allocations: 133) + Rendered layouts/_account_links.html.erb (Duration: 0.7ms | Allocations: 219) + Rendered layouts/_topnavbar.html.erb (Duration: 18.6ms | Allocations: 1839) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 259.0ms | Allocations: 25367) +Completed 200 OK in 323ms (Views: 253.8ms | ActiveRecord: 9.0ms | Allocations: 32498) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 09:48:49 -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#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.6ms) SELECT sqlite_version(*) + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:4:in `resolve' +Completed 500 Internal Server Error in 98ms (ActiveRecord: 12.0ms | Allocations: 19161) + + + +ArgumentError (missing keyword: :fallback_location): + +app/controllers/application_controller.rb:24:in `user_not_authorized' +Started GET "/pt-BR/articles" for 127.0.0.1 at 2022-07-25 09:49:08 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (1.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.5ms) SELECT 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") + ↳ 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: 1.0ms | Allocations: 371) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 381) + Rendered articles/_medium_featured.html.erb (Duration: 6.1ms | Allocations: 743) + Rendered articles/_article_detail.html.erb (Duration: 3.8ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 8.2ms | Allocations: 600) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.6ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 8.5ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.8ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 46.2ms | Allocations: 6925) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 4.7ms | Allocations: 1854) + Rendered articles/_about.html.erb (Duration: 1.3ms | Allocations: 68) + Rendered articles/_archives.html.erb (Duration: 2.7ms | Allocations: 1021) + Rendered articles/_elsewhere.html.erb (Duration: 1.1ms | Allocations: 54) + Rendered articles/_right_side.html.erb (Duration: 18.6ms | Allocations: 1355) + Category Load (0.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 140.9ms | Allocations: 21462) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_locale_links.html.erb (Duration: 0.3ms | Allocations: 135) + Rendered layouts/_account_links.html.erb (Duration: 0.6ms | Allocations: 290) + Rendered layouts/_topnavbar.html.erb (Duration: 6.0ms | Allocations: 1935) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 160.7ms | Allocations: 26840) +Completed 200 OK in 295ms (Views: 160.2ms | ActiveRecord: 9.0ms | Allocations: 42032) + + +Started GET "/pt-BR/articles" for 127.0.0.1 at 2022-07-25 09:49:49 -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#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.1ms) SELECT sqlite_version(*) + ↳ app/models/category.rb:6:in `block in ' + Article Load (0.5ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.5ms) SELECT 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") + ↳ 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: 1.9ms | Allocations: 371) + Rendered articles/_article_detail.html.erb (Duration: 5.4ms | Allocations: 382) + Rendered articles/_medium_featured.html.erb (Duration: 12.0ms | Allocations: 749) + Rendered articles/_article_detail.html.erb (Duration: 7.7ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 15.5ms | Allocations: 600) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 14.5ms | Allocations: 6925) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 5.0ms | Allocations: 1883) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 68) + Rendered articles/_archives.html.erb (Duration: 1.4ms | Allocations: 1021) + Rendered articles/_elsewhere.html.erb (Duration: 0.1ms | Allocations: 54) + Rendered articles/_right_side.html.erb (Duration: 2.7ms | Allocations: 1354) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 122.3ms | Allocations: 21663) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_locale_links.html.erb (Duration: 0.5ms | Allocations: 153) + Rendered layouts/_account_links.html.erb (Duration: 0.8ms | Allocations: 295) + Rendered layouts/_topnavbar.html.erb (Duration: 211.9ms | Allocations: 6438) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 68) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 370.2ms | Allocations: 31547) +Completed 200 OK in 458ms (Views: 370.9ms | ActiveRecord: 13.9ms | Allocations: 57175) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 09:49:53 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:4:in `resolve' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 12ms (ActiveRecord: 0.5ms | Allocations: 4183) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:49:53 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (8.8ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (4.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.5ms) SELECT 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") + ↳ 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: 184) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 313) + Rendered articles/_medium_featured.html.erb (Duration: 2.0ms | Allocations: 620) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 6.7ms | Allocations: 600) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.9ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 19.2ms | Allocations: 6921) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 3.0ms | Allocations: 1191) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.5ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.3ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 5.0ms | Allocations: 1332) + Category Load (1.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 74.8ms | Allocations: 20063) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_locale_links.html.erb (Duration: 4.9ms | Allocations: 133) + Rendered layouts/_account_links.html.erb (Duration: 1.8ms | Allocations: 219) + Rendered layouts/_topnavbar.html.erb (Duration: 13.3ms | Allocations: 1776) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 64) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 96.0ms | Allocations: 25253) +Completed 200 OK in 150ms (Views: 95.8ms | ActiveRecord: 17.9ms | Allocations: 32181) + + +Started GET "/pt-BR/categories/new" for 127.0.0.1 at 2022-07-25 09:50:24 -0300 +Processing by CategoriesController#new as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:17:in `create?' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 13ms (ActiveRecord: 0.4ms | Allocations: 2897) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:50:24 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.8ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (2.7ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (2.1ms) SELECT 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") + ↳ 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: 2.0ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 5.3ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 10.3ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 3.9ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 11.7ms | Allocations: 600) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 4.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 5.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.5ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 76.1ms | Allocations: 6917) +  (5.7ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 20.9ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 3.0ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 5.1ms | Allocations: 1332) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 207.7ms | Allocations: 19960) +[Webpacker] Everything's up-to-date. Nothing to do + Role Load (0.8ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = ? AND (((roles.name = 'moderator') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL))) [["user_id", 2]] + ↳ app/policies/category_policy.rb:13:in `index?' + Rendered layouts/_locale_links.html.erb (Duration: 0.5ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 0.9ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 11.8ms | Allocations: 1768) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 239.7ms | Allocations: 25010) +Completed 200 OK in 318ms (Views: 230.7ms | ActiveRecord: 17.1ms | Allocations: 31719) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:51:41 -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#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.5ms) SELECT sqlite_version(*) + ↳ app/models/category.rb:6:in `block in ' + Article Load (1.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.2ms) SELECT 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") + ↳ 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: 2.4ms | Allocations: 371) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 382) + Rendered articles/_medium_featured.html.erb (Duration: 1.9ms | Allocations: 744) + Rendered articles/_article_detail.html.erb (Duration: 6.3ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 9.1ms | Allocations: 600) + Article Load (2.2ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 11.1ms | Allocations: 6925) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 13.4ms | Allocations: 1886) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 68) + Rendered articles/_archives.html.erb (Duration: 1.4ms | Allocations: 1021) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 54) + Rendered articles/_right_side.html.erb (Duration: 3.0ms | Allocations: 1354) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 80.9ms | Allocations: 20464) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.7ms | Allocations: 157) + Rendered layouts/_account_links.html.erb (Duration: 3.0ms | Allocations: 301) + Rendered layouts/_topnavbar.html.erb (Duration: 16.6ms | Allocations: 1076) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 68) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 69) + Rendered layout layouts/application.html.erb (Duration: 118.3ms | Allocations: 25012) +Completed 200 OK in 236ms (Views: 116.6ms | ActiveRecord: 15.1ms | Allocations: 50551) + + +Started DELETE "/pt-BR/users/sign_out" for 127.0.0.1 at 2022-07-25 09:56:13 -0300 +  (0.5ms) SELECT sqlite_version(*) +  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +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 Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "locale"=>"pt-BR"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 58ms (ActiveRecord: 2.3ms | Allocations: 26158) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:56:13 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.7ms) SELECT 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") + ↳ 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: 1.4ms | Allocations: 589) + Rendered articles/_article_detail.html.erb (Duration: 1.4ms | Allocations: 589) + Rendered articles/_medium_featured.html.erb (Duration: 5.4ms | Allocations: 1584) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 1.7ms | Allocations: 600) + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 12.4ms | Allocations: 7090) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 9.3ms | Allocations: 2276) + Rendered articles/_about.html.erb (Duration: 0.7ms | Allocations: 186) + Rendered articles/_archives.html.erb (Duration: 1.6ms | Allocations: 1194) + Rendered articles/_elsewhere.html.erb (Duration: 0.4ms | Allocations: 151) + Rendered articles/_right_side.html.erb (Duration: 4.7ms | Allocations: 2277) + Category Load (0.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 91.5ms | Allocations: 24733) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.9ms | Allocations: 315) + Rendered layouts/_account_links.html.erb (Duration: 1.2ms | Allocations: 508) + Rendered layouts/_topnavbar.html.erb (Duration: 5.0ms | Allocations: 1912) + Rendered layouts/_flash_messages.html.erb (Duration: 0.9ms | Allocations: 235) + Rendered layouts/_footer.html.erb (Duration: 0.4ms | Allocations: 187) + Rendered layout layouts/application.html.erb (Duration: 118.3ms | Allocations: 33522) +Completed 200 OK in 193ms (Views: 132.3ms | ActiveRecord: 7.3ms | Allocations: 56835) + + +Started GET "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 09:56:16 -0300 +Processing by Devise::SessionsController#new as HTML + Parameters: {"locale"=>"pt-BR"} + Rendering layout layouts/application.html.erb + Rendering devise/sessions/new.html.erb within layouts/application + Rendered devise/shared/_links.html.erb (Duration: 4.2ms | Allocations: 949) + Rendered devise/sessions/new.html.erb within layouts/application (Duration: 61.3ms | Allocations: 19312) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.4ms | Allocations: 154) + Rendered layouts/_account_links.html.erb (Duration: 0.4ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 1.7ms | Allocations: 705) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.1ms | Allocations: 69) + Rendered layout layouts/application.html.erb (Duration: 69.7ms | Allocations: 23406) +Completed 200 OK in 76ms (Views: 74.0ms | ActiveRecord: 0.0ms | Allocations: 25956) + + +Started POST "/pt-BR/users/sign_in" for 127.0.0.1 at 2022-07-25 09:56:20 -0300 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Login", "locale"=>"pt-BR"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "admin@admin.com"], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (0.3ms) UPDATE "users" SET "remember_created_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["remember_created_at", "2022-07-25 12:56:21.074510"], ["updated_at", "2022-07-25 12:56:21.074830"], ["id", 3]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (66.3ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Update (2.0ms) UPDATE "users" SET "sign_in_count" = ?, "current_sign_in_at" = ?, "last_sign_in_at" = ?, "updated_at" = ? WHERE "users"."id" = ? [["sign_in_count", 13], ["current_sign_in_at", "2022-07-25 12:56:21.153211"], ["last_sign_in_at", "2022-07-25 12:24:13.624965"], ["updated_at", "2022-07-25 12:56:21.153492"], ["id", 3]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (62.5ms) commit transaction + ↳ app/controllers/application_controller.rb:16:in `switch_locale' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 404ms (ActiveRecord: 131.5ms | Allocations: 16169) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 09:56:21 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 0.5ms | Allocations: 198) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 319) + Rendered articles/_medium_featured.html.erb (Duration: 1.3ms | Allocations: 627) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 3.5ms | Allocations: 600) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 316) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 23.6ms | Allocations: 6922) +  (0.9ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 12.7ms | Allocations: 1189) + Rendered articles/_about.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 2.3ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.7ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 5.1ms | Allocations: 1332) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 110.8ms | Allocations: 20168) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.4ms | Allocations: 133) + Rendered layouts/_account_links.html.erb (Duration: 1.9ms | Allocations: 302) + Rendered layouts/_topnavbar.html.erb (Duration: 4.7ms | Allocations: 818) + Rendered layouts/_flash_messages.html.erb (Duration: 0.9ms | Allocations: 65) + Rendered layouts/_footer.html.erb (Duration: 0.9ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 128.1ms | Allocations: 24411) +Completed 200 OK in 151ms (Views: 127.6ms | ActiveRecord: 4.7ms | Allocations: 32115) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 09:56:22 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.9ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 24.0ms | Allocations: 3161) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.3ms | Allocations: 149) + Rendered layouts/_account_links.html.erb (Duration: 0.4ms | Allocations: 231) + Rendered layouts/_topnavbar.html.erb (Duration: 1.5ms | Allocations: 729) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 36.9ms | Allocations: 7355) +Completed 200 OK in 44ms (Views: 38.0ms | ActiveRecord: 1.1ms | Allocations: 10401) + + +Started DELETE "/pt-BR/categories/2" for 127.0.0.1 at 2022-07-25 09:56:25 -0300 +Processing by CategoriesController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "locale"=>"pt-BR", "id"=>"2"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:64:in `set_category' + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/categories_controller.rb:50:in `destroy' + Article Exists? (0.2ms) SELECT 1 AS one FROM "articles" WHERE "articles"."category_id" = ? LIMIT ? [["category_id", 2], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:50:in `destroy' + TRANSACTION (0.0ms) rollback transaction + ↳ app/controllers/categories_controller.rb:50:in `destroy' +Redirected to http://localhost:3000/pt-BR/categories +Completed 302 Found in 33ms (ActiveRecord: 0.9ms | Allocations: 7446) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 09:56:26 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 6.1ms | Allocations: 2637) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.6ms | Allocations: 139) + Rendered layouts/_account_links.html.erb (Duration: 1.0ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 15.4ms | Allocations: 680) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 62) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 37.3ms | Allocations: 6724) +Completed 200 OK in 54ms (Views: 39.4ms | ActiveRecord: 0.5ms | Allocations: 8458) + + +Started GET "/en/categories" for 127.0.0.1 at 2022-07-25 09:59:33 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"en"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 29.1ms | Allocations: 3395) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 2.1ms | Allocations: 282) + Rendered layouts/_account_links.html.erb (Duration: 0.9ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 20.8ms | Allocations: 1469) + Rendered layouts/_flash_messages.html.erb (Duration: 0.6ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 2.4ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 108.6ms | Allocations: 9281) +Completed 200 OK in 140ms (Views: 130.5ms | ActiveRecord: 0.3ms | Allocations: 12092) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 09:59:35 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (1.0ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 40.1ms | Allocations: 2839) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 4.2ms | Allocations: 133) + Rendered layouts/_account_links.html.erb (Duration: 2.7ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 19.7ms | Allocations: 870) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 102.9ms | Allocations: 7293) +Completed 200 OK in 151ms (Views: 122.7ms | ActiveRecord: 1.2ms | Allocations: 9816) + + +Started GET "/en/categories" for 127.0.0.1 at 2022-07-25 09:59:37 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"en"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.5ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 60.1ms | Allocations: 2823) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.3ms | Allocations: 133) + Rendered layouts/_account_links.html.erb (Duration: 1.8ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 16.1ms | Allocations: 665) + Rendered layouts/_flash_messages.html.erb (Duration: 0.8ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 132.3ms | Allocations: 6753) +Completed 200 OK in 164ms (Views: 136.9ms | ActiveRecord: 0.7ms | Allocations: 8347) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 09:59:38 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 29.8ms | Allocations: 2832) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.7ms | Allocations: 132) + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 10.5ms | Allocations: 665) + Rendered layouts/_flash_messages.html.erb (Duration: 0.7ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 1.4ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 95.2ms | Allocations: 6762) +Completed 200 OK in 138ms (Views: 98.7ms | ActiveRecord: 0.8ms | Allocations: 8352) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 10:11:03 -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#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.1ms) SELECT sqlite_version(*) + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 28.5ms | Allocations: 15450) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.0ms | Allocations: 866) + Rendered layouts/_account_links.html.erb (Duration: 1.0ms | Allocations: 490) + Rendered layouts/_topnavbar.html.erb (Duration: 3.8ms | Allocations: 2174) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.6ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 41.1ms | Allocations: 21996) +Completed 200 OK in 83ms (Views: 43.0ms | ActiveRecord: 0.9ms | Allocations: 35822) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 10:11:06 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 9.4ms | Allocations: 2981) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.0ms | Allocations: 132) + Rendered layouts/_account_links.html.erb (Duration: 3.6ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 9.2ms | Allocations: 665) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.8ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 30.1ms | Allocations: 6911) +Completed 200 OK in 37ms (Views: 31.2ms | ActiveRecord: 0.5ms | Allocations: 8648) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 10:11:18 -0300 +  (0.5ms) SELECT sqlite_version(*) +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +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#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 33.7ms | Allocations: 17762) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 13.5ms | Allocations: 899) + Rendered layouts/_account_links.html.erb (Duration: 0.9ms | Allocations: 513) + Rendered layouts/_topnavbar.html.erb (Duration: 21.8ms | Allocations: 2274) + Rendered layouts/_flash_messages.html.erb (Duration: 0.5ms | Allocations: 236) + Rendered layouts/_footer.html.erb (Duration: 0.5ms | Allocations: 187) + Rendered layout layouts/application.html.erb (Duration: 86.1ms | Allocations: 26866) +Completed 200 OK in 121ms (Views: 88.9ms | ActiveRecord: 1.9ms | Allocations: 44457) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 10:12:30 -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#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.1ms) SELECT sqlite_version(*) + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 39.2ms | Allocations: 16437) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.9ms | Allocations: 866) + Rendered layouts/_account_links.html.erb (Duration: 2.5ms | Allocations: 490) + Rendered layouts/_topnavbar.html.erb (Duration: 6.2ms | Allocations: 2180) + Rendered layouts/_flash_messages.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.5ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 56.2ms | Allocations: 22995) +Completed 200 OK in 92ms (Views: 58.6ms | ActiveRecord: 3.4ms | Allocations: 37847) + + +Started GET "/en/categories" for 127.0.0.1 at 2022-07-25 10:12:34 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"en"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.4ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 11.4ms | Allocations: 2847) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.2ms | Allocations: 134) + Rendered layouts/_account_links.html.erb (Duration: 0.4ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 2.1ms | Allocations: 874) + 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: 19.9ms | Allocations: 7298) +Completed 200 OK in 34ms (Views: 23.1ms | ActiveRecord: 0.6ms | Allocations: 9815) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 10:12:34 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 12.0ms | Allocations: 2850) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.4ms | Allocations: 134) + Rendered layouts/_account_links.html.erb (Duration: 1.0ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 16.7ms | Allocations: 667) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.5ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 53.9ms | Allocations: 6823) +Completed 200 OK in 60ms (Views: 55.9ms | ActiveRecord: 0.3ms | Allocations: 8440) + + +Started GET "/pt-BR/categories/new" for 127.0.0.1 at 2022-07-25 10:17:27 -0300 +Processing by CategoriesController#new as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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: 207.5ms | Allocations: 15284) + Rendered categories/new.html.erb within layouts/application (Duration: 211.8ms | Allocations: 15715) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 3.0ms | Allocations: 281) + Rendered layouts/_account_links.html.erb (Duration: 4.9ms | Allocations: 433) + Rendered layouts/_topnavbar.html.erb (Duration: 22.5ms | Allocations: 1499) + Rendered layouts/_flash_messages.html.erb (Duration: 0.8ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.5ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 277.0ms | Allocations: 21540) +Completed 200 OK in 326ms (Views: 303.6ms | ActiveRecord: 0.1ms | Allocations: 24314) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 10:17:36 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (11.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 76.3ms | Allocations: 3134) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.1ms | Allocations: 134) + Rendered layouts/_account_links.html.erb (Duration: 6.9ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 22.4ms | Allocations: 667) + Rendered layouts/_flash_messages.html.erb (Duration: 0.9ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.4ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 142.1ms | Allocations: 7107) +Completed 200 OK in 166ms (Views: 144.4ms | ActiveRecord: 12.2ms | Allocations: 9103) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 10:28:16 -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#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.6ms) SELECT sqlite_version(*) + ↳ app/models/category.rb:6:in `block in ' + Article Load (1.5ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.2ms) SELECT 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") + ↳ 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: 1.2ms | Allocations: 514) + Rendered articles/_article_detail.html.erb (Duration: 4.2ms | Allocations: 592) + Rendered articles/_medium_featured.html.erb (Duration: 7.9ms | Allocations: 1586) + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 4.6ms | Allocations: 600) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.0ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 37.3ms | Allocations: 7090) +  (0.5ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 11.3ms | Allocations: 2270) + Rendered articles/_about.html.erb (Duration: 0.6ms | Allocations: 186) + Rendered articles/_archives.html.erb (Duration: 2.8ms | Allocations: 1194) + Rendered articles/_elsewhere.html.erb (Duration: 2.0ms | Allocations: 151) + Rendered articles/_right_side.html.erb (Duration: 10.2ms | Allocations: 2277) + Category Load (1.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 122.1ms | Allocations: 25385) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 3.1ms | Allocations: 310) + Rendered layouts/_account_links.html.erb (Duration: 3.3ms | Allocations: 489) + Rendered layouts/_topnavbar.html.erb (Duration: 22.0ms | Allocations: 1928) + Rendered layouts/_flash_messages.html.erb (Duration: 0.5ms | Allocations: 220) + Rendered layouts/_footer.html.erb (Duration: 5.9ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 174.8ms | Allocations: 31655) +Completed 200 OK in 502ms (Views: 174.7ms | ActiveRecord: 17.4ms | Allocations: 69679) + + +Started GET "/pt-BR/articles/211" for 127.0.0.1 at 2022-07-25 10:28:19 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (1.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 56.7ms | Allocations: 3765) + Rendered collection of templates [0 times] (Duration: 0.7ms | Allocations: 63) + Rendered comments/_form.html.erb (Duration: 118.9ms | Allocations: 7915) + Rendered articles/show.html.erb within layouts/application (Duration: 226.9ms | Allocations: 13242) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.4ms | Allocations: 144) + Rendered layouts/_account_links.html.erb (Duration: 2.4ms | Allocations: 222) + Rendered layouts/_topnavbar.html.erb (Duration: 8.9ms | Allocations: 724) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 259.7ms | Allocations: 17292) +Completed 200 OK in 336ms (Views: 265.2ms | ActiveRecord: 8.1ms | Allocations: 23313) + + +Started GET "/pt-BR/articles/69" for 127.0.0.1 at 2022-07-25 10:28:26 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"69"} + Article Load (0.7ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.8ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 69]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 3]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 44.0ms | Allocations: 2333) + Rendered collection of comments/_comment.html.erb [2 times] (Duration: 4.7ms | Allocations: 1286) + Rendered comments/_form.html.erb (Duration: 5.1ms | Allocations: 3539) + Rendered articles/show.html.erb within layouts/application (Duration: 84.5ms | Allocations: 8118) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 22.6ms | Allocations: 140) + Rendered layouts/_account_links.html.erb (Duration: 2.9ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 45.4ms | Allocations: 684) + Rendered layouts/_flash_messages.html.erb (Duration: 1.0ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.8ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 203.7ms | Allocations: 11953) +Completed 200 OK in 281ms (Views: 209.7ms | ActiveRecord: 3.0ms | Allocations: 17605) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 10:28:38 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.5ms) SELECT 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") + ↳ 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.7ms | Allocations: 159) + Rendered articles/_article_detail.html.erb (Duration: 22.6ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 34.9ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 8.9ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 44.2ms | Allocations: 600) + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.3ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (2.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 15.4ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 6.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 7.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 5.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 21.9ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 10.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.8ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 7.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 219.2ms | Allocations: 6918) +  (1.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 16.9ms | Allocations: 1183) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.8ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 2.7ms | Allocations: 1332) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 463.8ms | Allocations: 20009) +[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: 2.6ms | Allocations: 678) + Rendered layouts/_flash_messages.html.erb (Duration: 2.3ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 1.3ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 511.4ms | Allocations: 23965) +Completed 200 OK in 575ms (Views: 507.7ms | ActiveRecord: 11.5ms | Allocations: 30772) + + +Started GET "/pt-BR/articles/new" for 127.0.0.1 at 2022-07-25 10:28:41 -0300 +Processing by ArticlesController#new as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Rendering layout layouts/application.html.erb + Rendering articles/new.html.erb within layouts/application + Category Load (0.6ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/_form.html.erb:5 + Rendered articles/_form.html.erb (Duration: 59.6ms | Allocations: 11856) + Rendered articles/new.html.erb within layouts/application (Duration: 65.5ms | Allocations: 12269) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.5ms | Allocations: 137) + Rendered layouts/_account_links.html.erb (Duration: 2.3ms | Allocations: 219) + Rendered layouts/_topnavbar.html.erb (Duration: 5.8ms | Allocations: 704) + Rendered layouts/_flash_messages.html.erb (Duration: 1.3ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 1.5ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 100.2ms | Allocations: 16296) +Completed 200 OK in 160ms (Views: 113.4ms | ActiveRecord: 0.7ms | Allocations: 19710) + + +Started POST "/pt-BR/articles" for 127.0.0.1 at 2022-07-25 10:28:48 -0300 +Processing by ArticlesController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "article"=>{"title"=>"asdasd", "body"=>"asdasdasdasd", "category_id"=>"5"}, "commit"=>"Criar Artigo", "locale"=>"pt-BR"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (0.2ms) begin transaction + ↳ app/controllers/articles_controller.rb:42:in `create' + Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:42:in `create' + Article Create (29.0ms) INSERT INTO "articles" ("title", "body", "created_at", "updated_at", "category_id", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["title", "asdasd"], ["body", "asdasdasdasd"], ["created_at", "2022-07-25 13:28:48.513988"], ["updated_at", "2022-07-25 13:28:48.513988"], ["category_id", 5], ["user_id", 3]] + ↳ app/controllers/articles_controller.rb:42:in `create' + TRANSACTION (86.9ms) commit transaction + ↳ app/controllers/articles_controller.rb:42:in `create' +Redirected to http://localhost:3000/pt-BR/articles/212 +Completed 302 Found in 254ms (ActiveRecord: 117.5ms | Allocations: 9147) + + +Started GET "/pt-BR/articles/212" for 127.0.0.1 at 2022-07-25 10:28:48 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"212"} + Article Load (0.9ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 212], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 212]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (1.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 21.3ms | Allocations: 2297) + Rendered collection of templates [0 times] (Duration: 0.1ms | Allocations: 52) + Rendered comments/_form.html.erb (Duration: 30.3ms | Allocations: 3646) + Rendered articles/show.html.erb within layouts/application (Duration: 78.3ms | Allocations: 6742) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.9ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 2.2ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 12.8ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 62) + Rendered layouts/_footer.html.erb (Duration: 1.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 146.8ms | Allocations: 10580) +Completed 200 OK in 195ms (Views: 146.9ms | ActiveRecord: 2.6ms | Allocations: 13923) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 10:28:51 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?) [["id", 5], ["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.7ms) SELECT 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") + ↳ 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: 2.2ms | Allocations: 157) + Rendered articles/_article_detail.html.erb (Duration: 6.4ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 12.7ms | Allocations: 604) + Rendered articles/_article_detail.html.erb (Duration: 8.6ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 25.0ms | Allocations: 602) + User Load (2.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.0ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (212,211,69)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (11.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 7.3ms | Allocations: 316) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + 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.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 50.6ms | Allocations: 6920) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (212,211,69)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 16.2ms | Allocations: 1180) + Rendered articles/_about.html.erb (Duration: 0.1ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.2ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 1.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 3.5ms | Allocations: 1332) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 280.2ms | Allocations: 20016) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.0ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 0.4ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 2.1ms | Allocations: 678) + 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: 296.5ms | Allocations: 23973) +Completed 200 OK in 431ms (Views: 289.3ms | ActiveRecord: 20.5ms | Allocations: 30864) + + +Started GET "/pt-BR/articles/212" for 127.0.0.1 at 2022-07-25 10:29:10 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"212"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 212], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 212]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 59.5ms | Allocations: 2286) + Rendered collection of templates [0 times] (Duration: 0.3ms | Allocations: 48) + Rendered comments/_form.html.erb (Duration: 53.9ms | Allocations: 3593) + Rendered articles/show.html.erb within layouts/application (Duration: 143.5ms | Allocations: 6667) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.5ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 3.8ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.4ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 172.7ms | Allocations: 10497) +Completed 200 OK in 213ms (Views: 175.7ms | ActiveRecord: 2.9ms | Allocations: 13782) + + +Started DELETE "/pt-BR/articles/212" for 127.0.0.1 at 2022-07-25 10:29:15 -0300 +Processing by ArticlesController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "locale"=>"pt-BR", "id"=>"212"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 212], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:67:in `set_article' + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/policies/article_policy.rb:17:in `destroy?' + TRANSACTION (0.4ms) begin transaction + ↳ app/controllers/articles_controller.rb:60:in `destroy' + Comment Load (0.6ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 212]] + ↳ app/controllers/articles_controller.rb:60:in `destroy' + Article Destroy (23.4ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 212]] + ↳ app/controllers/articles_controller.rb:60:in `destroy' + TRANSACTION (75.3ms) commit transaction + ↳ app/controllers/articles_controller.rb:60:in `destroy' +Redirected to http://localhost:3000/pt-BR +Completed 302 Found in 180ms (ActiveRecord: 100.1ms | Allocations: 8717) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 10:29:15 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 2.3ms | Allocations: 153) + Rendered articles/_article_detail.html.erb (Duration: 13.3ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 17.5ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 2.1ms | Allocations: 600) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 5.1ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 6.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 10.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 68.3ms | Allocations: 6917) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 6.2ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 3.8ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 10.9ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.9ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 23.4ms | Allocations: 1332) + Category Load (0.8ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 189.4ms | Allocations: 19977) +[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.4ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 1.6ms | Allocations: 678) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 61) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 209.9ms | Allocations: 23943) +Completed 200 OK in 738ms (Views: 229.8ms | ActiveRecord: 6.5ms | Allocations: 30689) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 10:32:30 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (1.1ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.2ms) SELECT 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") + ↳ 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: 1.0ms | Allocations: 386) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 479) + Rendered articles/_medium_featured.html.erb (Duration: 3.7ms | Allocations: 1085) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 2.3ms | Allocations: 600) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.1ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.0ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 25.5ms | Allocations: 7060) +  (0.4ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 6.9ms | Allocations: 1332) + Rendered articles/_about.html.erb (Duration: 0.5ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 3.9ms | Allocations: 1166) + Rendered articles/_elsewhere.html.erb (Duration: 0.5ms | Allocations: 144) + Rendered articles/_right_side.html.erb (Duration: 7.7ms | Allocations: 2200) + Category Load (0.5ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 99.4ms | Allocations: 23115) +[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: 0.9ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 4.8ms | Allocations: 1477) + Rendered layouts/_flash_messages.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.5ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 128.6ms | Allocations: 28984) +Completed 200 OK in 183ms (Views: 130.4ms | ActiveRecord: 5.8ms | Allocations: 36879) + + +Started GET "/pt-BR/articles/211" for 127.0.0.1 at 2022-07-25 10:32:31 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (1.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 36.4ms | Allocations: 2305) + Rendered articles/show.html.erb within layouts/application (Duration: 78.0ms | Allocations: 9686) + Rendered layout layouts/application.html.erb (Duration: 82.0ms | Allocations: 9768) +Completed 500 Internal Server Error in 93ms (ActiveRecord: 2.8ms | Allocations: 13251) + + + +ActionView::Template::Error (undefined method `comments?' for #
+Did you mean? comments + comments=): + 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? %>

+ 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"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} +  (0.1ms) SELECT sqlite_version(*) + ↳ app/controllers/articles_controller.rb:31:in `show' + Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.8ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} + Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.9ms) SELECT 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") + ↳ 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) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["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) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ 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) + Category Load (1.7ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ 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"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ 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"} +  (0.1ms) SELECT sqlite_version(*) + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + TRANSACTION (0.3ms) begin transaction + ↳ app/controllers/categories_controller.rb:25:in `block in create' + Category Exists? (2.5ms) SELECT 1 AS one FROM "categories" WHERE LOWER("categories"."name") = LOWER(?) LIMIT ? [["name", "Teste"], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:25:in `block in create' + Category Create (0.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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' + TRANSACTION (66.0ms) commit transaction + ↳ 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"} + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (2.6ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ 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"} + Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (5.9ms) SELECT 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") + ↳ 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) + User Load (12.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.9ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["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) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ 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) + Category Load (0.5ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ 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"} + Article Load (1.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (1.0ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 69]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 3]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (2.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 69]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 3]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:25:in `set_article' + TRANSACTION (0.4ms) begin transaction + ↳ app/controllers/comments_controller.rb:6:in `create' + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:6:in `create' + Comment Create (10.7ms) INSERT INTO "comments" ("body", "article_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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' + TRANSACTION (105.6ms) commit transaction + ↳ 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"} + Article Load (5.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 69]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 3]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Article Load (14.7ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:25:in `set_article' + Comment Load (1.9ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? AND "comments"."id" = ? LIMIT ? [["article_id", 69], ["id", 8], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:11:in `destroy' + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/policies/comment_policy.rb:7:in `destroy?' + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/comments_controller.rb:14:in `destroy' + Comment Destroy (20.5ms) DELETE FROM "comments" WHERE "comments"."id" = ? [["id", 8]] + ↳ app/controllers/comments_controller.rb:14:in `destroy' + TRANSACTION (69.1ms) commit transaction + ↳ 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"} + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.7ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 69]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 3]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (8.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["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"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ 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"} + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 13], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:64:in `set_category' + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/categories_controller.rb:50:in `destroy' + Article Exists? (0.7ms) SELECT 1 AS one FROM "articles" WHERE "articles"."category_id" = ? LIMIT ? [["category_id", 13], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:50:in `destroy' + Category Destroy (25.7ms) DELETE FROM "categories" WHERE "categories"."id" = ? [["id", 13]] + ↳ app/controllers/categories_controller.rb:50:in `destroy' + TRANSACTION (67.2ms) commit transaction + ↳ 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"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ 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"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.5ms) SELECT 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") + ↳ 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) + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["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) +  (1.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ 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) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ 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"} +  (0.1ms) SELECT sqlite_version(*) + ↳ app/models/category.rb:6:in `block in ' + Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.7ms) SELECT 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") + ↳ 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: 2.9ms | Allocations: 386) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 479) + Rendered articles/_medium_featured.html.erb (Duration: 5.8ms | Allocations: 1084) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 5.3ms | Allocations: 600) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.7ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 35.6ms | Allocations: 7060) +  (0.6ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 7.6ms | Allocations: 1332) + Rendered articles/_about.html.erb (Duration: 0.4ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 2.0ms | Allocations: 1166) + Rendered articles/_elsewhere.html.erb (Duration: 0.8ms | Allocations: 144) + Rendered articles/_right_side.html.erb (Duration: 5.1ms | Allocations: 2197) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 107.4ms | Allocations: 23275) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.5ms | Allocations: 267) + Rendered layouts/_account_links.html.erb (Duration: 0.7ms | Allocations: 425) + Rendered layouts/_topnavbar.html.erb (Duration: 2.9ms | Allocations: 1473) + Rendered layouts/_flash_messages.html.erb (Duration: 1.1ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.4ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 120.3ms | Allocations: 29148) +Completed 200 OK in 145ms (Views: 118.9ms | ActiveRecord: 6.2ms | Allocations: 37841) + + +Started GET "/en" for 127.0.0.1 at 2022-07-25 11:19:10 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"en"} + Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 1.4ms | Allocations: 153) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 4.6ms | Allocations: 705) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 2.9ms | Allocations: 600) + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 14.9ms | Allocations: 6917) +  (1.0ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 5.0ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 0.4ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 2.5ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 5.4ms | Allocations: 1644) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 60.2ms | Allocations: 20915) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.9ms | Allocations: 133) + Rendered layouts/_account_links.html.erb (Duration: 1.3ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 4.4ms | Allocations: 887) + 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: 72.6ms | Allocations: 25392) +Completed 200 OK in 104ms (Views: 81.6ms | ActiveRecord: 3.9ms | Allocations: 32982) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:19:12 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.1ms) SELECT 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") + ↳ 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: 1.4ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 5.1ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 9.2ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 4.7ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 15.6ms | Allocations: 600) + User Load (3.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.1ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + 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.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 21.0ms | Allocations: 6917) +  (0.4ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 4.7ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.2ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.1ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 2.1ms | Allocations: 1332) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 126.5ms | Allocations: 19971) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.4ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 2.6ms | Allocations: 678) + 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.0ms | Allocations: 23927) +Completed 200 OK in 200ms (Views: 151.7ms | ActiveRecord: 9.1ms | Allocations: 30662) + + +Started GET "/pt-BR/articles/69" for 127.0.0.1 at 2022-07-25 11:19:22 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"69"} + Article Load (2.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 69], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 69]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 3]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (1.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 8], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 47.0ms | Allocations: 2400) + Rendered collection of comments/_comment.html.erb [2 times] (Duration: 20.8ms | Allocations: 1228) + Rendered comments/_form.html.erb (Duration: 20.8ms | Allocations: 3853) + Rendered articles/show.html.erb within layouts/application (Duration: 131.3ms | Allocations: 8836) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 3.7ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 0.6ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 12.0ms | Allocations: 682) + 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: 174.3ms | Allocations: 12666) +Completed 200 OK in 313ms (Views: 172.8ms | ActiveRecord: 7.2ms | Allocations: 17599) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:19:26 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (1.1ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.7ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.6ms) SELECT 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") + ↳ 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: 5.5ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 13.7ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 28.5ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 7.7ms | Allocations: 600) + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (6.1ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 3.6ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 3.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 7.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 7.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 73.8ms | Allocations: 6917) +  (1.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 31.2ms | Allocations: 1161) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.4ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 1.3ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 23.9ms | Allocations: 1332) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 334.2ms | Allocations: 19962) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.0ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 4.8ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 31.4ms | Allocations: 678) + Rendered layouts/_flash_messages.html.erb (Duration: 7.2ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 1.9ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 400.5ms | Allocations: 23918) +Completed 200 OK in 626ms (Views: 414.8ms | ActiveRecord: 14.5ms | Allocations: 30615) + + +Started GET "/pt-BR/articles/211" for 127.0.0.1 at 2022-07-25 11:19:28 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.5ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (5.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 64.7ms | Allocations: 2285) + Rendered collection of templates [0 times] (Duration: 0.6ms | Allocations: 51) + Rendered comments/_form.html.erb (Duration: 69.7ms | Allocations: 3607) + Rendered articles/show.html.erb within layouts/application (Duration: 150.7ms | Allocations: 6776) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 2.7ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 2.2ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 11.8ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 0.8ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.9ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 188.6ms | Allocations: 10619) +Completed 200 OK in 270ms (Views: 215.1ms | ActiveRecord: 7.2ms | Allocations: 13902) + + +Started GET "/pt-BR/articles/211/edit" for 127.0.0.1 at 2022-07-25 11:19:31 -0300 +Processing by ArticlesController#edit as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:67:in `set_article' + User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/policies/article_policy.rb:13:in `update?' + Rendering layout layouts/application.html.erb + Rendering articles/edit.html.erb within layouts/application + Category Load (0.8ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/_form.html.erb:5 + Rendered articles/_form.html.erb (Duration: 102.0ms | Allocations: 11375) + Rendered articles/edit.html.erb within layouts/application (Duration: 108.3ms | Allocations: 11776) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.5ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 0.6ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 2.7ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 0.6ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 125.8ms | Allocations: 15619) +Completed 200 OK in 231ms (Views: 126.8ms | ActiveRecord: 2.9ms | Allocations: 18951) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:19:33 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (3.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (2.5ms) SELECT 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") + ↳ 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: 1.0ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 14.3ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 33.7ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 9.4ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 37.9ms | Allocations: 600) + User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (3.1ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 5.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 23.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 111.6ms | Allocations: 6917) +  (0.7ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 28.8ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 4.0ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.2ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 8.1ms | Allocations: 1332) + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 416.0ms | Allocations: 19974) +[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.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 5.1ms | Allocations: 678) + Rendered layouts/_flash_messages.html.erb (Duration: 1.3ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 1.4ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 496.9ms | Allocations: 23930) +Completed 200 OK in 701ms (Views: 502.1ms | ActiveRecord: 14.4ms | Allocations: 30641) + + +Started GET "/pt-BR/articles/211" for 127.0.0.1 at 2022-07-25 11:19:35 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.8ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 82.3ms | Allocations: 2285) + Rendered collection of templates [0 times] (Duration: 0.7ms | Allocations: 48) + Rendered comments/_form.html.erb (Duration: 8.2ms | Allocations: 3600) + Rendered articles/show.html.erb within layouts/application (Duration: 119.7ms | Allocations: 6723) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 3.3ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 0.9ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 18.7ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 0.8ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 1.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 179.8ms | Allocations: 10556) +Completed 200 OK in 307ms (Views: 191.6ms | ActiveRecord: 2.6ms | Allocations: 13837) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:19:41 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (2.5ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (2.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.7ms) SELECT 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") + ↳ 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: 152) + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 15.4ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 7.9ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 10.9ms | Allocations: 600) + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (20.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 5.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 6.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 4.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 6.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 21.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 4.4ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 132.6ms | Allocations: 6918) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 5.1ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 2.8ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 2.8ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 16.4ms | Allocations: 1332) + Category Load (1.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 360.7ms | Allocations: 19962) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.9ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 2.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 13.6ms | Allocations: 678) + Rendered layouts/_flash_messages.html.erb (Duration: 1.0ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 1.4ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 398.7ms | Allocations: 23918) +Completed 200 OK in 535ms (Views: 377.5ms | ActiveRecord: 30.8ms | Allocations: 30612) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 11:19:46 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.5ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 167.7ms | Allocations: 3711) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 2.6ms | Allocations: 149) + Rendered layouts/_account_links.html.erb (Duration: 2.7ms | Allocations: 231) + Rendered layouts/_topnavbar.html.erb (Duration: 11.3ms | Allocations: 706) + Rendered layouts/_flash_messages.html.erb (Duration: 1.0ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.6ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 254.6ms | Allocations: 7937) +Completed 200 OK in 275ms (Views: 265.7ms | ActiveRecord: 0.6ms | Allocations: 10423) + + +Started GET "/pt-BR/categories/10/edit" for 127.0.0.1 at 2022-07-25 11:19:47 -0300 +Processing by CategoriesController#edit as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"10"} + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:64:in `set_category' + Rendering layout layouts/application.html.erb + Rendering categories/edit.html.erb within layouts/application + Rendered categories/_form.html.erb (Duration: 38.0ms | Allocations: 4067) + Rendered categories/edit.html.erb within layouts/application (Duration: 64.4ms | Allocations: 4538) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 5.3ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 1.1ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 12.8ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 122.8ms | Allocations: 8368) +Completed 200 OK in 173ms (Views: 125.8ms | ActiveRecord: 1.2ms | Allocations: 10788) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 11:19:49 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.6ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 39.4ms | Allocations: 3161) +[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: 13.8ms | Allocations: 665) + Rendered layouts/_flash_messages.html.erb (Duration: 0.6ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 2.0ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 86.9ms | Allocations: 7104) +Completed 200 OK in 137ms (Views: 89.8ms | ActiveRecord: 0.8ms | Allocations: 8699) + + +Started GET "/pt-BR/categories/10/edit" for 127.0.0.1 at 2022-07-25 11:19:50 -0300 +Processing by CategoriesController#edit as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"10"} + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:64:in `set_category' + Rendering layout layouts/application.html.erb + Rendering categories/edit.html.erb within layouts/application + Rendered categories/_form.html.erb (Duration: 25.7ms | Allocations: 3690) + Rendered categories/edit.html.erb within layouts/application (Duration: 37.4ms | Allocations: 3912) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.0ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 2.9ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 14.3ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 115.9ms | Allocations: 7742) +Completed 200 OK in 163ms (Views: 117.7ms | ActiveRecord: 0.9ms | Allocations: 9871) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 11:20:12 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 26.9ms | Allocations: 3734) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 10.9ms | Allocations: 281) + Rendered layouts/_account_links.html.erb (Duration: 1.5ms | Allocations: 426) + Rendered layouts/_topnavbar.html.erb (Duration: 35.7ms | Allocations: 1465) + Rendered layouts/_flash_messages.html.erb (Duration: 2.2ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 5.3ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 138.7ms | Allocations: 9610) +Completed 200 OK in 151ms (Views: 147.4ms | ActiveRecord: 0.3ms | Allocations: 12366) + + +Started GET "/pt-BR/categories/10/edit" for 127.0.0.1 at 2022-07-25 11:20:14 -0300 +Processing by CategoriesController#edit as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"10"} + User Load (5.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 10], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:64:in `set_category' + Rendering layout layouts/application.html.erb + Rendering categories/edit.html.erb within layouts/application + Rendered categories/_form.html.erb (Duration: 28.0ms | Allocations: 4017) + Rendered categories/edit.html.erb within layouts/application (Duration: 35.8ms | Allocations: 4489) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.0ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 2.6ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 24.0ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 0.8ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 1.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 96.0ms | Allocations: 8319) +Completed 200 OK in 125ms (Views: 101.3ms | ActiveRecord: 5.6ms | Allocations: 10727) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:20:27 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 1.1ms | Allocations: 386) + Rendered articles/_article_detail.html.erb (Duration: 3.0ms | Allocations: 479) + Rendered articles/_medium_featured.html.erb (Duration: 8.2ms | Allocations: 1085) + Rendered articles/_article_detail.html.erb (Duration: 4.4ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 7.5ms | Allocations: 600) + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.5ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 6.2ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 65.4ms | Allocations: 7061) +  (0.8ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 7.7ms | Allocations: 1332) + Rendered articles/_about.html.erb (Duration: 0.9ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 1.7ms | Allocations: 1166) + Rendered articles/_elsewhere.html.erb (Duration: 0.4ms | Allocations: 144) + Rendered articles/_right_side.html.erb (Duration: 7.3ms | Allocations: 2200) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 169.3ms | Allocations: 23135) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.4ms | Allocations: 135) + Rendered layouts/_account_links.html.erb (Duration: 2.2ms | Allocations: 230) + Rendered layouts/_topnavbar.html.erb (Duration: 4.4ms | Allocations: 716) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 182.2ms | Allocations: 27362) +Completed 200 OK in 243ms (Views: 180.4ms | ActiveRecord: 6.8ms | Allocations: 35087) + + +Started GET "/pt-BR/articles/211" for 127.0.0.1 at 2022-07-25 11:20:28 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + Article Load (0.7ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 7.3ms | Allocations: 2305) + Rendered collection of templates [0 times] (Duration: 0.1ms | Allocations: 50) + Rendered comments/_form.html.erb (Duration: 13.7ms | Allocations: 3904) + Rendered articles/show.html.erb within layouts/application (Duration: 58.3ms | Allocations: 7490) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.8ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 2.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 5.7ms | 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: 73.9ms | Allocations: 11333) +Completed 200 OK in 147ms (Views: 81.8ms | ActiveRecord: 1.7ms | Allocations: 14806) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 11:20:31 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 12.0ms | Allocations: 3169) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.3ms | Allocations: 132) + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 4.0ms | Allocations: 665) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 49.1ms | Allocations: 7099) +Completed 200 OK in 70ms (Views: 49.6ms | ActiveRecord: 0.5ms | Allocations: 8697) + + +Started GET "/pt-BR/categories/9/edit" for 127.0.0.1 at 2022-07-25 11:20:33 -0300 +Processing by CategoriesController#edit as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"9"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:64:in `set_category' + Rendering layout layouts/application.html.erb + Rendering categories/edit.html.erb within layouts/application + Rendered categories/_form.html.erb (Duration: 13.4ms | Allocations: 3714) + Rendered categories/edit.html.erb within layouts/application (Duration: 14.1ms | Allocations: 3937) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.1ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 3.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 14.4ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 50.1ms | Allocations: 7780) +Completed 200 OK in 56ms (Views: 50.6ms | ActiveRecord: 0.3ms | Allocations: 9919) + + +Started GET "/pt-BR/categories/9/edit" for 127.0.0.1 at 2022-07-25 11:21:02 -0300 +Processing by CategoriesController#edit as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"9"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 9], ["LIMIT", 1]] + ↳ app/controllers/categories_controller.rb:64:in `set_category' + Rendering layout layouts/application.html.erb + Rendering categories/edit.html.erb within layouts/application + Rendered categories/_form.html.erb (Duration: 6.7ms | Allocations: 4132) + Rendered categories/edit.html.erb within layouts/application (Duration: 8.9ms | Allocations: 4677) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.7ms | Allocations: 287) + Rendered layouts/_account_links.html.erb (Duration: 1.1ms | Allocations: 429) + Rendered layouts/_topnavbar.html.erb (Duration: 3.8ms | Allocations: 1495) + Rendered layouts/_flash_messages.html.erb (Duration: 0.4ms | Allocations: 218) + Rendered layouts/_footer.html.erb (Duration: 0.4ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 20.8ms | Allocations: 10432) +Completed 200 OK in 31ms (Views: 23.0ms | ActiveRecord: 0.3ms | Allocations: 13728) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 11:21:04 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 5.9ms | Allocations: 3442) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.2ms | Allocations: 132) + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 1.4ms | Allocations: 665) + 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: 14.2ms | Allocations: 7385) +Completed 200 OK in 19ms (Views: 15.0ms | ActiveRecord: 0.3ms | Allocations: 9336) + + +Started GET "/pt-BR/categories/new" for 127.0.0.1 at 2022-07-25 11:21:05 -0300 +Processing by CategoriesController#new as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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: 7.4ms | Allocations: 3631) + Rendered categories/new.html.erb within layouts/application (Duration: 9.7ms | Allocations: 3930) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.5ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 6.3ms | Allocations: 675) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.5ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 30.8ms | Allocations: 7753) +Completed 200 OK in 36ms (Views: 31.5ms | ActiveRecord: 0.2ms | Allocations: 9397) + + +Started GET "/pt-BR/categories" for 127.0.0.1 at 2022-07-25 11:21:07 -0300 +Processing by CategoriesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + Category Load (0.5ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/categories/index.html.erb:14 + Rendered categories/index.html.erb within layouts/application (Duration: 38.7ms | Allocations: 3155) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.3ms | Allocations: 132) + Rendered layouts/_account_links.html.erb (Duration: 2.6ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 20.4ms | Allocations: 665) + Rendered layouts/_flash_messages.html.erb (Duration: 0.6ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 84.1ms | Allocations: 7085) +Completed 200 OK in 94ms (Views: 84.8ms | ActiveRecord: 0.6ms | Allocations: 8699) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:21:07 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (2.7ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.6ms) SELECT 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") + ↳ 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: 1.3ms | Allocations: 386) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 479) + Rendered articles/_medium_featured.html.erb (Duration: 4.6ms | Allocations: 1085) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 2.8ms | Allocations: 600) + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.6ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 4.7ms | Allocations: 316) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + 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: 3.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 38.1ms | Allocations: 7066) +  (0.7ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 20.9ms | Allocations: 1332) + Rendered articles/_about.html.erb (Duration: 1.1ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 1.8ms | Allocations: 1166) + Rendered articles/_elsewhere.html.erb (Duration: 0.6ms | Allocations: 144) + Rendered articles/_right_side.html.erb (Duration: 8.8ms | Allocations: 2200) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 193.0ms | Allocations: 23147) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.3ms | Allocations: 135) + Rendered layouts/_account_links.html.erb (Duration: 0.5ms | Allocations: 230) + Rendered layouts/_topnavbar.html.erb (Duration: 2.1ms | Allocations: 716) + Rendered layouts/_flash_messages.html.erb (Duration: 0.1ms | Allocations: 66) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 68) + Rendered layout layouts/application.html.erb (Duration: 211.7ms | Allocations: 27374) +Completed 200 OK in 251ms (Views: 212.8ms | ActiveRecord: 8.3ms | Allocations: 35098) + + +Started GET "/pt-BR/articles/new" for 127.0.0.1 at 2022-07-25 11:21:09 -0300 +Processing by ArticlesController#new as HTML + Parameters: {"locale"=>"pt-BR"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Rendering layout layouts/application.html.erb + Rendering articles/new.html.erb within layouts/application + Category Load (0.2ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/_form.html.erb:5 + Rendered articles/_form.html.erb (Duration: 53.6ms | Allocations: 11142) + Rendered articles/new.html.erb within layouts/application (Duration: 58.2ms | Allocations: 11485) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.2ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 0.6ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 7.7ms | Allocations: 678) + Rendered layouts/_flash_messages.html.erb (Duration: 0.2ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 85.1ms | Allocations: 15324) +Completed 200 OK in 95ms (Views: 89.5ms | ActiveRecord: 0.3ms | Allocations: 17761) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:21:11 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.1ms) SELECT 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") + ↳ 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: 8.7ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 4.4ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 3.3ms | Allocations: 600) + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.3ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (5.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 5.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 9.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.0ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 63.4ms | Allocations: 6917) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 5.9ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 0.5ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 4.0ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.3ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 15.4ms | Allocations: 1332) + Category Load (1.0ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 220.5ms | Allocations: 19962) +[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.5ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 2.2ms | Allocations: 678) + 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: 250.3ms | Allocations: 23918) +Completed 200 OK in 280ms (Views: 241.5ms | ActiveRecord: 11.6ms | Allocations: 30697) + + +Started GET "/pt-BR/articles/211" for 127.0.0.1 at 2022-07-25 11:21:24 -0300 +Processing by ArticlesController#show as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:31:in `show' + Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 211]] + ↳ app/controllers/articles_controller.rb:31:in `show' + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["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 + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:2 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] + ↳ app/views/articles/_article_detail.html.erb:3 + Rendered articles/_article_detail.html.erb (Duration: 32.1ms | Allocations: 2288) + Rendered collection of templates [0 times] (Duration: 0.2ms | Allocations: 50) + Rendered comments/_form.html.erb (Duration: 23.2ms | Allocations: 3747) + Rendered articles/show.html.erb within layouts/application (Duration: 99.1ms | Allocations: 7310) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.4ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 0.8ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 8.1ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 0.7ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.2ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 135.1ms | Allocations: 11140) +Completed 200 OK in 169ms (Views: 137.5ms | ActiveRecord: 2.4ms | Allocations: 14556) + + +Started GET "/pt-BR/articles/211/edit" for 127.0.0.1 at 2022-07-25 11:21:27 -0300 +Processing by ArticlesController#edit as HTML + Parameters: {"locale"=>"pt-BR", "id"=>"211"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/application_controller.rb:16:in `switch_locale' + Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 211], ["LIMIT", 1]] + ↳ app/controllers/articles_controller.rb:67:in `set_article' + User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/policies/article_policy.rb:13:in `update?' + Rendering layout layouts/application.html.erb + Rendering articles/edit.html.erb within layouts/application + Category Load (0.6ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/_form.html.erb:5 + Rendered articles/_form.html.erb (Duration: 150.3ms | Allocations: 10889) + Rendered articles/edit.html.erb within layouts/application (Duration: 166.3ms | Allocations: 11154) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.7ms | Allocations: 138) + Rendered layouts/_account_links.html.erb (Duration: 0.9ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 23.1ms | Allocations: 682) + Rendered layouts/_flash_messages.html.erb (Duration: 0.7ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.7ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 252.7ms | Allocations: 14997) +Completed 200 OK in 292ms (Views: 254.0ms | ActiveRecord: 2.0ms | Allocations: 18316) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:21:29 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (3.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (4.0ms) SELECT 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") + ↳ 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: 11.2ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 7.6ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 35.0ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 5.1ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 47.4ms | Allocations: 600) + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.6ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (2.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (2.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 1.7ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 7.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.0ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 5.1ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 87.2ms | Allocations: 6917) +  (1.7ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 21.4ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 0.4ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 14.1ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.3ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 19.2ms | Allocations: 1332) + Category Load (1.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 399.3ms | Allocations: 19976) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.2ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 0.3ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 3.6ms | Allocations: 678) + 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: 435.1ms | Allocations: 23932) +Completed 200 OK in 658ms (Views: 448.7ms | ActiveRecord: 17.4ms | Allocations: 30683) + + +Started GET "/" for 127.0.0.1 at 2022-07-25 11:21:41 -0300 +Processing by ArticlesController#index as HTML + Article Load (0.6ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.5ms) SELECT 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") + ↳ 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: 0.4ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 1.1ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 0.9ms | Allocations: 600) + Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.4ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 14.7ms | Allocations: 6917) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 2.5ms | Allocations: 1161) + Rendered articles/_about.html.erb (Duration: 0.1ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 1.0ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 0.1ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 1.6ms | Allocations: 1332) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 41.5ms | Allocations: 18987) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.2ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 0.4ms | Allocations: 285) + Rendered layouts/_topnavbar.html.erb (Duration: 1.3ms | Allocations: 691) + 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: 50.7ms | Allocations: 22981) +Completed 200 OK in 115ms (Views: 51.4ms | ActiveRecord: 4.5ms | Allocations: 29641) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:22:22 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.6ms) SELECT 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") + ↳ 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: 0.6ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 10.0ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 18.3ms | Allocations: 605) + Rendered articles/_article_detail.html.erb (Duration: 5.4ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 10.8ms | Allocations: 600) + User Load (4.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (1.6ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 4.6ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 5.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 10.8ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 6.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.6ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 4.0ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.7ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 106.0ms | Allocations: 6917) +  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 3.1ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 0.4ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 6.4ms | Allocations: 1002) + Rendered articles/_elsewhere.html.erb (Duration: 4.5ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 16.2ms | Allocations: 1332) + Category Load (1.3ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 343.7ms | Allocations: 19987) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.4ms | Allocations: 132) + Rendered layouts/_account_links.html.erb (Duration: 12.1ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 46.9ms | Allocations: 679) + Rendered layouts/_flash_messages.html.erb (Duration: 0.8ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 1.4ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 445.6ms | Allocations: 23931) +Completed 200 OK in 519ms (Views: 441.3ms | ActiveRecord: 11.3ms | Allocations: 30627) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:27:43 -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#index as HTML + Parameters: {"locale"=>"pt-BR"} +  (0.6ms) SELECT sqlite_version(*) + ↳ app/models/category.rb:6:in `block in ' + Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (0.4ms) SELECT 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") + ↳ 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: 18.0ms | Allocations: 495) + Rendered articles/_article_detail.html.erb (Duration: 6.8ms | Allocations: 515) + Rendered articles/_medium_featured.html.erb (Duration: 14.8ms | Allocations: 1157) + Rendered articles/_article_detail.html.erb (Duration: 9.4ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 12.2ms | Allocations: 600) + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (0.6ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 2.7ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 13.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 4.4ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 6.9ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 130.6ms | Allocations: 7060) +  (0.5ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 27.9ms | Allocations: 1990) + Rendered articles/_about.html.erb (Duration: 2.1ms | Allocations: 169) + Rendered articles/_archives.html.erb (Duration: 15.9ms | Allocations: 1771) + Rendered articles/_elsewhere.html.erb (Duration: 2.5ms | Allocations: 144) + Rendered articles/_right_side.html.erb (Duration: 29.9ms | Allocations: 2805) + Category Load (1.0ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 323.6ms | Allocations: 24884) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 4.8ms | Allocations: 310) + Rendered layouts/_account_links.html.erb (Duration: 24.9ms | Allocations: 489) + Rendered layouts/_topnavbar.html.erb (Duration: 81.2ms | Allocations: 1921) + Rendered layouts/_flash_messages.html.erb (Duration: 2.5ms | Allocations: 220) + Rendered layouts/_footer.html.erb (Duration: 2.5ms | Allocations: 171) + Rendered layout layouts/application.html.erb (Duration: 490.4ms | Allocations: 31142) +Completed 200 OK in 638ms (Views: 503.6ms | ActiveRecord: 12.7ms | Allocations: 57560) + + +Started GET "/en" for 127.0.0.1 at 2022-07-25 11:27:51 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"en"} + Article Load (1.8ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (3.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (1.8ms) SELECT 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") + ↳ 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: 0.5ms | Allocations: 162) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 319) + Rendered articles/_medium_featured.html.erb (Duration: 2.0ms | Allocations: 727) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 1.7ms | Allocations: 600) + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (8.6ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 3.9ms | Allocations: 316) + Rendered articles/_article_detail.html.erb (Duration: 8.9ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 4.9ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 5.2ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 4.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.4ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 1.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 1.5ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 0.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 0.6ms | Allocations: 314) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 82.7ms | Allocations: 6931) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 15.7ms | Allocations: 1183) + Rendered articles/_about.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 2.3ms | Allocations: 1549) + Rendered articles/_elsewhere.html.erb (Duration: 0.1ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 4.0ms | Allocations: 2191) + Category Load (0.1ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 234.0ms | Allocations: 21565) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 0.4ms | Allocations: 133) + Rendered layouts/_account_links.html.erb (Duration: 0.4ms | Allocations: 217) + Rendered layouts/_topnavbar.html.erb (Duration: 2.6ms | Allocations: 895) + 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: 254.5ms | Allocations: 26179) +Completed 200 OK in 434ms (Views: 246.8ms | ActiveRecord: 19.6ms | Allocations: 34022) + + +Started GET "/pt-BR" for 127.0.0.1 at 2022-07-25 11:27:57 -0300 +Processing by ArticlesController#index as HTML + Parameters: {"locale"=>"pt-BR"} + Article Load (0.9ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC LIMIT ? [["LIMIT", 3]] + ↳ app/controllers/articles_controller.rb:16:in `index' + Category Load (1.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?) [["id", 12], ["id", 8]] + ↳ app/controllers/articles_controller.rb:16:in `index' + User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (?, ?) [["id", 3], ["id", 2]] + ↳ app/controllers/articles_controller.rb:16:in `index' +  (2.1ms) SELECT 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") + ↳ 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.7ms | Allocations: 152) + Rendered articles/_article_detail.html.erb (Duration: 2.0ms | Allocations: 312) + Rendered articles/_medium_featured.html.erb (Duration: 44.8ms | Allocations: 602) + Rendered articles/_article_detail.html.erb (Duration: 6.3ms | Allocations: 311) + Rendered articles/_medium_featured.html.erb (Duration: 15.9ms | Allocations: 600) + User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/articles/index.html.erb:16 + Article Load (2.2ms) SELECT "articles".* FROM "articles" WHERE (id NOT IN (211,69,89)) ORDER BY "articles"."created_at" DESC LIMIT ? OFFSET ? [["LIMIT", 10], ["OFFSET", 0]] + ↳ app/views/articles/index.html.erb:17 + Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" IN (?, ?, ?, ?, ?, ?) [["id", 8], ["id", 5], ["id", 9], ["id", 10], ["id", 11], ["id", 12]] + ↳ app/views/articles/index.html.erb:17 + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? [["id", 2]] + ↳ app/views/articles/index.html.erb:17 + Rendered articles/_article_detail.html.erb (Duration: 4.5ms | Allocations: 315) + Rendered articles/_article_detail.html.erb (Duration: 3.6ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.3ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 5.0ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.9ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 2.5ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 314) + Rendered articles/_article_detail.html.erb (Duration: 3.2ms | Allocations: 313) + Rendered articles/_article_detail.html.erb (Duration: 1.1ms | Allocations: 313) + Rendered collection of articles/_article.html.erb [10 times] (Duration: 63.9ms | Allocations: 6917) +  (0.3ms) SELECT COUNT(*) FROM "articles" WHERE (id NOT IN (211,69,89)) + ↳ app/views/articles/_pagination.html.erb:2 + Rendered articles/_pagination.html.erb (Duration: 13.5ms | Allocations: 1160) + Rendered articles/_about.html.erb (Duration: 1.2ms | Allocations: 67) + Rendered articles/_archives.html.erb (Duration: 11.5ms | Allocations: 1549) + Rendered articles/_elsewhere.html.erb (Duration: 1.0ms | Allocations: 53) + Rendered articles/_right_side.html.erb (Duration: 18.0ms | Allocations: 1879) + Category Load (0.7ms) SELECT "categories".* FROM "categories" ORDER BY "categories"."name" ASC + ↳ app/views/articles/index.html.erb:25 + Rendered articles/index.html.erb within layouts/application (Duration: 315.1ms | Allocations: 20513) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layouts/_locale_links.html.erb (Duration: 1.8ms | Allocations: 131) + Rendered layouts/_account_links.html.erb (Duration: 6.7ms | Allocations: 218) + Rendered layouts/_topnavbar.html.erb (Duration: 22.9ms | Allocations: 678) + Rendered layouts/_flash_messages.html.erb (Duration: 0.3ms | Allocations: 55) + Rendered layouts/_footer.html.erb (Duration: 0.3ms | Allocations: 67) + Rendered layout layouts/application.html.erb (Duration: 353.0ms | Allocations: 24456) +Completed 200 OK in 494ms (Views: 358.4ms | ActiveRecord: 11.5ms | Allocations: 31152) + + diff --git a/tmp/cache/assets/sprockets/v4.0.0/0E/0El4s3uLyfAUv5nUL2To0_J8_kM39TgrYSwyvMyB7Vs.cache b/tmp/cache/assets/sprockets/v4.0.0/0E/0El4s3uLyfAUv5nUL2To0_J8_kM39TgrYSwyvMyB7Vs.cache index 65f71483e41a400a06554224b6ed9c14c361d642..21dffdfb9118af2b336269f25899a72c10e7a2ee 100644 GIT binary patch delta 89 zcmey%@|{J5g(I3H--;tRwS>)z%ONANIHQ(#qR4MX`-u}(C+9QDOlD+qW%g7upEyx% qvKgZwn*(2nr;;T|awDT3lLP-`Ehbrhp%9?3gK&t0NQeV}h#LTKa2KEe delta 116 zcmey)@|Q(~g(I3H--;tRwS>)z%ONANIHOizqR8*bf=p_Y_c01Fdn(yaoTxh4lu?G! z62$n;=r`G)(cRpEFT{aA#6cj$K`_KYD8wz_nt{!lt(M<`BgBC-#DOcsfjh*3C&Ym_ J1fdeB3;=IS9s>XX diff --git a/tmp/cache/assets/sprockets/v4.0.0/1H/1HyneLliGLAocm4KVeWzj5tKGWdomYfz7rWloxQlXRc.cache b/tmp/cache/assets/sprockets/v4.0.0/1H/1HyneLliGLAocm4KVeWzj5tKGWdomYfz7rWloxQlXRc.cache index 13a730bdde1a353be42379cdc5619d5408cd3303..4b0b4904302fcf12cafd42983e4bf5f97f42b5a0 100644 GIT binary patch delta 89 zcmbQuK9yaBg(I3H--;tRwS>)z%ONANIHOi@qev|yqy1z)Ce_Iw8D%CnGo7E@&uGQu nATXJWshq<>FvLM9#6ftn0kg8GScro_h=X{DgG2~SJj4wE5<(U< delta 119 zcmbQrKAT;Hg(I3H--;tRwS>)z%ONANIHOi%qev~|2M0HabKW&i*H diff --git a/tmp/cache/assets/sprockets/v4.0.0/8J/8JOedZF9m0P656fHle8DWmmJffxhiciEo-B9Ta6NyG8.cache b/tmp/cache/assets/sprockets/v4.0.0/8J/8JOedZF9m0P656fHle8DWmmJffxhiciEo-B9Ta6NyG8.cache index e8c993fe7d1c81b83e4c01474713608475d3c2e4..5f00a2618a0a67737f38dc901cf5a685cffdea7e 100644 GIT binary patch delta 73 zcmX@Yx{p)z%ONANIHQ(tqeuqh)z%ONANIHOi@qeuqh#7Pao`Mb;0kfz4sqZKao`Pc;0tl!4{?Ag Gb^`#f0vS#K diff --git a/tmp/cache/assets/sprockets/v4.0.0/Ld/Ldrc4g729A_O0ThOyYafQI1wnaz8p1ukIjJ1tK2Ruks.cache b/tmp/cache/assets/sprockets/v4.0.0/Ld/Ldrc4g729A_O0ThOyYafQI1wnaz8p1ukIjJ1tK2Ruks.cache index 1edb219d39cdf2e9466ac07031d483277273cb68..79024c5bd405196e0de9811a0fc3a92abf0bda1c 100644 GIT binary patch delta 108 zcmX@hdYn~+g(I3H--;tRwS>)z%ONANIHQ(tqR8*bo{UbD8JYSg^D)z%ONANIHOi@qR8*bj~Fc`^D??jmS-xN?9VvS)`2g? yfj`7SAjCm1#6c*;K{&)M->8N> diff --git a/tmp/cache/assets/sprockets/v4.0.0/f7/f7LRiY_-OUXciRHv1tdgbeGzqMIV5rxi-t4U8SLI3ok.cache b/tmp/cache/assets/sprockets/v4.0.0/f7/f7LRiY_-OUXciRHv1tdgbeGzqMIV5rxi-t4U8SLI3ok.cache index 46f15e8ddd9b2b6c0e54471f63260b96b27ccab7..a7878fb2e2ac6250d238407337f9a519715e4790 100644 GIT binary patch delta 64 zcmX@ivX@1Kg(I3H--;tRwS>)z%ONANIHQ(lqR8jTj*JeIzcWft-pi;lS(j0W$$@Wj U1LI^K!4L<&5C@?U2jLJm09TI@+yDRo delta 89 zcmdnXa+pPgg(I3H--;tRwS>)z%ONANIHQ(-qR8jTDU24ASs9%s&u5%uz!&1cAL1Yo n;vg8}mT%3#X3bX1=fDx-z!~De72?1h;=mK)z#HNKQ|1N$EmamV diff --git a/tmp/cache/assets/sprockets/v4.0.0/fD/fDWddF4m3fzhUDW0S5gPI1bLqO0vdxx9IWiKo7Ag_h4.cache b/tmp/cache/assets/sprockets/v4.0.0/fD/fDWddF4m3fzhUDW0S5gPI1bLqO0vdxx9IWiKo7Ag_h4.cache index 65f71483e41a400a06554224b6ed9c14c361d642..21dffdfb9118af2b336269f25899a72c10e7a2ee 100644 GIT binary patch delta 89 zcmey%@|{J5g(I3H--;tRwS>)z%ONANIHQ(#qR4MX`-u}(C+9QDOlD+qW%g7upEyx% qvKgZwn*(2nr;;T|awDT3lLP-`Ehbrhp%9?3gK&t0NQeV}h#LTKa2KEe delta 116 zcmey)@|Q(~g(I3H--;tRwS>)z%ONANIHOizqR8*bf=p_Y_c01Fdn(yaoTxh4lu?G! z62$n;=r`G)(cRpEFT{aA#6cj$K`_KYD8wz_nt{!lt(M<`BgBC-#DOcsfjh*3C&Ym_ J1fdeB3;=IS9s>XX diff --git a/tmp/cache/bootsnap/compile-cache-iseq/15/fe340cd5330f70 b/tmp/cache/bootsnap/compile-cache-iseq/15/fe340cd5330f70 index 13c8f61cf87572f7055d0f169be79db4324990ce..35987446cd2eb7ca7f7ab6c631f61d119cb6c193 100644 GIT binary patch literal 1284 zcmZXUPiPcZ9LL}D<@uaWmpIHWF)qty*bcg>$r#gWG>J)!V-#Cz)E)xLIN5!gX=iqp z*%?VHl0$oF!HeLby?GGy&_fUQoQnsKLQ4@85qc4Cg;I(a{l3}FR_I$kGw;vu_j$kf zcG&?!$oCWHkKX_1yK^5TkDX153ACvPFILt2(SUjqGXLz&pTB)cNN<@G{_ykh%EI{* ztQ*pg-HCA>Ozj|K1o`VzhrPp}jDPs zLYMpSsBMXQNyAY{(p+Xb zW|XPzggsH8lv&lRQVY8j2-(~79;bBBs4;^K-`U;{_hQjg+R zy5=?g4X+VLk?(CtKOrtN?Gq!mJTPLf6sHk83+4b0=JHZECy&IK=_+=mxTx05M7EkT z@q(*G7x7Er3^=RStWLJ-MSkaN+4LmJ4#_FRL8Yj3woC)grr>q%vxUSj2oGk&QTM z<~iuAy7RuXe{N=W{Klc1_3_d9@zMQrvzIQYk#gyI;V##%;V|SJzSE1~F8CSz0-k{1 z!Bg-YyafM(0sMA%fe*oMPy`==1K=Q-0rTJ_I1N4nS3ncAK?>HvEpP|?2=0N0;1PHN Po`YB5Z?GHxO?$vQ2Auco literal 1060 zcmZXS&ubGw9K~lGhjF{auxvsJLFf`goBqgBwY9aaZ3-1H1?`VRp|U2~X%o$6!zL>& zTBzW`g9i(G_aG?Z!LyfKJoFDx@KD5q7jJs;B`rs%JhpL z53cnEhxS>D4YXImr;-}KFx3;X|Mj4{zD`JVOqTDxt*G@zVP!Fr9BVoB1K<#17l%7j zlg{LYv0Akr?vO!Y-4Kk2j4?_%q13Pp8a0D5&c!;TX<=xbQAU16jVd+tlsYb#NMVXl}b;N9`U6R0OBgRCvG+1#KE`^|ouLK&DRBEJz! z`I!Zymw%kHOlD*`$y54x_MiM(H$VJvw*U^n2e5>Vr{KGRIX|!~z9((3*pgw>ZUp`< z+47rq5SDg(E62N2wu_C1U6Hkh44P_QtCowcs$X}yd-%FP9%) z$PW+A&uy-%mD1^*U`t%vMp$x$-{LbEJweD6m<5~QCU8Lo?1M+(F?a%=f#={Qcn#iw dci<4b2Oq%^_y&H0Q~0AMzyKHpQ(z5jg5M!G&)5I} diff --git a/tmp/cache/bootsnap/compile-cache-iseq/16/92593631c1698c b/tmp/cache/bootsnap/compile-cache-iseq/16/92593631c1698c index 86d5ff79f9002191738819c9e528a14c6cd381b1..c4771d76d4b70d53ffabe42a3ddbdec74b9d35e2 100644 GIT binary patch delta 555 zcmX}pUnoOS90&08JICFk7HX1K?3O)fW(lGB(~>_6`Imo9F>}*0qbYeqBoAu4ojrK) zppXYbZSP(b4}0+FNgk;^P_vNYyDY!@^!xTZw{z}2_sMi`Qu7#NyS2m3r#6X%aSLS>cw@G|g6gqNn1d%0sfs zYbsff2x33EvIrjG5vo#&?BD<=)Iyyqr~w+Q1T~|(pcS&uwu2kF13IA_JkX1IKl%WW z!ga&)C*KsvD4r&vn4D)7r51zB$kY7D{i(bVoe2^~yOD@_@gd(NSNXI$#F%-6u}-R( z4KDc?tbvfVWziQ1wP8LA<1)jWdM4Se$nvuHy1#qC4*w-`sV3K*|0{o?i}~2Q1)KS0 zNQ}v(C^uVhMo6cqKa9# z5bSUjTnJ`kb)&SzMHeny)h@d59}wJ%3R--Wwot#wc;Lr(_~yYpj*Jt-%p#)2(7U>= z+hk{M{D*ZBMuACf9uGdGW0n=9^oNcFq5~?hB%J6g{_5-o^R0P920TSi7Nl+4f&5L| zIZJauZLnV*u=k@Qnf|-ulfn@WmzvCF5CjWCP-#l8M%EzfN+pMp4bTXg^PAxX_EvZa z?a%?Q(Z4~y1=fVp6Mx0L#EubnET3tHwNvQR!ya)bJ~xXw?TR@qS$cvV=Kjo!2^AL+ z^F5Kbi>Q@L1}CP5#{FY4fBj^1EcP6I5A>;DqPD4@4rRs%x~U{;&s^?~bklOP;_-l+ zZ8StTJ{6bUx_24(bJTa~&wDyEZO0?A=%npcC|A`VnbdL;Q<3TPY*vUHYVoP-Aqk&g z1=e64zQ7)QgCjVHOSp#L@K2p;BgPUQYzlWG M%ApE6VE{(q9s+%CzW@LL diff --git a/tmp/cache/bootsnap/compile-cache-iseq/26/aec035084c4584 b/tmp/cache/bootsnap/compile-cache-iseq/26/aec035084c4584 index e4162c0c110d1efccaed794bde74742d02e101a3..0cd494a16e07dfb899bea3307a28aad3aaf2c67e 100644 GIT binary patch literal 4688 zcmb`LeQX=$9mk)?4`<_EZ^pY=hh?nPx>@EFf(dB|nF+0zd7+A`5FiRwTe+_DkeK)_ zK404aRa>*??Tns3qzx=01dWk;twYFeeQhc zgcWIj?4-}VJa^CU{r8L8D+nQbd+r!``d@o)U)DIAE?tQQ96x#LPn*T{s_%<4Av@o> z=GhN-5VHD{)Z60fcb3Vz>>WR1t$X)d4bOAn>t%#ocNHPqZoVmh)5`90scLN_slYCU zCIivnZn{xs35zjCsYEDE^dxBO2va6W0sjc22Ls`t#3&=*v<@mhXEZ>mo(%Dvo(%V^ zJeQA1c`cBS2J)K5@ zA6C1W6;eYqoS;k>LUE)Ml=eV2WvOx971>LfVZ<_u6qb8a0hOwryON4e5erJ&g4I5z zhx-_}qH2`JSd7LKG@vormajp6zb(J3kaFc`DC_M_k84s~&ZOkU@&k^13E{W&unt3Q zDTE*c39LE?JRBGpF6ffp8ILSUM^L0gB&2Ph&be!0PA^8N)undPZq`kESPwoOg0XR? zuz;f}qV^07&;)|4C75mbU{DAge4mnOKZYumiEFU>mocs7^)XF zYK^EP_)4*4#wkv7VM-9e3Mo=im+E(yQFeUxuk z^kS4+y3WNDPYxYBbBtSD<#dWo;X5la%Vu$=fgqGJmTJW>s)jU;b|#<-{^a1_Fz(lY z5%?)si|QJsEcd$S=wZsT*)#rBQL^O2v+5Wd^Nb4RU=IsJlvf8jPu_XV3$?XN-9>k^ z-E#{q6=FwjlUQu#%K=b zIJI!@wC@v$W{;orvR>N9L{R!@KkLUeyNqO51~(Zx$OfGSq&O%c;BD--B{#O>A5+6I zbcWh#7_?LE?(e4wHIvIx&nArxv-VSr4G+_)geW#jXMlU9(unW*tZ$c7=hXKwim_Pq z{j{eu8}dE;Zt93~NS3=Wp)f0BT39X^*jp**fAy~0ODq!7M!+5U9HpD8~n zF(If#XP5|FWto^Ac4maZuDx90q3nL&zCmN~xV2Fpl|~~nVj-#p@9iY+|5g%5 z{iM|?UJ~2>{qOmE!OPzQN_*i+-}9r!=%)*&NT8-HP2d41fn$E+^yXOGWqY)=^?!FB z4|sXpD)b%ky)tHu?cbUgiPV(EiHzFu9rwHa-%ey(&v)i=yO+lqq2`3|opEFQ!I?Wn zA~of5iJb5gXTVH&UbXf7mp@DLxX;U@DU?0u`|E@;aok)l@~A1_%HyGL<+0>ViT__7 zvj^YxUs*CrpF4Ssh8E}XFxq3rPn?l7V=E0h6QJ!c0_0V3OiZUo#qTC5e1E7_uoUf) zJ@|n?G-J$+p+APCp=ikYb$~fY$Ql&HCtv{gkAZVw!bivnuo~KqgMWjMt{~(!48wK! z(flzO2@vu;=)`aBBR~xjavwMkU@LhWd>JMrCq0>-u2p!tQfP9^OxGK=dwH{FrW@Ag zIrk}F*-}gw>h*N7R&6$Fj73Z?3;u=^hdA$L6n z9>+QzxTRPwnC1_MyuCx7#9K+n6NGe(5ppIFjdx;i2ljUKf&q{Lt3Vd415bjdz!9NO zE>$P_w!4nu`Dt(*oDl1QD&LCxUx4StbC6G#n!>(fgTn-&mpUI)Je zzsEPUb91>?oLNz-u5gX%coXm52JeFRmww|Kn4<}ApKEB2_Bm_U-ngR7xA3xQEEY?0 zEQ#b@@2I)nw2DP;!X(o10XPT#0R9O63_b!MgTI0E;3D``*m7ANu34@Q=XtS?&&A&U z%h~6ekG&~jU+cNO`L4f1_m|i&b!F@IatT2#)vE1^$w|i0WeN%3Cks|{npc}*3(s37 zZzSMvPKs^j_tY9ZUnmMmsE1m$JcspAy;0g?7eG!5w`7WSZM6{KRJqu%n6*ZePujAg z^%_i?%bUeoo#UPAemjSIp&z|*AJ0jV1~==q>SVrIv-brz7fkVeye&F!HOlrog*O_t zhR6-kVW|58TCs`uCC4VkEjR25-h-wPa$0(XKf!9D zB6NoueAa>>+ow8jRL~XnJ)(m_VBZJL!WQvuaJpG3i|f5+t%_@;Qk&%Eye&!Wk*BRn z0kLGTL$==`PSqM>FZv7n%<0-zTtiO%!BD(!a5QYg(P=gdO{?WITEb2;zA>yShLI@M z!sas1i)=Q94^nN$-WRFX?7@Q7 literal 4536 zcmaKweQXow9mk)?4`*YJo9kVytCdB`$+Oa16haz8@Ip$x%u1txf(ucI0`e}-Vcgh0 z$7f?aKr{mcD5QW&1=Cv5scaOL2~}e%dsByCqE)Hb)K+X-r>*KHp=p}5iB0_jiG80t zza)Zk;p4k|UViVtCl1R9AxFEPk6ifQq0O7)mwn$@jsaZdoqw3(_dS08`Q_I{^!abO zFzo@gwF;hR!O<0jT=8Li-P*+3HJzDsuC#}=dk#u8>GGmNVfl#$erPa$v znIL%FVMb4Rd>#R#j~?{u&7$5S>8-vHW_7<` zSLLu;79hmKJXB%|3o(rivm~pq3O&H)**rbvrA%Z#k9{$G3a~w-v2cWjjtQ*YGkIsS zY8l;6nIw7KA#U3K0ac+2WeO$*NDn!VbsVNCk|M)$CoB78AN8x0g$TUs));FaYOjgH zu%%mrKq$I@;j0p zHTe6`@6pgvG`3p^VEHs9FyBL$Cw;nV|4M+m}pPBr-G+5<;!AxFq~uX8~(i zhB&84-MFEUK?1bgA$QPD)=9frH#Q8y&=w{!57!fryCV^*MyR4P7(9U351bir#8Ns* zS%3c)*Y`AGP@L@dhgrBD6fp>+y)YUo6j~mUN3dxJjJL%SMW$Xa<>I6baL>7VDBG~% zW!LRtVTafg^2$uEi<3N9!tmqoMY;}1kQ$`r5Zti`QY1WhfqZa*q-fcY4Vq#ptS_mv zY!;u?femkg{zh=ibMhQL$PUuOFd$sb{8)r*8@GeWB9%x@SCq1N{DC`g zKsYQ$I}yBKU6zxbnoS1OUyW8f4 z6Jk%hN2ZN{$}-k?ke_NqTdsQy(oBc=t%a8Pt<`x`DJ^%qNe}Cxy$pWSUfRd{aF4Da z{j47k{d9own!o_^>lF~|2E027dD{LYq*?YiqZi~>O{1-HXI~#x<^EW#abhTJh&A4t z+0YP8sWeUL46S|&Bd)hcTyy*!!sR-S8cZf1bhk!*uH!e`&qzl^v6V6=qFA_ZcEumC z-3vJmg&p_Woi`2cjkw7swuz3iQAix6aTdpYas?SfC?{E>KgGDT%XXUD`rVK5+ye9m^tKF=IY z18(9p)LK(=zJW8Jb*k|hq+Iq zZc;7&TCy5?9+RiJdY)!bq6g2p&W>uM*JifxL@CmeL>;LnD()sud&L_*@yclEd&sX^ zo)+p(SzOy2u8VOkzF2`Lifb$LcPb+@;H|_r|sHi{>~_lp-xn)I3jAy58NjL{$&g zhQ7z->qI?Y70RN=K5~7Y*3#E1I?q?owCJ2*tKp#&V#Swi)#h^9c;vR-(LXLOUMGa4-)te`)_;)jtS?wc9~hDE2|fclGT+j zm@gPb)9NaerYg0!M0R(wOV8)Kl4h=0Ff$pWV09(2A!QcQhLvaxuPWf%bxe@fXZ3XM z8QA?FjgYOUz{?n?k@d-pZduail_;eva{9f?xBw*4lU?uNU;J zh4FX6HEF(eY<4tM5_v*4%l#tZ5@-6b)O}*1y2E&md3ei01Q|G=iQsbB&6M30l=}6lr4^ z>%)4fxXZ{D`4%HlvW$WX|6@Y)l(Ew+7zsVeC7~Abh4gN_Fi<;YE>po8e=U}HR-WYo zoG#$|CCeB$_exSEOMx)3=7Y~|Ss5gi;9_OsX0ck{L0UBzsM-(RrI9PU!i zL|l1qVa(cPmT~tvB@QDnUog1k?Kpbe}BYrs0N9&83% z!8WiRd;1ak6?tw4BeLy7W1k1rn@B~;5wt?+nA2<)*1ed@K@F}fQ z0s;a8dNn~|=nBcDMMD=`mb!G}vPsLPm6cBa@Q<2qTJw)K`@X<2=X$r#J-_#P-{<-L z-sj$XZe;rT>BWEIaY`uz>Njf=NGg;>A-k?t!IA+iqk zkJznatXmXiuUe|css+7sWzGpHsWl=!N*E6JC8&Gl`aj_hWLjhfy^u?}iAl}6F&9qxk2K%13X#elNa^?(k ztupG=tEy`v43$dja;&&dFnVYsQl+N{wY^?F!>x^I-3zs-x-RaIANnOFb?-u#lu?f~ zoJpCr(#ST0rjgrc`l2f6jVd#o>C2SaDqAiKNN1XIk3Cr^s#I;P?s{ryNLACwp52;0 znwXE(Qbi)w+Tap>nS1pzYnw`55S8IvU#`pxNR=?YLd`rwYe32Xq)ICA(TpC8q-ttv z(~euG)U2sd>5WRWCW(qO*B_bj^$9*(_CW?*;AN2EE+9 zInSFW(k`AAvzh7%}JZ(Mhcvco!uh4Pqn6}69ob{&T1-ZsLD>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+xAIVI9=zl7@vAep4oY5gr>C?mR9tFWdfZw~RaooeT5@NxvCqa1)S(eAXvYAKVhG1^ z62mx;i@1y{xQZKAktfA7bu#545!0+zPl`3V#BJQgznIMKd=XgF@PbQ#t1Is2JS+{@$`tpG|a{VWFa4gSc6jRi07jYjcCVzUqO%! delta 2046 zcmajgacmP+90&0CyT|n?w>p}3z|d~Hbmuarz(kx2%rc-sVuXpqxu9XCeX@qZ=DNBy zqvk2O5_`K=T2D6-=ZvG~Z=NPMc?NKhm9*2iYc_}T^NO_p6$s6;vavn?N-HIHxW#w~BU)oiam>EBn z#G9L&rDG-XGPTlc)N$9NQ3|hgtfZ$j;u*<6?YM_djYtFHnNK@VB#uSI+uFLM4~$bh z_r56Eqa>mZq(u3I8LZneB# zjXaZ4LM3-sK`k*8Psb`~VZYsv+!%2=Lrx8~6YuLAk-qWE{%pHd=4i+I#S&|1;~0z4 zWaj4*Ga#dY`ShHYgH(gSP`$=E%FbDaKsUzX5LIuOrdaW@qCTwO-z!QfOvLAW-7Rc z_`twV7O7E=s-6PXMXtNS?JhI8a_@fl$7X1Ev{NVVq`0<#6y4knf7=6zRWA+~rsnbz zKX_1Tv&?9d+k6Aig1skhYT#YE4dZSP{*(+$2DZYwYB%B!eA>5 z4M|;=2aTnc$7Y*v6Pio1Q_b1LhljE6=Nfw~PtZDJ!s51lh)${0P8y_S(EG+rMa%D( z7@L9jdo$dILVPdYf=a|pPZ=ALUD?iqC>1>~ zA89*>QMYPtJrDIFXofb3Lm%L?;T(V=I0GZ_8GHd>GUk=l;Ff@BDnE5m*(h|&g+aB9aERY%B5GCQ`!dG5!D*1u5CoU z4PJwG=)iSli)cgusS|eK+~%(rz6OCi@$zM*^$kIPjmT;Ag>ph+zh8txFNJGrA~}COZY@dgb(h2sPB#M*e%^fT$4-!koCvsIcZ` zbYt2c*aHUi!d}C$7FhS8)(8E=BUT3ue?M&s8NaB{8>`ZG6yL$~WcV8>gBPF*0#FSd zuoJqW7y4lk4#835=d_uw)2NNY7>vU?xCmF^s-fBPY-v;Rw*pR>WvsR3(Q+eVn-^=s z`BrFw?a%?;&JAM!h2R0 zV<%7nWQj@>bi*JVfsbGm#^DP52shylq@^Jk*emu72Do& z?!9bt7;H8pL<|rys9==%2OfOz!3Q2pAej%E%tR7Rcp!$vJ?NuKd?L~BX}iq_Z~E!E z_x$;t-#PcRYc)+f-FvA2+TZg-56kZg$JU?%SNXy(M^!nXt8Y!a-tl{?aSAtMkFIZ) zRNJ-`8~$RXcxX3k_E_!9@q7pt5$ir4ru(+qTQ~Pq%C&G>>((0yvhzoW`P=rM&%A%BDX_jL-+F}q(F^ic@$JI(lOXnDMo#8B# z#f{aE#PsT~VmZN6#G+CCwo35SfliAo!gwsjKw?&|m02E{6?vG9B`K95-q~EHmdhXp z%M5lchsqJ_?#}N?@RXTL>n52iYvra|D^qI~R_^n`*;HvY@`B!os5R&3*iGFu$Xyv0 zcE!3V!!nf35G&~E*1XA9p~c%}FP5|^g9RX;r?JJvj(k7XK&h@Ov7Vmo)ilqV)e&h*%_)dJ~NDnk0|xl(qWpzPJ` z)%p$cC}Ktis!qAKQ_Y#vw78>be__tJt7*dmbJF$!x8nHzw&H4xJu9Ji#$Q3-GW0_a zbi=Dq1rLscuX67m7ZXlc3G7f-Y_G0zL47=gDb?QTPn83A(yn-}QxWkQ)X&1}fZuz( z(ToxLLfSPiu$?fN^kn%pF^;x5v@y1!#3J>uHeL>}miU|S7My{%;T<>!7vNoZ4=%w6 za2Y;=kKrnOs^-cRU6teNT2W{0c6@;{|G%4oy&PJezr?NQyr8&}Wl2g;BCitfDA(Ld zIIi}VC#CS+P}mdF!+s$?wqO!vrz1T?vYloM7*m(!6L{&WPo%X$%~;0%-oBcuYjtea zMe2@ps@Pi8^U<+pnO@%e|BOwlx!Sv}`kL5v8DOq3W@ue^zgpxPJr>)uko@JZeRyETlet0Sb{$M@$ZFwa1e%I7+!*DI0EF#eQ*$lU>qti59i@Jd=1~iBHV@F;66NnhdAbhb+8e3!9EyqF8m69fPz~Q7cN}5aN))Wt_1zxJ`w~6esiC5&Y3&R2xIKo)N*a(*VDy) zaiv7WQ(vCj*)rIx#uLy&tlJo@o;zcoId#V<@vETq<{G0ICZ=bT8}3QSa~S7_%d5Z5&Q7N>$)gy^Mp$-UGxM>gYn0##O7Rq>d726d;stJUUEj`IsBjv8uJPib z8j|a`UN7tx(IB2q>r1MLMlDmMBJrXsS69h}S+1BHR=F%hoXKP;$8(e~5zp}C_Bl-; zT&1MZB-*3TIj<5gd*i#Y7l@Zi(_Q99NZn4E1F# zxB^$<8eCU7O7*P`!317A3row$0Po*-BFv3T z(ek8lBfIIi_bsj5c6?uTZ9mxlJbj#f1e@>rUcnpKgir7le!~d<+c7u*1{{G?a2fsrVrJm4 diff --git a/tmp/cache/bootsnap/compile-cache-iseq/56/a0d9c0f9a0e6ea b/tmp/cache/bootsnap/compile-cache-iseq/56/a0d9c0f9a0e6ea index b6017887ae83ff7f671468a561cf03c05945a519..663744f50a72a6ede4c78afb26c713ea1dea4b16 100644 GIT binary patch delta 365 zcmY+;y-EW?6b0Zp-d%>xy2Rjb2o^F*SWq-5(XbXOq*j83Vj+kF27(bWu!RtUDJ*>e zdmB5&XIQ}^g%4q2ZL4ROr0~Lb=iJM{%$M`+bRDJCeWg)*`sp9!u9MX_&S{-*4$jhZ zc`WTprN>&9{V1fn&VKqLdhUBS}v?jBx zCNpE^$xKElNMvMYWo0*JX5=Qt28bDe zj^hDh0U#CuVg(?!0Ad>;4glg5AkF~d93UF|90&0Co7Za`*J)a&ZCn=7VHs>%Lzc142r&~`LKZ|=Ork%uP8ir9f~^&j zaoHAKC`iUg$U{)jp`e3ykRmU8*h55N-Gw@Mi0DwA0{hM+_1MpQzxmDkKfBcOq{Z9C z7@JRz9)0@j_DJ*fM)x;D0%hXJ`wKz)MFcftSL?aOiymW}FFwz`%OkOou6>$ry)iy8 zdV+^N{`U>$?1xo}u`N85dNb!TJ%^?)T`88BnO9}yf1fqx1qgoiCS|cumd>`HAwOYI&3T%6)&@d-VE2CbQT|4DdQQOTlu3?nc%rH*H ziT$%=dz8j{B#Z~TROX0Ks(5d=XSJ+0SG^oLEryA7PMn0m%fE+pDhPtpIXGQe72!FB zi%<@evfHl&w~)f}L3`Mxa0^i$#aueYc#NW$E#WsydvM48eyPu+Vo$+@-j#Yu6_I6;oOA%$s&k~Krb^QnZQ_`!WMjm@9+Z{{)tVn m4_cuEx}XP+!w8&$^Dqh5paiop4~wu2&tVl_Ljyj-Cj0>ik&jFO delta 841 zcmZ|NO=uHA6bJBm`#O#>S(cc_7;0#T5Zbl&5YjKHQlpj-QCf?o1cZXLEQKP1l~fS6 zAzf@ip=Buw1yNcs2Sq{rg5G-ZrUwrmdhlSulXwtM1^w?=+7oS<*2oKOE`#xL=uAgMk|G!m=qo)lFEBO0vkaG|k7}&;l_wxhN=*rVzu+2?CEa|Z$%C%h3 zwM+@7a?P9)lB&A8^75$5iHhfuOjLZIQkv45TQp~EZnar!%4*6HwG+{r@n8*?u&onI zsaBaXYW;e8SPqL{e;V}>a*<-%QjV}YR|QqAeZpc36RiUR6HP{OLL3Tv;XBmk<~7UI zy_8X74)fRWn%!EmO4jY#baYG(5t+m!@uR(h3m$@?x5LELWS-yqzC@30F3d7GdajzAk6 zgMK&xr~C^tt7j3-!vZYA9ax49XuuPHMW(K8Bl-+q;4A!qUD%Ja7=vbLgAVA1vv3|R Z!DX0)8JLAzun5cW5E}3tHsKw7gx~d}g3|y1 diff --git a/tmp/cache/bootsnap/compile-cache-iseq/be/38c658c5b0aa5e b/tmp/cache/bootsnap/compile-cache-iseq/be/38c658c5b0aa5e index 2860de16fa9501bbc75292ce6f0c9e0467139b2b..4077f6f3267500b2ab8f4fec54dcc919b6b4aa3d 100644 GIT binary patch literal 1916 zcmZ|QOKclO7zgm3OozcNmTNhdW4Tta+*M?`iDiW}1OmaNR;fZn+9rais+P@qnk;y| z&OX`%iXci5tsnvfoO)>`surmSDskwcg$OP^P>Dk&Kq{Pj;J_mSB#_`g_S)egR{42$ z=ka~t%sR;~MN!U_kBnXVWn<<(_h#v{9(3S3cj3DQ*^YDhsVI9-^_;)+ilXGh_R`!Z zU&-hB%8@5%drEiiJ$RmyeHhq{hn0u+>-!%ZtXqv>MH%30QKIp5WStyWX)d6Y62cTh za^)NeuQ;KM@!u&K3m;e_P1n5gEpxTxw0rYCtGH>rpoSG9P+I3t{L zqS7SQs74C3Ov_|6La0hrjuFmTSaZ5SiIf>bZa(p$Y+Bbcq0uP+Ro1XvNoPog&!Y5wup8R zZ7D}d0?Mdk7|$axdX~|#NAU3|q1LyDNqB7%n$4z!%Hrzgs=7!PyC=gI{N;6btyj`uL7vo7m?7v7is#Y(eTw@kygoW{;MRGIeQ z!@-`=Zv_4l4qGk}df*8+*XqwKh!c)0bi|BHVC D#H@^1 literal 1752 zcmaKsPly{;9LL|!*XJ~hA%xiw!#3;=>97syHeI&q8h3RY)37dU*|xi4%T}h7$!vBs z$)q!rX4gM#i(9Cmcu^4QRobFp4?TGBP*G^b_STD@J$MjB57L96-Yy(=BRn}$YjH9bvD_A@=lZtB^9|srpom$=bT6|((^j? zuNZM5lzPti<-xXM)pJBk8d@=9enKBGla=0Bb9*QYx1XjHi?4b*2+8fnBe>?tHDK1Owh zT6JdVy`?PV!$Kz0+sS6?)QxIUit!l5by9LX(W_(Vlq}MOPT3;mbehz;rt>^}y({=M zU;J!wP}?S+PA5;OBCguY>MYF;n-{ZaKF%XU4@T}fO5as7-zad<`x@AofsLe=q!dq4 znx|=ukC6^Lqg)k=w6w41ilGadEz)y3pVxUQ%M&^cO)WoI9+=uDUMS=~NC;isUehX6 z7@ATF#CZ&(#xRT`sMJ|Er{&Ng$vO~U(D|ayd8(8e$YqI_%PTjtVp7ef70h=i7a7cX z_eXN#N>6uL_PMBy@$R%XO$GEZF*MEdEBS%0L40Y+{(4FjR3r5-T@|`Q!5e%LeSZfk z#MqA@i{I#F@OvCFaV@{$HJyCZ3Y|`nZ~NYBPUr=Bzf;{BJekdlcHU~Y^S0LteXr4Q z`~dgOrqc=o^KtNyU#*DfT+?z}&!gTSS;kgRffZT1FlRTcAb7Ui&npkLI;o`tzbOp*tQb{>z&5d`0m--AvR*-yajB4Sj@bzuU+=|7tIoRT zJEmnzCG^zx-HW|pRYd&QpfKVx#dK>@E8h1U;64(1<_6Z3-SK_s_oVSG9C{69PSSU3uJ72P8Dcg#+w$N~z9-b{*XYHEvw`j!ULW=&>u#%tRg-;rzWauQ zSkVjf-~S8I1g%I z12jMzyag_S9dHAD4sLb=u9(=%F@Dvya`@sQl5X^yN;5ax3 uLhv5=1l$0(!5wfPJOn?1U%(@XJ2oQrw+~^ zqJGG$*lfupY}>-vJ2>g>-LtUg!->ET(;oZQ;B~E{U*S@E#8V>ToP$=)(~!kSM|okC za|4RF#(7b|*)}iV5LDr!@?CjQG(}NU^J%7{rDqFs+8mn8yVkN|^&Qd~YmQ)7 zAN4ejVQjiCc`AmOMjF>iN3?-RgWF_dEa$xxDEko^{iml{)kb5plQOm6=&Rl4jVAFX z?9>50PH-{v|J0zzJLs`mkYcV}xbuD0N4LD5^{DrIoSfc`mW&}*r0kiRc?)^z!SgGV z`9?+4%&SasVPCQaRaQ`?RXuD>n#Gml1xGky^GPt~;Xl6z>v)GA!V{A*N2u1a>d02d zO=KFkx{>-uCMs@4>EhbpY@xI2wLBG`_b;>}l_oOY72)l3gt4#V`r&@$eA;BJG!1R| z7-n#tk1PhtTdDbBZ4l^?HU1GM-9R=!XP>arLBxKV#ZL8O$3LhAa#aR#^Yvw{-=6a;tP>|sl};m86y{w&h#gUO zyWPO|+{9O5HgELr7_}UsFGcP}jAl2PI5fX5!)#sbsjfs^|E}`5LK@2mxy(Voh_jJW zUQm%Q61b H4A0;N81WAh delta 640 zcmYMxK}Zx)7zgn0+i%~FyW?Q8Gm5z8$~MFri%Pod;%-{FWRz(dhNsYJf?>B!R)sw% zOC+e#MW&+%Z+Ym@DG&mWb|~mtmppn`szV3=BT;Yoy>H(4-n?%f?{#disSzfkt$~^R z+n*cLvD&A;FBk{S+x)f|#A6A1BBl^=8_`7D!K>c6|8f52%&osm{;dthY1n0=0tWTr z?BncUrs7ps>-554TkD9vWY=|scN*F7BVlXjATe&o-BK!Tp|jf^#Rwg_PM23DLP`{C zqOmSIGwU3eIHDCJ7C{b=h=EGV-{zjluC#DB^h9A>Ns3kRbO;|@v_lrvs?AE#(hfH} zJ5a-?qGG4J|MrQiR6^G*8SWmHXJ{(*lv+}qek?RRhj zXYd>T04|Zj&;$uc!XOMo0mfh)Cg2`S!xF4O9oAq2-oPI0!+ZD$pW!PUhsdTAyqp2y OQkvlsn2>-g&=2SDZD5=L diff --git a/tmp/cache/bootsnap/compile-cache-iseq/e2/72c80bc2ebaa19 b/tmp/cache/bootsnap/compile-cache-iseq/e2/72c80bc2ebaa19 index 470aef9c53d024fbb73520d8062a44dd382158a8..7d61febb588be0a2469f36fa5b2479cb7f73958d 100644 GIT binary patch delta 580 zcmaLUKS%;m90&0C^LdyZX7Sdbj^nW7l9W?OXy}S?HM@qUusCRpKpGOx!Jr|?u%V$v z2yBfS8XO!N9NTiJ=7xfX2)Ftkr&136;B)WZy??*^y-T?%7lMqjqhvnQ_^RYa_u6xh zgb#?;>C2YamL%_q$W3?4E@QpnLAzn)m$*M;Fn0uf9mX-xxh~|%&AO74J(yTg9c{`f zszN1AA+GuBlnjxo5P7Ypa3Zc3(DlP29*Zq+Dv~B!>5xh)`|d?p#Z(GQSnT}W-w+1H zfA8=9e}Jy9?dwu}_yBq6fTAf(N@L$>?|=J=6BkyrpRh^XFt!hqQd%}+AwdEOkNGJ_ zgqN`-)f$0%q>f5bfU#A0uC4QvupMK}M&0b2cP_|Hpn54N!!cCh49?*e?w|=RxQ8}$ x;0a#g4L;x#x)8)wkHaL)z$_#n1@o`~i(tb}kZEieFD0lz6)xZkTF{0E_yJetWFG(k delta 565 zcmZ|Mu}cDR6bJD4JP*4Lp*RO2!;b5)>yQu;5n3vu)fA#8(L89VC6WXq8w_eHaEPFx zLCB%OXlZD0D6pmm2Zw_GfR-Y{t-ePl7WClrdw0jX$Gdmeaz#!%iD)mBh@E|u;{EH5 zi6-L#B5AcUcFv0SNmP4#+8Y znkx*>YL@P|a+;#CuCm}KHO8!|%y!mQfmzVzhqx0_76O5plq%|S)O2aA(Pt+l4W%rJ zc-iXdYbquO|LI%&-Pkaan}!(t+gR>xoC_;qj-a1J-9cG!hoqkY4Hisuc{e0RWMkN+ zu+kmSt=I#KI51#A!DpB697pbBZ1xpm*vf5rO*oJ|0U{3;<+&7{3KzZDqYqYK1M;v1 zJ8%N0P=P9(Lk;S10}s%I7Cgc;yg(bA_{Rg_0WbJq1V&*DCL!)5ofdJCg;mHy2@atO HHMoK=^%`gL diff --git a/tmp/cache/bootsnap/load-path-cache b/tmp/cache/bootsnap/load-path-cache index e67faac4e26f96f8354cc218e92af023b10c9b5a..978127621c4b5d164571af346325c90da888053b 100644 GIT binary patch delta 440 zcmeyiS@6vcLFRi5OB$J5nHgJ|nOd2dw=%PQj-38MjLB}gLLDP}eWsyBp01&up@E)} zeoki6WQHj>wbE1bQi~Ex@{5Y~Q&P(^i&OPMs`PX6lM{1N
NameActions<%= t Category.human_attribute_name('name') %><%= t 'app.word.actions' %>
<%= category.name %> - <%= link_to 'Edit', edit_category_path(category) if policy(:category).edit? %> - <%= link_to 'Destroy', category, method: :delete, data: { confirm: 'Are you sure?' } if policy(:category).destroy? %> + <%= link_to t('app.button.edit'), edit_category_path(category) if policy(:category).edit? %> + <%= link_to t('app.button.destroy'), category, method: :delete, data: { confirm: t('app.message.confirm_destroy') } if policy(:category).destroy? %>