diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000..3878625e5f Binary files /dev/null and b/.DS_Store differ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..4e637713e0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules +node_modules diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000000..1efe8d13ba --- /dev/null +++ b/Gemfile @@ -0,0 +1,59 @@ +source 'https://rubygems.org' +git_source(:github) { |repo| "https://github.com/#{repo}.git" } + +ruby '3.0.2' + +# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main' +gem 'rails', '~> 6.1.4', '>= 6.1.4.1' +# Use sqlite3 as the database for Active Record +gem 'sqlite3', '~> 1.4' +# Use Puma as the app server +gem 'puma', '~> 5.0' +# Use SCSS for stylesheets +gem 'sass-rails', '>= 6' +# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker +gem 'webpacker', '~> 5.0' +# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks +gem 'turbolinks', '~> 5' +# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder +gem 'jbuilder', '~> 2.7' +# Use Redis adapter to run Action Cable in production +# gem 'redis', '~> 4.0' +# Use Active Model has_secure_password +# gem 'bcrypt', '~> 3.1.7' + +# Use Active Storage variant +# gem 'image_processing', '~> 1.2' + +# Reduces boot times through caching; required in config/boot.rb +gem 'bootsnap', '>= 1.4.4', require: false + +gem 'devise', '~> 4.8' + +group :development, :test do + # Call 'byebug' anywhere in the code to stop execution and get a debugger console + gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] +end + +group :development do + # Access an interactive console on exception pages or by calling 'console' anywhere in the code. + gem 'web-console', '>= 4.1.0' + # Display performance information such as SQL time and flame graphs for each request in your browser. + # Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md + gem 'rack-mini-profiler', '~> 2.0' + gem 'listen', '~> 3.3' + # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring + gem 'spring' +end + +group :test do + # Adds support for Capybara system testing and selenium driver + gem 'capybara', '>= 3.26' + gem 'selenium-webdriver' + gem 'rspec-rails', '~> 4.0' + # Easy installation and use of web drivers to run system tests with browsers + gem 'webdrivers' +end + +# Windows does not include zoneinfo files, so bundle the tzinfo-data gem +gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000000..91d50dc845 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,262 @@ +GEM + remote: https://rubygems.org/ + specs: + actioncable (6.1.4.1) + actionpack (= 6.1.4.1) + activesupport (= 6.1.4.1) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + actionmailbox (6.1.4.1) + actionpack (= 6.1.4.1) + activejob (= 6.1.4.1) + activerecord (= 6.1.4.1) + activestorage (= 6.1.4.1) + activesupport (= 6.1.4.1) + mail (>= 2.7.1) + actionmailer (6.1.4.1) + actionpack (= 6.1.4.1) + actionview (= 6.1.4.1) + activejob (= 6.1.4.1) + activesupport (= 6.1.4.1) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 2.0) + actionpack (6.1.4.1) + actionview (= 6.1.4.1) + activesupport (= 6.1.4.1) + rack (~> 2.0, >= 2.0.9) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.0, >= 1.2.0) + actiontext (6.1.4.1) + actionpack (= 6.1.4.1) + activerecord (= 6.1.4.1) + activestorage (= 6.1.4.1) + activesupport (= 6.1.4.1) + nokogiri (>= 1.8.5) + actionview (6.1.4.1) + activesupport (= 6.1.4.1) + builder (~> 3.1) + erubi (~> 1.4) + rails-dom-testing (~> 2.0) + rails-html-sanitizer (~> 1.1, >= 1.2.0) + activejob (6.1.4.1) + activesupport (= 6.1.4.1) + globalid (>= 0.3.6) + activemodel (6.1.4.1) + activesupport (= 6.1.4.1) + activerecord (6.1.4.1) + activemodel (= 6.1.4.1) + activesupport (= 6.1.4.1) + activestorage (6.1.4.1) + actionpack (= 6.1.4.1) + activejob (= 6.1.4.1) + activerecord (= 6.1.4.1) + activesupport (= 6.1.4.1) + marcel (~> 1.0.0) + mini_mime (>= 1.1.0) + activesupport (6.1.4.1) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + zeitwerk (~> 2.3) + addressable (2.8.0) + public_suffix (>= 2.0.2, < 5.0) + bcrypt (3.1.16) + bindex (0.8.1) + bootsnap (1.9.3) + msgpack (~> 1.0) + builder (3.2.4) + byebug (11.1.3) + capybara (3.36.0) + addressable + matrix + mini_mime (>= 0.1.3) + nokogiri (~> 1.8) + rack (>= 1.6.0) + rack-test (>= 0.6.3) + regexp_parser (>= 1.5, < 3.0) + xpath (~> 3.2) + childprocess (4.1.0) + concurrent-ruby (1.1.9) + crass (1.0.6) + devise (4.8.0) + bcrypt (~> 3.0) + orm_adapter (~> 0.1) + railties (>= 4.1.0) + responders + warden (~> 1.2.3) + diff-lcs (1.4.4) + erubi (1.10.0) + ffi (1.15.4) + globalid (1.0.0) + activesupport (>= 5.0) + i18n (1.8.11) + concurrent-ruby (~> 1.0) + jbuilder (2.11.3) + activesupport (>= 5.0.0) + listen (3.7.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + loofah (2.13.0) + crass (~> 1.0.2) + nokogiri (>= 1.5.9) + mail (2.7.1) + mini_mime (>= 0.1.1) + marcel (1.0.2) + matrix (0.4.2) + method_source (1.0.0) + mini_mime (1.1.2) + minitest (5.14.4) + msgpack (1.4.2) + nio4r (2.5.8) + nokogiri (1.12.5-arm64-darwin) + racc (~> 1.4) + orm_adapter (0.5.0) + public_suffix (4.0.6) + puma (5.5.2) + nio4r (~> 2.0) + racc (1.6.0) + rack (2.2.3) + rack-mini-profiler (2.3.3) + rack (>= 1.2.0) + rack-proxy (0.7.0) + rack + rack-test (1.1.0) + rack (>= 1.0, < 3) + rails (6.1.4.1) + actioncable (= 6.1.4.1) + actionmailbox (= 6.1.4.1) + actionmailer (= 6.1.4.1) + actionpack (= 6.1.4.1) + actiontext (= 6.1.4.1) + actionview (= 6.1.4.1) + activejob (= 6.1.4.1) + activemodel (= 6.1.4.1) + activerecord (= 6.1.4.1) + activestorage (= 6.1.4.1) + activesupport (= 6.1.4.1) + bundler (>= 1.15.0) + railties (= 6.1.4.1) + sprockets-rails (>= 2.0.0) + rails-dom-testing (2.0.3) + activesupport (>= 4.2.0) + nokogiri (>= 1.6) + rails-html-sanitizer (1.4.2) + loofah (~> 2.3) + railties (6.1.4.1) + actionpack (= 6.1.4.1) + activesupport (= 6.1.4.1) + method_source + rake (>= 0.13) + thor (~> 1.0) + rake (13.0.6) + rb-fsevent (0.11.0) + rb-inotify (0.10.1) + ffi (~> 1.0) + regexp_parser (2.2.0) + responders (3.0.1) + actionpack (>= 5.0) + railties (>= 5.0) + rexml (3.2.5) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-rails (4.1.2) + actionpack (>= 4.2) + activesupport (>= 4.2) + railties (>= 4.2) + rspec-core (~> 3.10) + rspec-expectations (~> 3.10) + rspec-mocks (~> 3.10) + rspec-support (~> 3.10) + rspec-support (3.10.2) + rubyzip (2.3.2) + sass-rails (6.0.0) + sassc-rails (~> 2.1, >= 2.1.1) + sassc (2.4.0) + ffi (~> 1.9) + sassc-rails (2.1.2) + railties (>= 4.0.0) + sassc (>= 2.0) + sprockets (> 3.0) + sprockets-rails + tilt + selenium-webdriver (4.1.0) + childprocess (>= 0.5, < 5.0) + rexml (~> 3.2, >= 3.2.5) + rubyzip (>= 1.2.2) + semantic_range (3.0.0) + spring (4.0.0) + sprockets (4.0.2) + concurrent-ruby (~> 1.0) + rack (> 1, < 3) + sprockets-rails (3.4.2) + actionpack (>= 5.2) + activesupport (>= 5.2) + sprockets (>= 3.0.0) + sqlite3 (1.4.2) + thor (1.1.0) + tilt (2.0.10) + turbolinks (5.2.1) + turbolinks-source (~> 5.2) + turbolinks-source (5.2.0) + tzinfo (2.0.4) + concurrent-ruby (~> 1.0) + warden (1.2.9) + rack (>= 2.0.9) + web-console (4.2.0) + actionview (>= 6.0.0) + activemodel (>= 6.0.0) + bindex (>= 0.4.0) + railties (>= 6.0.0) + webdrivers (5.0.0) + nokogiri (~> 1.6) + rubyzip (>= 1.3.0) + selenium-webdriver (~> 4.0) + webpacker (5.4.3) + activesupport (>= 5.2) + rack-proxy (>= 0.6.1) + railties (>= 5.2) + semantic_range (>= 2.3.0) + websocket-driver (0.7.5) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + xpath (3.2.0) + nokogiri (~> 1.8) + zeitwerk (2.5.1) + +PLATFORMS + arm64-darwin-20 + +DEPENDENCIES + bootsnap (>= 1.4.4) + byebug + capybara (>= 3.26) + devise (~> 4.8) + jbuilder (~> 2.7) + listen (~> 3.3) + puma (~> 5.0) + rack-mini-profiler (~> 2.0) + rails (~> 6.1.4, >= 6.1.4.1) + rspec-rails (~> 4.0) + sass-rails (>= 6) + selenium-webdriver + spring + sqlite3 (~> 1.4) + turbolinks (~> 5) + tzinfo-data + web-console (>= 4.1.0) + webdrivers + webpacker (~> 5.0) + +RUBY VERSION + ruby 3.0.2p107 + +BUNDLED WITH + 2.2.29 diff --git a/README.md b/README.md index 6806f8db2a..016cb7fe7a 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,24 @@ -Instagram Challenge -=================== +# Instagram Challenge + +User can sign up, sign in and sign out. Also, user can post an image with a caption and add a comment. Posts appear with the newest post first. + +I still need to work on TDD, styling and add a feature to like a picture. Also, I need to add an association between user and posts which I tried to do but unsuccessfully. + +# Technologies used: + +- Git +- GitHub +- Ruby +- Ruby on Rails +- CSS +- HTML ## Instructions -* Feel free to use Google, your notes, books, etc., but work on your own -* If you refer to the solution of another coach or student, please put a link to that in your README -* If you have a partial solution, **still check in a partial solution** -* You must submit a pull request to this repo with your code by 9am Monday morning +- Feel free to use Google, your notes, books, etc., but work on your own +- If you refer to the solution of another coach or student, please put a link to that in your README +- If you have a partial solution, **still check in a partial solution** +- You must submit a pull request to this repo with your code by 9am Monday morning ## Task diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000000..9a5ea7383a --- /dev/null +++ b/Rakefile @@ -0,0 +1,6 @@ +# Add your own tasks in files placed in lib/tasks ending in .rake, +# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. + +require_relative "config/application" + +Rails.application.load_tasks diff --git a/app/assets/config/manifest.js b/app/assets/config/manifest.js new file mode 100644 index 0000000000..591819335f --- /dev/null +++ b/app/assets/config/manifest.js @@ -0,0 +1,2 @@ +//= link_tree ../images +//= link_directory ../stylesheets .css diff --git a/app/assets/images/.keep b/app/assets/images/.keep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css new file mode 100644 index 0000000000..d05ea0f511 --- /dev/null +++ b/app/assets/stylesheets/application.css @@ -0,0 +1,15 @@ +/* + * This is a manifest file that'll be compiled into application.css, which will include all the files + * listed below. + * + * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's + * vendor/assets/stylesheets directory can be referenced here using a relative path. + * + * You're free to add application-wide styles to this file and they'll appear at the bottom of the + * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS + * files in this directory. Styles in this file should be added after the last require_* statement. + * It is generally better to create a new file per style scope. + * + *= require_tree . + *= require_self + */ diff --git a/app/assets/stylesheets/comments.scss b/app/assets/stylesheets/comments.scss new file mode 100644 index 0000000000..69088e8c44 --- /dev/null +++ b/app/assets/stylesheets/comments.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the Comments controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: https://sass-lang.com/ diff --git a/app/assets/stylesheets/posts.scss b/app/assets/stylesheets/posts.scss new file mode 100644 index 0000000000..6907cec6e4 --- /dev/null +++ b/app/assets/stylesheets/posts.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the Posts controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: https://sass-lang.com/ diff --git a/app/channels/application_cable/channel.rb b/app/channels/application_cable/channel.rb new file mode 100644 index 0000000000..d672697283 --- /dev/null +++ b/app/channels/application_cable/channel.rb @@ -0,0 +1,4 @@ +module ApplicationCable + class Channel < ActionCable::Channel::Base + end +end diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb new file mode 100644 index 0000000000..0ff5442f47 --- /dev/null +++ b/app/channels/application_cable/connection.rb @@ -0,0 +1,4 @@ +module ApplicationCable + class Connection < ActionCable::Connection::Base + end +end diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb new file mode 100644 index 0000000000..09705d12ab --- /dev/null +++ b/app/controllers/application_controller.rb @@ -0,0 +1,2 @@ +class ApplicationController < ActionController::Base +end diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb new file mode 100644 index 0000000000..9bfa37ffea --- /dev/null +++ b/app/controllers/comments_controller.rb @@ -0,0 +1,12 @@ +class CommentsController < ApplicationController + def create + @post = Post.find(params[:post_id]) + @comment = @post.comments.create(comment_params) + redirect_to post_path(@post) + end + + private + def comment_params + params.require(:comment).permit(:comment) + end +end diff --git a/app/controllers/concerns/.keep b/app/controllers/concerns/.keep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb new file mode 100644 index 0000000000..6acf8d6258 --- /dev/null +++ b/app/controllers/posts_controller.rb @@ -0,0 +1,24 @@ +class PostsController < ApplicationController + def new + @post = Post.new + end + + def create + @post = Post.create(post_params) + redirect_to posts_url + end + + def index + @posts = Post.all.order(created_at: :desc) + end + + def show + @post = Post.find(params[:id]) + end + + private + + def post_params + params.require(:post).permit(:caption, :image) + end +end diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb new file mode 100644 index 0000000000..de6be7945c --- /dev/null +++ b/app/helpers/application_helper.rb @@ -0,0 +1,2 @@ +module ApplicationHelper +end diff --git a/app/helpers/comments_helper.rb b/app/helpers/comments_helper.rb new file mode 100644 index 0000000000..0ec9ca5f2d --- /dev/null +++ b/app/helpers/comments_helper.rb @@ -0,0 +1,2 @@ +module CommentsHelper +end diff --git a/app/helpers/posts_helper.rb b/app/helpers/posts_helper.rb new file mode 100644 index 0000000000..a7b8cec898 --- /dev/null +++ b/app/helpers/posts_helper.rb @@ -0,0 +1,2 @@ +module PostsHelper +end diff --git a/app/javascript/channels/consumer.js b/app/javascript/channels/consumer.js new file mode 100644 index 0000000000..8ec3aad3ae --- /dev/null +++ b/app/javascript/channels/consumer.js @@ -0,0 +1,6 @@ +// Action Cable provides the framework to deal with WebSockets in Rails. +// You can generate new channels where WebSocket features live using the `bin/rails generate channel` command. + +import { createConsumer } from "@rails/actioncable" + +export default createConsumer() diff --git a/app/javascript/channels/index.js b/app/javascript/channels/index.js new file mode 100644 index 0000000000..0cfcf74919 --- /dev/null +++ b/app/javascript/channels/index.js @@ -0,0 +1,5 @@ +// Load all the channels within this directory and all subdirectories. +// Channel files must be named *_channel.js. + +const channels = require.context('.', true, /_channel\.js$/) +channels.keys().forEach(channels) diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js new file mode 100644 index 0000000000..f710851a88 --- /dev/null +++ b/app/javascript/packs/application.js @@ -0,0 +1,13 @@ +// This file is automatically compiled by Webpack, along with any other files +// present in this directory. You're encouraged to place your actual application logic in +// a relevant structure within app/javascript and only use these pack files to reference +// that code so it'll be compiled. + +import Rails from "@rails/ujs" +import Turbolinks from "turbolinks" +import * as ActiveStorage from "@rails/activestorage" +import "channels" + +Rails.start() +Turbolinks.start() +ActiveStorage.start() diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb new file mode 100644 index 0000000000..d394c3d106 --- /dev/null +++ b/app/jobs/application_job.rb @@ -0,0 +1,7 @@ +class ApplicationJob < ActiveJob::Base + # Automatically retry jobs that encountered a deadlock + # retry_on ActiveRecord::Deadlocked + + # Most jobs are safe to ignore if the underlying records are no longer available + # discard_on ActiveJob::DeserializationError +end diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb new file mode 100644 index 0000000000..286b2239d1 --- /dev/null +++ b/app/mailers/application_mailer.rb @@ -0,0 +1,4 @@ +class ApplicationMailer < ActionMailer::Base + default from: 'from@example.com' + layout 'mailer' +end diff --git a/app/models/application_record.rb b/app/models/application_record.rb new file mode 100644 index 0000000000..10a4cba84d --- /dev/null +++ b/app/models/application_record.rb @@ -0,0 +1,3 @@ +class ApplicationRecord < ActiveRecord::Base + self.abstract_class = true +end diff --git a/app/models/comment.rb b/app/models/comment.rb new file mode 100644 index 0000000000..002e1c4d88 --- /dev/null +++ b/app/models/comment.rb @@ -0,0 +1,5 @@ +class Comment < ApplicationRecord + belongs_to :post + + validates :comment, presence: true +end diff --git a/app/models/concerns/.keep b/app/models/concerns/.keep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/app/models/post.rb b/app/models/post.rb new file mode 100644 index 0000000000..8d031e9056 --- /dev/null +++ b/app/models/post.rb @@ -0,0 +1,7 @@ +class Post < ApplicationRecord + # belongs_to :user + has_one_attached :image + has_many :comments + + validates :caption, presence: true +end diff --git a/app/models/user.rb b/app/models/user.rb new file mode 100644 index 0000000000..a348becfde --- /dev/null +++ b/app/models/user.rb @@ -0,0 +1,8 @@ +class User < ApplicationRecord + # Include default devise modules. Others available are: + # :confirmable, :lockable, :timeoutable, :trackable and :omniauthable + devise :database_authenticatable, :registerable, + :recoverable, :rememberable, :validatable + + has_many :posts +end diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb new file mode 100644 index 0000000000..7c24592f98 --- /dev/null +++ b/app/views/comments/_comment.html.erb @@ -0,0 +1,4 @@ +

+ Comment: + <%= comment.comment %> +

diff --git a/app/views/comments/_form.html.erb b/app/views/comments/_form.html.erb new file mode 100644 index 0000000000..819f658c01 --- /dev/null +++ b/app/views/comments/_form.html.erb @@ -0,0 +1,9 @@ +<%= form_with model: [ @post, @post.comments.build ], local: true do |form| %> +

+ <%= form.label :comment %>
+ <%= form.text_area :comment %> +

+

+ <%= form.submit %> +

+<% end %> \ No newline at end of file diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb new file mode 100644 index 0000000000..fb0244f942 --- /dev/null +++ b/app/views/layouts/application.html.erb @@ -0,0 +1,20 @@ + + + + InstagramChallenge + + <%= csrf_meta_tags %> + <%= csp_meta_tag %> + + + <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + + + + <%= render 'shared/navbar' %> +

<%= notice %>

+

<%= alert %>

+ <%= yield %> + + diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb new file mode 100644 index 0000000000..cbd34d2e9d --- /dev/null +++ b/app/views/layouts/mailer.html.erb @@ -0,0 +1,13 @@ + + + + + + + + + <%= yield %> + + diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb new file mode 100644 index 0000000000..37f0bddbd7 --- /dev/null +++ b/app/views/layouts/mailer.text.erb @@ -0,0 +1 @@ +<%= yield %> diff --git a/app/views/posts/index.html.erb b/app/views/posts/index.html.erb new file mode 100644 index 0000000000..46de554177 --- /dev/null +++ b/app/views/posts/index.html.erb @@ -0,0 +1,24 @@ +<% name = current_user.present? ? current_user.email : "Stranger" %> + +

Welcome, <%= name %>

+ +<% if user_signed_in? %> +

Posts:

+
+ <% @posts.each do |post| %> +
+ <%= link_to post.caption, post %> + <% if post.image.attached? %> + + <% end %> +

+ <% end %> +
+
+
+<%= link_to new_post_path do %> + New post +<% end %> +<% end %> + + diff --git a/app/views/posts/new.html.erb b/app/views/posts/new.html.erb new file mode 100644 index 0000000000..135ae2d279 --- /dev/null +++ b/app/views/posts/new.html.erb @@ -0,0 +1,10 @@ +<%= form_for @post do |form| %> + <%= form.label :caption %> + <%= form.text_field :caption %> + <%= form.label :image %> + <%= form.file_field :image %> + <%= form.number_field :user_id, + id: :post_user_id, value: current_user.id, type: :hidden %> + + <%= form.submit "Submit" %> +<% end %> diff --git a/app/views/posts/show.html.erb b/app/views/posts/show.html.erb new file mode 100644 index 0000000000..9b5e710419 --- /dev/null +++ b/app/views/posts/show.html.erb @@ -0,0 +1,10 @@ +

<%= @post.caption %>

+<% if @post.image.attached? %> + +<% end %> + +

Comments

+<%= render @post.comments %> + +

Add a comment:

+<%= render 'comments/form' %> diff --git a/app/views/shared/_navbar.html.erb b/app/views/shared/_navbar.html.erb new file mode 100644 index 0000000000..9c4e3d0266 --- /dev/null +++ b/app/views/shared/_navbar.html.erb @@ -0,0 +1,26 @@ + \ No newline at end of file diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000000..19a07f3146 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,82 @@ +module.exports = function(api) { + var validEnv = ['development', 'test', 'production'] + var currentEnv = api.env() + var isDevelopmentEnv = api.env('development') + var isProductionEnv = api.env('production') + var isTestEnv = api.env('test') + + if (!validEnv.includes(currentEnv)) { + throw new Error( + 'Please specify a valid `NODE_ENV` or ' + + '`BABEL_ENV` environment variables. Valid values are "development", ' + + '"test", and "production". Instead, received: ' + + JSON.stringify(currentEnv) + + '.' + ) + } + + return { + presets: [ + isTestEnv && [ + '@babel/preset-env', + { + targets: { + node: 'current' + } + } + ], + (isProductionEnv || isDevelopmentEnv) && [ + '@babel/preset-env', + { + forceAllTransforms: true, + useBuiltIns: 'entry', + corejs: 3, + modules: false, + exclude: ['transform-typeof-symbol'] + } + ] + ].filter(Boolean), + plugins: [ + 'babel-plugin-macros', + '@babel/plugin-syntax-dynamic-import', + isTestEnv && 'babel-plugin-dynamic-import-node', + '@babel/plugin-transform-destructuring', + [ + '@babel/plugin-proposal-class-properties', + { + loose: true + } + ], + [ + '@babel/plugin-proposal-object-rest-spread', + { + useBuiltIns: true + } + ], + [ + '@babel/plugin-proposal-private-methods', + { + loose: true + } + ], + [ + '@babel/plugin-proposal-private-property-in-object', + { + loose: true + } + ], + [ + '@babel/plugin-transform-runtime', + { + helpers: false + } + ], + [ + '@babel/plugin-transform-regenerator', + { + async: false + } + ] + ].filter(Boolean) + } +} diff --git a/bin/bundle b/bin/bundle new file mode 100755 index 0000000000..374a0a1fac --- /dev/null +++ b/bin/bundle @@ -0,0 +1,114 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# +# This file was generated by Bundler. +# +# The application 'bundle' is installed as part of a gem, and +# this file is here to facilitate running it. +# + +require "rubygems" + +m = Module.new do + module_function + + def invoked_as_script? + File.expand_path($0) == File.expand_path(__FILE__) + end + + def env_var_version + ENV["BUNDLER_VERSION"] + end + + def cli_arg_version + return unless invoked_as_script? # don't want to hijack other binstubs + return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update` + bundler_version = nil + update_index = nil + ARGV.each_with_index do |a, i| + if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN + bundler_version = a + end + next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/ + bundler_version = $1 + update_index = i + end + bundler_version + end + + def gemfile + gemfile = ENV["BUNDLE_GEMFILE"] + return gemfile if gemfile && !gemfile.empty? + + File.expand_path("../../Gemfile", __FILE__) + end + + def lockfile + lockfile = + case File.basename(gemfile) + when "gems.rb" then gemfile.sub(/\.rb$/, gemfile) + else "#{gemfile}.lock" + end + File.expand_path(lockfile) + end + + def lockfile_version + return unless File.file?(lockfile) + lockfile_contents = File.read(lockfile) + return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/ + Regexp.last_match(1) + end + + def bundler_requirement + @bundler_requirement ||= + env_var_version || cli_arg_version || + bundler_requirement_for(lockfile_version) + end + + def bundler_requirement_for(version) + return "#{Gem::Requirement.default}.a" unless version + + bundler_gem_version = Gem::Version.new(version) + + requirement = bundler_gem_version.approximate_recommendation + + return requirement unless Gem::Version.new(Gem::VERSION) < Gem::Version.new("2.7.0") + + requirement += ".a" if bundler_gem_version.prerelease? + + requirement + end + + def load_bundler! + ENV["BUNDLE_GEMFILE"] ||= gemfile + + activate_bundler + end + + def activate_bundler + gem_error = activation_error_handling do + gem "bundler", bundler_requirement + end + return if gem_error.nil? + require_error = activation_error_handling do + require "bundler/version" + end + return if require_error.nil? && Gem::Requirement.new(bundler_requirement).satisfied_by?(Gem::Version.new(Bundler::VERSION)) + warn "Activating bundler (#{bundler_requirement}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_requirement}'`" + exit 42 + end + + def activation_error_handling + yield + nil + rescue StandardError, LoadError => e + e + end +end + +m.load_bundler! + +if m.invoked_as_script? + load Gem.bin_path("bundler", "bundle") +end diff --git a/bin/rails b/bin/rails new file mode 100755 index 0000000000..21d3e02d89 --- /dev/null +++ b/bin/rails @@ -0,0 +1,5 @@ +#!/usr/bin/env ruby +load File.expand_path("spring", __dir__) +APP_PATH = File.expand_path('../config/application', __dir__) +require_relative "../config/boot" +require "rails/commands" diff --git a/bin/rake b/bin/rake new file mode 100755 index 0000000000..7327f471e4 --- /dev/null +++ b/bin/rake @@ -0,0 +1,5 @@ +#!/usr/bin/env ruby +load File.expand_path("spring", __dir__) +require_relative "../config/boot" +require "rake" +Rake.application.run diff --git a/bin/setup b/bin/setup new file mode 100755 index 0000000000..90700ac4f9 --- /dev/null +++ b/bin/setup @@ -0,0 +1,36 @@ +#!/usr/bin/env ruby +require "fileutils" + +# path to your application root. +APP_ROOT = File.expand_path('..', __dir__) + +def system!(*args) + system(*args) || abort("\n== Command #{args} failed ==") +end + +FileUtils.chdir APP_ROOT do + # This script is a way to set up or update your development environment automatically. + # This script is idempotent, so that you can run it at any time and get an expectable outcome. + # Add necessary setup steps to this file. + + puts '== Installing dependencies ==' + system! 'gem install bundler --conservative' + system('bundle check') || system!('bundle install') + + # Install JavaScript dependencies + system! 'bin/yarn' + + # puts "\n== Copying sample files ==" + # unless File.exist?('config/database.yml') + # FileUtils.cp 'config/database.yml.sample', 'config/database.yml' + # end + + puts "\n== Preparing database ==" + system! 'bin/rails db:prepare' + + puts "\n== Removing old logs and tempfiles ==" + system! 'bin/rails log:clear tmp:clear' + + puts "\n== Restarting application server ==" + system! 'bin/rails restart' +end diff --git a/bin/spring b/bin/spring new file mode 100755 index 0000000000..b4147e8437 --- /dev/null +++ b/bin/spring @@ -0,0 +1,14 @@ +#!/usr/bin/env ruby +if !defined?(Spring) && [nil, "development", "test"].include?(ENV["RAILS_ENV"]) + gem "bundler" + require "bundler" + + # Load Spring without loading other gems in the Gemfile, for speed. + Bundler.locked_gems&.specs&.find { |spec| spec.name == "spring" }&.tap do |spring| + Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path + gem "spring", spring.version + require "spring/binstub" + rescue Gem::LoadError + # Ignore when Spring is not installed. + end +end diff --git a/bin/webpack b/bin/webpack new file mode 100755 index 0000000000..1031168d01 --- /dev/null +++ b/bin/webpack @@ -0,0 +1,18 @@ +#!/usr/bin/env ruby + +ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development" +ENV["NODE_ENV"] ||= "development" + +require "pathname" +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", + Pathname.new(__FILE__).realpath) + +require "bundler/setup" + +require "webpacker" +require "webpacker/webpack_runner" + +APP_ROOT = File.expand_path("..", __dir__) +Dir.chdir(APP_ROOT) do + Webpacker::WebpackRunner.run(ARGV) +end diff --git a/bin/webpack-dev-server b/bin/webpack-dev-server new file mode 100755 index 0000000000..dd9662737a --- /dev/null +++ b/bin/webpack-dev-server @@ -0,0 +1,18 @@ +#!/usr/bin/env ruby + +ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development" +ENV["NODE_ENV"] ||= "development" + +require "pathname" +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", + Pathname.new(__FILE__).realpath) + +require "bundler/setup" + +require "webpacker" +require "webpacker/dev_server_runner" + +APP_ROOT = File.expand_path("..", __dir__) +Dir.chdir(APP_ROOT) do + Webpacker::DevServerRunner.run(ARGV) +end diff --git a/bin/yarn b/bin/yarn new file mode 100755 index 0000000000..9fab2c3507 --- /dev/null +++ b/bin/yarn @@ -0,0 +1,17 @@ +#!/usr/bin/env ruby +APP_ROOT = File.expand_path('..', __dir__) +Dir.chdir(APP_ROOT) do + yarn = ENV["PATH"].split(File::PATH_SEPARATOR). + select { |dir| File.expand_path(dir) != __dir__ }. + product(["yarn", "yarn.cmd", "yarn.ps1"]). + map { |dir, file| File.expand_path(file, dir) }. + find { |file| File.executable?(file) } + + if yarn + exec yarn, *ARGV + else + $stderr.puts "Yarn executable was not detected in the system." + $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install" + exit 1 + end +end diff --git a/config.ru b/config.ru new file mode 100644 index 0000000000..4a3c09a688 --- /dev/null +++ b/config.ru @@ -0,0 +1,6 @@ +# This file is used by Rack-based servers to start the application. + +require_relative "config/environment" + +run Rails.application +Rails.application.load_server diff --git a/config/application.rb b/config/application.rb new file mode 100644 index 0000000000..c856ff0d28 --- /dev/null +++ b/config/application.rb @@ -0,0 +1,22 @@ +require_relative "boot" + +require "rails/all" + +# Require the gems listed in Gemfile, including any gems +# you've limited to :test, :development, or :production. +Bundler.require(*Rails.groups) + +module InstagramChallenge + class Application < Rails::Application + # Initialize configuration defaults for originally generated Rails version. + config.load_defaults 6.1 + + # Configuration for the application, engines, and railties goes here. + # + # These settings can be overridden in specific environments using the files + # in config/environments, which are processed later. + # + # config.time_zone = "Central Time (US & Canada)" + # config.eager_load_paths << Rails.root.join("extras") + end +end diff --git a/config/boot.rb b/config/boot.rb new file mode 100644 index 0000000000..3cda23b4db --- /dev/null +++ b/config/boot.rb @@ -0,0 +1,4 @@ +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) + +require "bundler/setup" # Set up gems listed in the Gemfile. +require "bootsnap/setup" # Speed up boot time by caching expensive operations. diff --git a/config/cable.yml b/config/cable.yml new file mode 100644 index 0000000000..07d4bf30f9 --- /dev/null +++ b/config/cable.yml @@ -0,0 +1,10 @@ +development: + adapter: async + +test: + adapter: test + +production: + adapter: redis + url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> + channel_prefix: instagram_challenge_production diff --git a/config/credentials.yml.enc b/config/credentials.yml.enc new file mode 100644 index 0000000000..177bf9a0df --- /dev/null +++ b/config/credentials.yml.enc @@ -0,0 +1 @@ +VJWgasQoWxRmlHvGEFY0iUgUYKW5ztm8gVvMeNIXhlTJryPQMqSXvZ5MAA8JQsZQhwclTEK0ULXoE5nO7wa3zeREvC0dGFnYQtCnMFqHb3SQxl8A+lsLVSqfVnYJnoqrpYsoh9ekKkYMNCe4E8bc2x/o+gEejyjTzPS8TRI2hbeuJdtJOuULQmixnIWXG2ojqOC/8om6GZ4PMAZ7GNzyLQf02zL+9AIp/4b+ajJYEwMpwvpJWd/c9pfCJEKtaYReOS0k3uEs8OMi3MqJfdRKd+mDjWBp78JWK4i3MGUyqulg+yFZyJX9HCQuq1/SScKz7VE2en8BRP5MQ6KxjKNBDZYXFPl4T5UMCyThy3nOC6Jf7lipq/zRL1dIMX2DWi3v5GbDGbDdHHOGhLofOAiIB1WkUFLEFR30dPdn--s/N6KDbQCFtjZjLo--IxvcRO8NlY1Mz2xmizMgOw== \ No newline at end of file diff --git a/config/database.yml b/config/database.yml new file mode 100644 index 0000000000..4a8a1b26fe --- /dev/null +++ b/config/database.yml @@ -0,0 +1,25 @@ +# SQLite. Versions 3.8.0 and up are supported. +# gem install sqlite3 +# +# Ensure the SQLite 3 gem is defined in your Gemfile +# gem 'sqlite3' +# +default: &default + adapter: sqlite3 + pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> + timeout: 5000 + +development: + <<: *default + database: db/development.sqlite3 + +# Warning: The database defined as "test" will be erased and +# re-generated from your development database when you run "rake". +# Do not set this db to the same as development or production. +test: + <<: *default + database: db/test.sqlite3 + +production: + <<: *default + database: db/production.sqlite3 diff --git a/config/environment.rb b/config/environment.rb new file mode 100644 index 0000000000..cac5315775 --- /dev/null +++ b/config/environment.rb @@ -0,0 +1,5 @@ +# Load the Rails application. +require_relative "application" + +# Initialize the Rails application. +Rails.application.initialize! diff --git a/config/environments/development.rb b/config/environments/development.rb new file mode 100644 index 0000000000..71658d5d97 --- /dev/null +++ b/config/environments/development.rb @@ -0,0 +1,78 @@ +require "active_support/core_ext/integer/time" + +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # In the development environment your application's code is reloaded any time + # it changes. This slows down response time but is perfect for development + # since you don't have to restart the web server when you make code changes. + config.cache_classes = false + + # Do not eager load code on boot. + config.eager_load = false + + # Show full error reports. + config.consider_all_requests_local = true + + # Enable/disable caching. By default caching is disabled. + # Run rails dev:cache to toggle caching. + if Rails.root.join('tmp', 'caching-dev.txt').exist? + config.action_controller.perform_caching = true + config.action_controller.enable_fragment_cache_logging = true + + config.cache_store = :memory_store + config.public_file_server.headers = { + 'Cache-Control' => "public, max-age=#{2.days.to_i}" + } + else + config.action_controller.perform_caching = false + + config.cache_store = :null_store + end + + # Store uploaded files on the local file system (see config/storage.yml for options). + config.active_storage.service = :local + + # Don't care if the mailer can't send. + config.action_mailer.raise_delivery_errors = false + + config.action_mailer.perform_caching = false + + # Print deprecation notices to the Rails logger. + config.active_support.deprecation = :log + + # Raise exceptions for disallowed deprecations. + config.active_support.disallowed_deprecation = :raise + + # Tell Active Support which deprecation messages to disallow. + config.active_support.disallowed_deprecation_warnings = [] + + # Raise an error on page load if there are pending migrations. + config.active_record.migration_error = :page_load + + # Highlight code that triggered database queries in logs. + config.active_record.verbose_query_logs = true + + # Debug mode disables concatenation and preprocessing of assets. + # This option may cause significant delays in view rendering with a large + # number of complex assets. + config.assets.debug = true + + # Suppress logger output for asset requests. + config.assets.quiet = true + + # Raises error for missing translations. + # config.i18n.raise_on_missing_translations = true + + # Annotate rendered view with file names. + # config.action_view.annotate_rendered_view_with_filenames = true + + # Use an evented file watcher to asynchronously detect changes in source code, + # routes, locales, etc. This feature depends on the listen gem. + config.file_watcher = ActiveSupport::EventedFileUpdateChecker + + # Uncomment if you wish to allow Action Cable access from any origin. + # config.action_cable.disable_request_forgery_protection = true + + config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } +end diff --git a/config/environments/production.rb b/config/environments/production.rb new file mode 100644 index 0000000000..3827e6762e --- /dev/null +++ b/config/environments/production.rb @@ -0,0 +1,122 @@ +require "active_support/core_ext/integer/time" + +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + # Code is not reloaded between requests. + config.cache_classes = true + + # Eager load code on boot. This eager loads most of Rails and + # your application in memory, allowing both threaded web servers + # and those relying on copy on write to perform better. + # Rake tasks automatically ignore this option for performance. + config.eager_load = true + + # Full error reports are disabled and caching is turned on. + config.consider_all_requests_local = false + config.action_controller.perform_caching = true + + # Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"] + # or in config/master.key. This key is used to decrypt credentials (and other encrypted files). + # config.require_master_key = true + + # Disable serving static files from the `/public` folder by default since + # Apache or NGINX already handles this. + config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? + + # Compress CSS using a preprocessor. + # config.assets.css_compressor = :sass + + # Do not fallback to assets pipeline if a precompiled asset is missed. + config.assets.compile = false + + # Enable serving of images, stylesheets, and JavaScripts from an asset server. + # config.asset_host = 'http://assets.example.com' + + # Specifies the header that your server uses for sending files. + # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache + # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX + + # Store uploaded files on the local file system (see config/storage.yml for options). + config.active_storage.service = :local + + # Mount Action Cable outside main process or domain. + # config.action_cable.mount_path = nil + # config.action_cable.url = 'wss://example.com/cable' + # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ] + + # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. + # config.force_ssl = true + + # Include generic and useful information about system operation, but avoid logging too much + # information to avoid inadvertent exposure of personally identifiable information (PII). + config.log_level = :info + + # Prepend all log lines with the following tags. + config.log_tags = [ :request_id ] + + # Use a different cache store in production. + # config.cache_store = :mem_cache_store + + # Use a real queuing backend for Active Job (and separate queues per environment). + # config.active_job.queue_adapter = :resque + # config.active_job.queue_name_prefix = "instagram_challenge_production" + + config.action_mailer.perform_caching = false + + # Ignore bad email addresses and do not raise email delivery errors. + # Set this to true and configure the email server for immediate delivery to raise delivery errors. + # config.action_mailer.raise_delivery_errors = false + + # Enable locale fallbacks for I18n (makes lookups for any locale fall back to + # the I18n.default_locale when a translation cannot be found). + config.i18n.fallbacks = true + + # Send deprecation notices to registered listeners. + config.active_support.deprecation = :notify + + # Log disallowed deprecations. + config.active_support.disallowed_deprecation = :log + + # Tell Active Support which deprecation messages to disallow. + config.active_support.disallowed_deprecation_warnings = [] + + # Use default logging formatter so that PID and timestamp are not suppressed. + config.log_formatter = ::Logger::Formatter.new + + # Use a different logger for distributed setups. + # require "syslog/logger" + # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') + + if ENV["RAILS_LOG_TO_STDOUT"].present? + logger = ActiveSupport::Logger.new(STDOUT) + logger.formatter = config.log_formatter + config.logger = ActiveSupport::TaggedLogging.new(logger) + end + + # Do not dump schema after migrations. + config.active_record.dump_schema_after_migration = false + + # Inserts middleware to perform automatic connection switching. + # The `database_selector` hash is used to pass options to the DatabaseSelector + # middleware. The `delay` is used to determine how long to wait after a write + # to send a subsequent read to the primary. + # + # The `database_resolver` class is used by the middleware to determine which + # database is appropriate to use based on the time delay. + # + # The `database_resolver_context` class is used by the middleware to set + # timestamps for the last write to the primary. The resolver uses the context + # class timestamps to determine how long to wait before reading from the + # replica. + # + # By default Rails will store a last write timestamp in the session. The + # DatabaseSelector middleware is designed as such you can define your own + # strategy for connection switching and pass that into the middleware through + # these configuration options. + # config.active_record.database_selector = { delay: 2.seconds } + # config.active_record.database_resolver = ActiveRecord::Middleware::DatabaseSelector::Resolver + # config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session + + # config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } +end diff --git a/config/environments/test.rb b/config/environments/test.rb new file mode 100644 index 0000000000..93ed4f1b78 --- /dev/null +++ b/config/environments/test.rb @@ -0,0 +1,60 @@ +require "active_support/core_ext/integer/time" + +# The test environment is used exclusively to run your application's +# test suite. You never need to work with it otherwise. Remember that +# your test database is "scratch space" for the test suite and is wiped +# and recreated between test runs. Don't rely on the data there! + +Rails.application.configure do + # Settings specified here will take precedence over those in config/application.rb. + + config.cache_classes = false + config.action_view.cache_template_loading = true + + # Do not eager load code on boot. This avoids loading your whole application + # just for the purpose of running a single test. If you are using a tool that + # preloads Rails for running tests, you may have to set it to true. + config.eager_load = false + + # Configure public file server for tests with Cache-Control for performance. + config.public_file_server.enabled = true + config.public_file_server.headers = { + 'Cache-Control' => "public, max-age=#{1.hour.to_i}" + } + + # Show full error reports and disable caching. + config.consider_all_requests_local = true + config.action_controller.perform_caching = false + config.cache_store = :null_store + + # Raise exceptions instead of rendering exception templates. + config.action_dispatch.show_exceptions = false + + # Disable request forgery protection in test environment. + config.action_controller.allow_forgery_protection = false + + # Store uploaded files on the local file system in a temporary directory. + config.active_storage.service = :test + + config.action_mailer.perform_caching = false + + # Tell Action Mailer not to deliver emails to the real world. + # The :test delivery method accumulates sent emails in the + # ActionMailer::Base.deliveries array. + config.action_mailer.delivery_method = :test + + # Print deprecation notices to the stderr. + config.active_support.deprecation = :stderr + + # Raise exceptions for disallowed deprecations. + config.active_support.disallowed_deprecation = :raise + + # Tell Active Support which deprecation messages to disallow. + config.active_support.disallowed_deprecation_warnings = [] + + # Raises error for missing translations. + # config.i18n.raise_on_missing_translations = true + + # Annotate rendered view with file names. + # config.action_view.annotate_rendered_view_with_filenames = true +end diff --git a/config/initializers/application_controller_renderer.rb b/config/initializers/application_controller_renderer.rb new file mode 100644 index 0000000000..89d2efab2b --- /dev/null +++ b/config/initializers/application_controller_renderer.rb @@ -0,0 +1,8 @@ +# Be sure to restart your server when you modify this file. + +# ActiveSupport::Reloader.to_prepare do +# ApplicationController.renderer.defaults.merge!( +# http_host: 'example.org', +# https: false +# ) +# end diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb new file mode 100644 index 0000000000..4b828e80cb --- /dev/null +++ b/config/initializers/assets.rb @@ -0,0 +1,14 @@ +# Be sure to restart your server when you modify this file. + +# Version of your assets, change this if you want to expire all your assets. +Rails.application.config.assets.version = '1.0' + +# Add additional assets to the asset load path. +# Rails.application.config.assets.paths << Emoji.images_path +# Add Yarn node_modules folder to the asset load path. +Rails.application.config.assets.paths << Rails.root.join('node_modules') + +# Precompile additional assets. +# application.js, application.css, and all non-JS/CSS in the app/assets +# folder are already added. +# Rails.application.config.assets.precompile += %w( admin.js admin.css ) diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb new file mode 100644 index 0000000000..33699c3091 --- /dev/null +++ b/config/initializers/backtrace_silencers.rb @@ -0,0 +1,8 @@ +# Be sure to restart your server when you modify this file. + +# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. +# Rails.backtrace_cleaner.add_silencer { |line| /my_noisy_library/.match?(line) } + +# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code +# by setting BACKTRACE=1 before calling your invocation, like "BACKTRACE=1 ./bin/rails runner 'MyClass.perform'". +Rails.backtrace_cleaner.remove_silencers! if ENV["BACKTRACE"] diff --git a/config/initializers/content_security_policy.rb b/config/initializers/content_security_policy.rb new file mode 100644 index 0000000000..35d0f26fcd --- /dev/null +++ b/config/initializers/content_security_policy.rb @@ -0,0 +1,30 @@ +# Be sure to restart your server when you modify this file. + +# Define an application-wide content security policy +# For further information see the following documentation +# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy + +# Rails.application.config.content_security_policy do |policy| +# policy.default_src :self, :https +# policy.font_src :self, :https, :data +# policy.img_src :self, :https, :data +# policy.object_src :none +# policy.script_src :self, :https +# policy.style_src :self, :https +# # If you are using webpack-dev-server then specify webpack-dev-server host +# policy.connect_src :self, :https, "http://localhost:3035", "ws://localhost:3035" if Rails.env.development? + +# # Specify URI for violation reports +# # policy.report_uri "/csp-violation-report-endpoint" +# end + +# If you are using UJS then enable automatic nonce generation +# Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) } + +# Set the nonce only to specific directives +# Rails.application.config.content_security_policy_nonce_directives = %w(script-src) + +# Report CSP violations to a specified URI +# For further information see the following documentation: +# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only +# Rails.application.config.content_security_policy_report_only = true diff --git a/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb new file mode 100644 index 0000000000..5a6a32d371 --- /dev/null +++ b/config/initializers/cookies_serializer.rb @@ -0,0 +1,5 @@ +# Be sure to restart your server when you modify this file. + +# Specify a serializer for the signed and encrypted cookie jars. +# Valid options are :json, :marshal, and :hybrid. +Rails.application.config.action_dispatch.cookies_serializer = :json diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb new file mode 100644 index 0000000000..aa2f6e5018 --- /dev/null +++ b/config/initializers/devise.rb @@ -0,0 +1,311 @@ +# frozen_string_literal: true + +# Assuming you have not yet modified this file, each configuration option below +# is set to its default value. Note that some are commented out while others +# are not: uncommented lines are intended to protect your configuration from +# breaking changes in upgrades (i.e., in the event that future versions of +# Devise change the default values for those options). +# +# Use this hook to configure devise mailer, warden hooks and so forth. +# Many of these configuration options can be set straight in your model. +Devise.setup do |config| + # The secret key used by Devise. Devise uses this key to generate + # random tokens. Changing this key will render invalid all existing + # confirmation, reset password and unlock tokens in the database. + # Devise will use the `secret_key_base` as its `secret_key` + # by default. You can change it below and use your own secret key. + # config.secret_key = '9f8ab0ab6901165d1008f2408102075fa613593496020d86258a3fac6d700cdc3f4c288ed3a21fbb6765a1d9c9862edb858c2d8a54e561bf61580d3cdb748620' + + # ==> Controller configuration + # Configure the parent class to the devise controllers. + # config.parent_controller = 'DeviseController' + + # ==> Mailer Configuration + # Configure the e-mail address which will be shown in Devise::Mailer, + # note that it will be overwritten if you use your own mailer class + # with default "from" parameter. + config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com' + + # Configure the class responsible to send e-mails. + # config.mailer = 'Devise::Mailer' + + # Configure the parent class responsible to send e-mails. + # config.parent_mailer = 'ActionMailer::Base' + + # ==> ORM configuration + # Load and configure the ORM. Supports :active_record (default) and + # :mongoid (bson_ext recommended) by default. Other ORMs may be + # available as additional gems. + require 'devise/orm/active_record' + + # ==> Configuration for any authentication mechanism + # Configure which keys are used when authenticating a user. The default is + # just :email. You can configure it to use [:username, :subdomain], so for + # authenticating a user, both parameters are required. Remember that those + # parameters are used only when authenticating and not when retrieving from + # session. If you need permissions, you should implement that in a before filter. + # You can also supply a hash where the value is a boolean determining whether + # or not authentication should be aborted when the value is not present. + # config.authentication_keys = [:email] + + # Configure parameters from the request object used for authentication. Each entry + # given should be a request method and it will automatically be passed to the + # find_for_authentication method and considered in your model lookup. For instance, + # if you set :request_keys to [:subdomain], :subdomain will be used on authentication. + # The same considerations mentioned for authentication_keys also apply to request_keys. + # config.request_keys = [] + + # Configure which authentication keys should be case-insensitive. + # These keys will be downcased upon creating or modifying a user and when used + # to authenticate or find a user. Default is :email. + config.case_insensitive_keys = [:email] + + # Configure which authentication keys should have whitespace stripped. + # These keys will have whitespace before and after removed upon creating or + # modifying a user and when used to authenticate or find a user. Default is :email. + config.strip_whitespace_keys = [:email] + + # Tell if authentication through request.params is enabled. True by default. + # It can be set to an array that will enable params authentication only for the + # given strategies, for example, `config.params_authenticatable = [:database]` will + # enable it only for database (email + password) authentication. + # config.params_authenticatable = true + + # Tell if authentication through HTTP Auth is enabled. False by default. + # It can be set to an array that will enable http authentication only for the + # given strategies, for example, `config.http_authenticatable = [:database]` will + # enable it only for database authentication. + # For API-only applications to support authentication "out-of-the-box", you will likely want to + # enable this with :database unless you are using a custom strategy. + # The supported strategies are: + # :database = Support basic authentication with authentication key + password + # config.http_authenticatable = false + + # If 401 status code should be returned for AJAX requests. True by default. + # config.http_authenticatable_on_xhr = true + + # The realm used in Http Basic Authentication. 'Application' by default. + # config.http_authentication_realm = 'Application' + + # It will change confirmation, password recovery and other workflows + # to behave the same regardless if the e-mail provided was right or wrong. + # Does not affect registerable. + # config.paranoid = true + + # By default Devise will store the user in session. You can skip storage for + # particular strategies by setting this option. + # Notice that if you are skipping storage for all authentication paths, you + # may want to disable generating routes to Devise's sessions controller by + # passing skip: :sessions to `devise_for` in your config/routes.rb + config.skip_session_storage = [:http_auth] + + # By default, Devise cleans up the CSRF token on authentication to + # avoid CSRF token fixation attacks. This means that, when using AJAX + # requests for sign in and sign up, you need to get a new CSRF token + # from the server. You can disable this option at your own risk. + # config.clean_up_csrf_token_on_authentication = true + + # When false, Devise will not attempt to reload routes on eager load. + # This can reduce the time taken to boot the app but if your application + # requires the Devise mappings to be loaded during boot time the application + # won't boot properly. + # config.reload_routes = true + + # ==> Configuration for :database_authenticatable + # For bcrypt, this is the cost for hashing the password and defaults to 12. If + # using other algorithms, it sets how many times you want the password to be hashed. + # The number of stretches used for generating the hashed password are stored + # with the hashed password. This allows you to change the stretches without + # invalidating existing passwords. + # + # Limiting the stretches to just one in testing will increase the performance of + # your test suite dramatically. However, it is STRONGLY RECOMMENDED to not use + # a value less than 10 in other environments. Note that, for bcrypt (the default + # algorithm), the cost increases exponentially with the number of stretches (e.g. + # a value of 20 is already extremely slow: approx. 60 seconds for 1 calculation). + config.stretches = Rails.env.test? ? 1 : 12 + + # Set up a pepper to generate the hashed password. + # config.pepper = '8ee7d6c03b6ef7cf612915db0aa3a5c553771c8a8870121dbcd3532008e5a20c7c2da5fea57fcfd390530cf755c199cad61a824f5eaa71fa494fe3d3b446b911' + + # Send a notification to the original email when the user's email is changed. + # config.send_email_changed_notification = false + + # Send a notification email when the user's password is changed. + # config.send_password_change_notification = false + + # ==> Configuration for :confirmable + # A period that the user is allowed to access the website even without + # confirming their account. For instance, if set to 2.days, the user will be + # able to access the website for two days without confirming their account, + # access will be blocked just in the third day. + # You can also set it to nil, which will allow the user to access the website + # without confirming their account. + # Default is 0.days, meaning the user cannot access the website without + # confirming their account. + # config.allow_unconfirmed_access_for = 2.days + + # A period that the user is allowed to confirm their account before their + # token becomes invalid. For example, if set to 3.days, the user can confirm + # their account within 3 days after the mail was sent, but on the fourth day + # their account can't be confirmed with the token any more. + # Default is nil, meaning there is no restriction on how long a user can take + # before confirming their account. + # config.confirm_within = 3.days + + # If true, requires any email changes to be confirmed (exactly the same way as + # initial account confirmation) to be applied. Requires additional unconfirmed_email + # db field (see migrations). Until confirmed, new email is stored in + # unconfirmed_email column, and copied to email column on successful confirmation. + config.reconfirmable = true + + # Defines which key will be used when confirming an account + # config.confirmation_keys = [:email] + + # ==> Configuration for :rememberable + # The time the user will be remembered without asking for credentials again. + # config.remember_for = 2.weeks + + # Invalidates all the remember me tokens when the user signs out. + config.expire_all_remember_me_on_sign_out = true + + # If true, extends the user's remember period when remembered via cookie. + # config.extend_remember_period = false + + # Options to be passed to the created cookie. For instance, you can set + # secure: true in order to force SSL only cookies. + # config.rememberable_options = {} + + # ==> Configuration for :validatable + # Range for password length. + config.password_length = 6..128 + + # Email regex used to validate email formats. It simply asserts that + # one (and only one) @ exists in the given string. This is mainly + # to give user feedback and not to assert the e-mail validity. + config.email_regexp = /\A[^@\s]+@[^@\s]+\z/ + + # ==> Configuration for :timeoutable + # The time you want to timeout the user session without activity. After this + # time the user will be asked for credentials again. Default is 30 minutes. + # config.timeout_in = 30.minutes + + # ==> Configuration for :lockable + # Defines which strategy will be used to lock an account. + # :failed_attempts = Locks an account after a number of failed attempts to sign in. + # :none = No lock strategy. You should handle locking by yourself. + # config.lock_strategy = :failed_attempts + + # Defines which key will be used when locking and unlocking an account + # config.unlock_keys = [:email] + + # Defines which strategy will be used to unlock an account. + # :email = Sends an unlock link to the user email + # :time = Re-enables login after a certain amount of time (see :unlock_in below) + # :both = Enables both strategies + # :none = No unlock strategy. You should handle unlocking by yourself. + # config.unlock_strategy = :both + + # Number of authentication tries before locking an account if lock_strategy + # is failed attempts. + # config.maximum_attempts = 20 + + # Time interval to unlock the account if :time is enabled as unlock_strategy. + # config.unlock_in = 1.hour + + # Warn on the last attempt before the account is locked. + # config.last_attempt_warning = true + + # ==> Configuration for :recoverable + # + # Defines which key will be used when recovering the password for an account + # config.reset_password_keys = [:email] + + # Time interval you can reset your password with a reset password key. + # Don't put a too small interval or your users won't have the time to + # change their passwords. + config.reset_password_within = 6.hours + + # When set to false, does not sign a user in automatically after their password is + # reset. Defaults to true, so a user is signed in automatically after a reset. + # config.sign_in_after_reset_password = true + + # ==> Configuration for :encryptable + # Allow you to use another hashing or encryption algorithm besides bcrypt (default). + # You can use :sha1, :sha512 or algorithms from others authentication tools as + # :clearance_sha1, :authlogic_sha512 (then you should set stretches above to 20 + # for default behavior) and :restful_authentication_sha1 (then you should set + # stretches to 10, and copy REST_AUTH_SITE_KEY to pepper). + # + # Require the `devise-encryptable` gem when using anything other than bcrypt + # config.encryptor = :sha512 + + # ==> Scopes configuration + # Turn scoped views on. Before rendering "sessions/new", it will first check for + # "users/sessions/new". It's turned off by default because it's slower if you + # are using only default views. + # config.scoped_views = false + + # Configure the default scope given to Warden. By default it's the first + # devise role declared in your routes (usually :user). + # config.default_scope = :user + + # Set this configuration to false if you want /users/sign_out to sign out + # only the current scope. By default, Devise signs out all scopes. + # config.sign_out_all_scopes = true + + # ==> Navigation configuration + # Lists the formats that should be treated as navigational. Formats like + # :html, should redirect to the sign in page when the user does not have + # access, but formats like :xml or :json, should return 401. + # + # If you have any extra navigational formats, like :iphone or :mobile, you + # should add them to the navigational formats lists. + # + # The "*/*" below is required to match Internet Explorer requests. + # config.navigational_formats = ['*/*', :html] + + # The default HTTP method used to sign out a resource. Default is :delete. + config.sign_out_via = :delete + + # ==> OmniAuth + # Add a new OmniAuth provider. Check the wiki for more information on setting + # up on your models and hooks. + # config.omniauth :github, 'APP_ID', 'APP_SECRET', scope: 'user,public_repo' + + # ==> Warden configuration + # If you want to use other strategies, that are not supported by Devise, or + # change the failure app, you can configure them inside the config.warden block. + # + # config.warden do |manager| + # manager.intercept_401 = false + # manager.default_strategies(scope: :user).unshift :some_external_strategy + # end + + # ==> Mountable engine configurations + # When using Devise inside an engine, let's call it `MyEngine`, and this engine + # is mountable, there are some extra configurations to be taken into account. + # The following options are available, assuming the engine is mounted as: + # + # mount MyEngine, at: '/my_engine' + # + # The router that invoked `devise_for`, in the example above, would be: + # config.router_name = :my_engine + # + # When using OmniAuth, Devise cannot automatically set OmniAuth path, + # so you need to do it manually. For the users scope, it would be: + # config.omniauth_path_prefix = '/my_engine/users/auth' + + # ==> Turbolinks configuration + # If your app is using Turbolinks, Turbolinks::Controller needs to be included to make redirection work correctly: + # + # ActiveSupport.on_load(:devise_failure_app) do + # include Turbolinks::Controller + # end + + # ==> Configuration for :registerable + + # When set to false, does not sign a user in automatically after their password is + # changed. Defaults to true, so a user is signed in automatically after changing a password. + # config.sign_in_after_change_password = true +end diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb new file mode 100644 index 0000000000..4b34a03668 --- /dev/null +++ b/config/initializers/filter_parameter_logging.rb @@ -0,0 +1,6 @@ +# Be sure to restart your server when you modify this file. + +# Configure sensitive parameters which will be filtered from the log file. +Rails.application.config.filter_parameters += [ + :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn +] diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb new file mode 100644 index 0000000000..ac033bf9dc --- /dev/null +++ b/config/initializers/inflections.rb @@ -0,0 +1,16 @@ +# Be sure to restart your server when you modify this file. + +# Add new inflection rules using the following format. Inflections +# are locale specific, and you may define rules for as many different +# locales as you wish. All of these examples are active by default: +# ActiveSupport::Inflector.inflections(:en) do |inflect| +# inflect.plural /^(ox)$/i, '\1en' +# inflect.singular /^(ox)en/i, '\1' +# inflect.irregular 'person', 'people' +# inflect.uncountable %w( fish sheep ) +# end + +# These inflection rules are supported but not enabled by default: +# ActiveSupport::Inflector.inflections(:en) do |inflect| +# inflect.acronym 'RESTful' +# end diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb new file mode 100644 index 0000000000..dc1899682b --- /dev/null +++ b/config/initializers/mime_types.rb @@ -0,0 +1,4 @@ +# Be sure to restart your server when you modify this file. + +# Add new mime types for use in respond_to blocks: +# Mime::Type.register "text/richtext", :rtf diff --git a/config/initializers/permissions_policy.rb b/config/initializers/permissions_policy.rb new file mode 100644 index 0000000000..00f64d71b0 --- /dev/null +++ b/config/initializers/permissions_policy.rb @@ -0,0 +1,11 @@ +# Define an application-wide HTTP permissions policy. For further +# information see https://developers.google.com/web/updates/2018/06/feature-policy +# +# Rails.application.config.permissions_policy do |f| +# f.camera :none +# f.gyroscope :none +# f.microphone :none +# f.usb :none +# f.fullscreen :self +# f.payment :self, "https://secure.example.com" +# end diff --git a/config/initializers/wrap_parameters.rb b/config/initializers/wrap_parameters.rb new file mode 100644 index 0000000000..bbfc3961bf --- /dev/null +++ b/config/initializers/wrap_parameters.rb @@ -0,0 +1,14 @@ +# Be sure to restart your server when you modify this file. + +# This file contains settings for ActionController::ParamsWrapper which +# is enabled by default. + +# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. +ActiveSupport.on_load(:action_controller) do + wrap_parameters format: [:json] +end + +# To enable root element in JSON for ActiveRecord objects. +# ActiveSupport.on_load(:active_record) do +# self.include_root_in_json = true +# end diff --git a/config/locales/devise.en.yml b/config/locales/devise.en.yml new file mode 100644 index 0000000000..260e1c4ba6 --- /dev/null +++ b/config/locales/devise.en.yml @@ -0,0 +1,65 @@ +# 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 new file mode 100644 index 0000000000..cf9b342d0a --- /dev/null +++ b/config/locales/en.yml @@ -0,0 +1,33 @@ +# 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" diff --git a/config/master.key b/config/master.key new file mode 100644 index 0000000000..08ffaecfe3 --- /dev/null +++ b/config/master.key @@ -0,0 +1 @@ +997a5e4ef23554b012fa740860bc0852 \ No newline at end of file diff --git a/config/puma.rb b/config/puma.rb new file mode 100644 index 0000000000..d9b3e836cf --- /dev/null +++ b/config/puma.rb @@ -0,0 +1,43 @@ +# Puma can serve each request in a thread from an internal thread pool. +# The `threads` method setting takes two numbers: a minimum and maximum. +# Any libraries that use thread pools should be configured to match +# the maximum value specified for Puma. Default is set to 5 threads for minimum +# and maximum; this matches the default thread size of Active Record. +# +max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 } +min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count } +threads min_threads_count, max_threads_count + +# Specifies the `worker_timeout` threshold that Puma will use to wait before +# terminating a worker in development environments. +# +worker_timeout 3600 if ENV.fetch("RAILS_ENV", "development") == "development" + +# Specifies the `port` that Puma will listen on to receive requests; default is 3000. +# +port ENV.fetch("PORT") { 3000 } + +# Specifies the `environment` that Puma will run in. +# +environment ENV.fetch("RAILS_ENV") { "development" } + +# Specifies the `pidfile` that Puma will use. +pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" } + +# Specifies the number of `workers` to boot in clustered mode. +# Workers are forked web server processes. If using threads and workers together +# the concurrency of the application would be max `threads` * `workers`. +# Workers do not work on JRuby or Windows (both of which do not support +# processes). +# +# workers ENV.fetch("WEB_CONCURRENCY") { 2 } + +# Use the `preload_app!` method when specifying a `workers` number. +# This directive tells Puma to first boot the application and load code +# before forking the application. This takes advantage of Copy On Write +# process behavior so workers use less memory. +# +# preload_app! + +# Allow puma to be restarted by `rails restart` command. +plugin :tmp_restart diff --git a/config/routes.rb b/config/routes.rb new file mode 100644 index 0000000000..b2480cff4b --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,9 @@ +Rails.application.routes.draw do + resources :posts do + resources :comments + end + devise_for :users + root to: "posts#index" + + get "/posts", to: "posts#index" +end diff --git a/config/spring.rb b/config/spring.rb new file mode 100644 index 0000000000..db5bf1307a --- /dev/null +++ b/config/spring.rb @@ -0,0 +1,6 @@ +Spring.watch( + ".ruby-version", + ".rbenv-vars", + "tmp/restart.txt", + "tmp/caching-dev.txt" +) diff --git a/config/storage.yml b/config/storage.yml new file mode 100644 index 0000000000..d32f76e8fb --- /dev/null +++ b/config/storage.yml @@ -0,0 +1,34 @@ +test: + service: Disk + root: <%= Rails.root.join("tmp/storage") %> + +local: + service: Disk + root: <%= Rails.root.join("storage") %> + +# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key) +# amazon: +# service: S3 +# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %> +# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %> +# region: us-east-1 +# bucket: your_own_bucket + +# Remember not to checkin your GCS keyfile to a repository +# google: +# service: GCS +# project: your_project +# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %> +# bucket: your_own_bucket + +# Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key) +# microsoft: +# service: AzureStorage +# storage_account_name: your_account_name +# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %> +# container: your_container_name + +# mirror: +# service: Mirror +# primary: local +# mirrors: [ amazon, google, microsoft ] diff --git a/config/webpack/development.js b/config/webpack/development.js new file mode 100644 index 0000000000..c5edff94ad --- /dev/null +++ b/config/webpack/development.js @@ -0,0 +1,5 @@ +process.env.NODE_ENV = process.env.NODE_ENV || 'development' + +const environment = require('./environment') + +module.exports = environment.toWebpackConfig() diff --git a/config/webpack/environment.js b/config/webpack/environment.js new file mode 100644 index 0000000000..d16d9af743 --- /dev/null +++ b/config/webpack/environment.js @@ -0,0 +1,3 @@ +const { environment } = require('@rails/webpacker') + +module.exports = environment diff --git a/config/webpack/production.js b/config/webpack/production.js new file mode 100644 index 0000000000..be0f53aacf --- /dev/null +++ b/config/webpack/production.js @@ -0,0 +1,5 @@ +process.env.NODE_ENV = process.env.NODE_ENV || 'production' + +const environment = require('./environment') + +module.exports = environment.toWebpackConfig() diff --git a/config/webpack/test.js b/config/webpack/test.js new file mode 100644 index 0000000000..c5edff94ad --- /dev/null +++ b/config/webpack/test.js @@ -0,0 +1,5 @@ +process.env.NODE_ENV = process.env.NODE_ENV || 'development' + +const environment = require('./environment') + +module.exports = environment.toWebpackConfig() diff --git a/config/webpacker.yml b/config/webpacker.yml new file mode 100644 index 0000000000..a6b146566a --- /dev/null +++ b/config/webpacker.yml @@ -0,0 +1,92 @@ +# Note: You must restart bin/webpack-dev-server for changes to take effect + +default: &default + source_path: app/javascript + source_entry_path: packs + public_root_path: public + public_output_path: packs + cache_path: tmp/cache/webpacker + webpack_compile_output: true + + # Additional paths webpack should lookup modules + # ['app/assets', 'engine/foo/app/assets'] + additional_paths: [] + + # Reload manifest.json on all requests so we reload latest compiled packs + cache_manifest: false + + # Extract and emit a css file + extract_css: false + + static_assets_extensions: + - .jpg + - .jpeg + - .png + - .gif + - .tiff + - .ico + - .svg + - .eot + - .otf + - .ttf + - .woff + - .woff2 + + extensions: + - .mjs + - .js + - .sass + - .scss + - .css + - .module.sass + - .module.scss + - .module.css + - .png + - .svg + - .gif + - .jpeg + - .jpg + +development: + <<: *default + compile: true + + # Reference: https://webpack.js.org/configuration/dev-server/ + dev_server: + https: false + host: localhost + port: 3035 + public: localhost:3035 + hmr: false + # Inline should be set to true if using HMR + inline: true + overlay: true + compress: true + disable_host_check: true + use_local_ip: false + quiet: false + pretty: false + headers: + 'Access-Control-Allow-Origin': '*' + watch_options: + ignored: '**/node_modules/**' + + +test: + <<: *default + compile: true + + # Compile test packs to a separate directory + public_output_path: packs-test + +production: + <<: *default + + # Production depends on precompilation of packs prior to booting for performance. + compile: false + + # Extract and emit a css file + extract_css: true + + # Cache manifest.json for performance + cache_manifest: true diff --git a/db/development.sqlite3 b/db/development.sqlite3 new file mode 100644 index 0000000000..b28e261042 Binary files /dev/null and b/db/development.sqlite3 differ diff --git a/db/migrate/20211212130440_devise_create_users.rb b/db/migrate/20211212130440_devise_create_users.rb new file mode 100644 index 0000000000..cc0991d9b7 --- /dev/null +++ b/db/migrate/20211212130440_devise_create_users.rb @@ -0,0 +1,44 @@ +# frozen_string_literal: true + +class DeviseCreateUsers < ActiveRecord::Migration[6.1] + def change + create_table :users do |t| + ## Database authenticatable + t.string :email, null: false, default: "" + t.string :encrypted_password, null: false, default: "" + + ## Recoverable + t.string :reset_password_token + t.datetime :reset_password_sent_at + + ## Rememberable + t.datetime :remember_created_at + + ## Trackable + # t.integer :sign_in_count, default: 0, null: false + # t.datetime :current_sign_in_at + # t.datetime :last_sign_in_at + # t.string :current_sign_in_ip + # t.string :last_sign_in_ip + + ## Confirmable + # t.string :confirmation_token + # t.datetime :confirmed_at + # t.datetime :confirmation_sent_at + # t.string :unconfirmed_email # Only if using reconfirmable + + ## Lockable + # t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts + # t.string :unlock_token # Only if unlock strategy is :email or :both + # t.datetime :locked_at + + + t.timestamps null: false + end + + add_index :users, :email, unique: true + add_index :users, :reset_password_token, unique: true + # add_index :users, :confirmation_token, unique: true + # add_index :users, :unlock_token, unique: true + end +end diff --git a/db/migrate/20211212141132_create_posts.rb b/db/migrate/20211212141132_create_posts.rb new file mode 100644 index 0000000000..9987b71b4d --- /dev/null +++ b/db/migrate/20211212141132_create_posts.rb @@ -0,0 +1,9 @@ +class CreatePosts < ActiveRecord::Migration[6.1] + def change + create_table :posts do |t| + t.text :caption + + t.timestamps + end + end +end diff --git a/db/migrate/20211212144421_create_active_storage_tables.active_storage.rb b/db/migrate/20211212144421_create_active_storage_tables.active_storage.rb new file mode 100644 index 0000000000..87798267b4 --- /dev/null +++ b/db/migrate/20211212144421_create_active_storage_tables.active_storage.rb @@ -0,0 +1,36 @@ +# This migration comes from active_storage (originally 20170806125915) +class CreateActiveStorageTables < ActiveRecord::Migration[5.2] + def change + create_table :active_storage_blobs do |t| + t.string :key, null: false + t.string :filename, null: false + t.string :content_type + t.text :metadata + t.string :service_name, null: false + t.bigint :byte_size, null: false + t.string :checksum, null: false + t.datetime :created_at, null: false + + t.index [ :key ], unique: true + end + + create_table :active_storage_attachments do |t| + t.string :name, null: false + t.references :record, null: false, polymorphic: true, index: false + t.references :blob, null: false + + t.datetime :created_at, null: false + + t.index [ :record_type, :record_id, :name, :blob_id ], name: "index_active_storage_attachments_uniqueness", unique: true + t.foreign_key :active_storage_blobs, column: :blob_id + end + + create_table :active_storage_variant_records do |t| + t.belongs_to :blob, null: false, index: false + t.string :variation_digest, null: false + + t.index %i[ blob_id variation_digest ], name: "index_active_storage_variant_records_uniqueness", unique: true + t.foreign_key :active_storage_blobs, column: :blob_id + end + end +end diff --git a/db/migrate/20211212153716_add_user_id_to_posts.rb b/db/migrate/20211212153716_add_user_id_to_posts.rb new file mode 100644 index 0000000000..b3dc1583b0 --- /dev/null +++ b/db/migrate/20211212153716_add_user_id_to_posts.rb @@ -0,0 +1,6 @@ +class AddUserIdToPosts < ActiveRecord::Migration[6.1] + def change + add_column :posts, :user_id, :integer + add_index :posts, :user_id + end +end diff --git a/db/migrate/20211212155802_create_comments.rb b/db/migrate/20211212155802_create_comments.rb new file mode 100644 index 0000000000..86518eef3d --- /dev/null +++ b/db/migrate/20211212155802_create_comments.rb @@ -0,0 +1,10 @@ +class CreateComments < ActiveRecord::Migration[6.1] + def change + create_table :comments do |t| + t.text :comment + t.references :post, null: false, foreign_key: true + + t.timestamps + end + end +end diff --git a/db/schema.rb b/db/schema.rb new file mode 100644 index 0000000000..a70ccf4817 --- /dev/null +++ b/db/schema.rb @@ -0,0 +1,74 @@ +# This file is auto-generated from the current state of the database. Instead +# of editing this file, please use the migrations feature of Active Record to +# incrementally modify your database, and then regenerate this schema definition. +# +# This file is the source Rails uses to define your schema when running `bin/rails +# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to +# be faster and is potentially less error prone than running all of your +# migrations from scratch. Old migrations may fail to apply correctly if those +# migrations use external dependencies or application code. +# +# It's strongly recommended that you check this file into your version control system. + +ActiveRecord::Schema.define(version: 2021_12_12_155802) do + + create_table "active_storage_attachments", force: :cascade do |t| + t.string "name", null: false + t.string "record_type", null: false + t.integer "record_id", null: false + t.integer "blob_id", null: false + t.datetime "created_at", null: false + t.index ["blob_id"], name: "index_active_storage_attachments_on_blob_id" + t.index ["record_type", "record_id", "name", "blob_id"], name: "index_active_storage_attachments_uniqueness", unique: true + end + + create_table "active_storage_blobs", force: :cascade do |t| + t.string "key", null: false + t.string "filename", null: false + t.string "content_type" + t.text "metadata" + t.string "service_name", null: false + t.bigint "byte_size", null: false + t.string "checksum", null: false + t.datetime "created_at", null: false + t.index ["key"], name: "index_active_storage_blobs_on_key", unique: true + end + + create_table "active_storage_variant_records", force: :cascade do |t| + t.integer "blob_id", null: false + t.string "variation_digest", null: false + t.index ["blob_id", "variation_digest"], name: "index_active_storage_variant_records_uniqueness", unique: true + end + + create_table "comments", force: :cascade do |t| + t.text "comment" + t.integer "post_id", null: false + t.datetime "created_at", precision: 6, null: false + t.datetime "updated_at", precision: 6, null: false + t.index ["post_id"], name: "index_comments_on_post_id" + end + + create_table "posts", force: :cascade do |t| + t.text "caption" + t.datetime "created_at", precision: 6, null: false + t.datetime "updated_at", precision: 6, null: false + t.integer "user_id" + t.index ["user_id"], name: "index_posts_on_user_id" + end + + create_table "users", force: :cascade do |t| + t.string "email", default: "", null: false + t.string "encrypted_password", default: "", null: false + t.string "reset_password_token" + t.datetime "reset_password_sent_at" + t.datetime "remember_created_at" + t.datetime "created_at", precision: 6, null: false + t.datetime "updated_at", precision: 6, null: false + t.index ["email"], name: "index_users_on_email", unique: true + t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true + end + + add_foreign_key "active_storage_attachments", "active_storage_blobs", column: "blob_id" + add_foreign_key "active_storage_variant_records", "active_storage_blobs", column: "blob_id" + add_foreign_key "comments", "posts" +end diff --git a/db/seeds.rb b/db/seeds.rb new file mode 100644 index 0000000000..f3a0480d18 --- /dev/null +++ b/db/seeds.rb @@ -0,0 +1,7 @@ +# This file should contain all the record creation needed to seed the database with its default values. +# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup). +# +# Examples: +# +# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) +# Character.create(name: 'Luke', movie: movies.first) diff --git a/lib/assets/.keep b/lib/assets/.keep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/tasks/.keep b/lib/tasks/.keep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/log/.keep b/log/.keep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/log/development.log b/log/development.log new file mode 100644 index 0000000000..5231606e25 --- /dev/null +++ b/log/development.log @@ -0,0 +1,6208 @@ +Started GET "/" for 127.0.0.1 at 2021-12-12 12:01:59 +0000 +  (0.9ms) SELECT sqlite_version(*) +Processing by Rails::WelcomeController#index as HTML + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/railties-6.1.4.1/lib/rails/templates/rails/welcome/index.html.erb + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/railties-6.1.4.1/lib/rails/templates/rails/welcome/index.html.erb (Duration: 3.7ms | Allocations: 599) +Completed 200 OK in 12ms (Views: 6.2ms | ActiveRecord: 0.0ms | Allocations: 6400) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 12:09:24 +0000 +Processing by Rails::WelcomeController#index as HTML + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/railties-6.1.4.1/lib/rails/templates/rails/welcome/index.html.erb + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/railties-6.1.4.1/lib/rails/templates/rails/welcome/index.html.erb (Duration: 6.0ms | Allocations: 261) +Completed 200 OK in 8ms (Views: 6.7ms | Allocations: 1168) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 12:09:25 +0000 +Processing by Rails::WelcomeController#index as HTML + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/railties-6.1.4.1/lib/rails/templates/rails/welcome/index.html.erb + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/railties-6.1.4.1/lib/rails/templates/rails/welcome/index.html.erb (Duration: 0.2ms | Allocations: 46) +Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 455) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 12:09:26 +0000 +Processing by Rails::WelcomeController#index as HTML + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/railties-6.1.4.1/lib/rails/templates/rails/welcome/index.html.erb + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/railties-6.1.4.1/lib/rails/templates/rails/welcome/index.html.erb (Duration: 0.2ms | Allocations: 45) +Completed 200 OK in 1ms (Views: 0.7ms | Allocations: 402) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 12:10:16 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 149) +[Webpacker] Compiling... +Started GET "/" for 127.0.0.1 at 2021-12-12 12:10:17 +0000 +[Webpacker] Compilation failed: +warning ../../../../package.json: No license field +node:internal/crypto/hash:67 + this[kHandle] = new _Hash(algorithm, xofLen); + ^ + +Error: error:0308010C:digital envelope routines::unsupported + at new Hash (node:internal/crypto/hash:67:19) + at Object.createHash (node:crypto:130:10) + at module.exports (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/util/createHash.js:135:53) + at NormalModule._initBuildHash (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:417:16) + at handleParseError (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:471:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:503:5 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:358:12 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:373:3 + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:214:10) + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:221:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:236:3 + at context.callback (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:111:13) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/babel-loader/lib/index.js:59:71 { + opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], + library: 'digital envelope routines', + reason: 'unsupported', + code: 'ERR_OSSL_EVP_UNSUPPORTED' +} + +Node.js v17.1.0 + + Rendered layout layouts/application.html.erb (Duration: 1368.4ms | Allocations: 19015) +Completed 500 Internal Server Error in 1370ms (Allocations: 20426) + + + +ActionView::Template::Error (Webpacker can't find application.js in /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/public/packs/manifest.json. Possible causes: +1. You want to set webpacker.yml value of compile to true for your environment + unless you are using the `webpack -w` or the webpack-dev-server. +2. webpack has not yet re-run to reflect updates. +3. You have misconfigured Webpacker's config/webpacker.yml file. +4. Your webpack configuration is not creating a manifest. +Your manifest contains: +{ +} +): + 7: <%= csp_meta_tag %> + 8: + 9: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 10: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + 11: + 12: + 13: + +app/views/layouts/application.html.erb:10 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 58) +[Webpacker] Compiling... +[Webpacker] Compilation failed: +warning ../../../../package.json: No license field +node:internal/crypto/hash:67 + this[kHandle] = new _Hash(algorithm, xofLen); + ^ + +Error: error:0308010C:digital envelope routines::unsupported + at new Hash (node:internal/crypto/hash:67:19) + at Object.createHash (node:crypto:130:10) + at module.exports (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/util/createHash.js:135:53) + at NormalModule._initBuildHash (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:417:16) + at handleParseError (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:471:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:503:5 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:358:12 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:373:3 + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:214:10) + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:221:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:236:3 + at context.callback (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:111:13) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/babel-loader/lib/index.js:59:71 { + opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], + library: 'digital envelope routines', + reason: 'unsupported', + code: 'ERR_OSSL_EVP_UNSUPPORTED' +} + +Node.js v17.1.0 + + Rendered layout layouts/application.html.erb (Duration: 700.5ms | Allocations: 5529) +Completed 500 Internal Server Error in 701ms (Allocations: 6189) + + + +ActionView::Template::Error (Webpacker can't find application.js in /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/public/packs/manifest.json. Possible causes: +1. You want to set webpacker.yml value of compile to true for your environment + unless you are using the `webpack -w` or the webpack-dev-server. +2. webpack has not yet re-run to reflect updates. +3. You have misconfigured Webpacker's config/webpacker.yml file. +4. Your webpack configuration is not creating a manifest. +Your manifest contains: +{ +} +): + 7: <%= csp_meta_tag %> + 8: + 9: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 10: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + 11: + 12: + 13: + +app/views/layouts/application.html.erb:10 +Started GET "/" for 127.0.0.1 at 2021-12-12 12:11:18 +0000 +  (0.2ms) SELECT sqlite_version(*) +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.5ms | Allocations: 360) +[Webpacker] Compiling... +[Webpacker] Compilation failed: +warning ../../../../package.json: No license field +node:internal/crypto/hash:67 + this[kHandle] = new _Hash(algorithm, xofLen); + ^ + +Error: error:0308010C:digital envelope routines::unsupported + at new Hash (node:internal/crypto/hash:67:19) + at Object.createHash (node:crypto:130:10) + at module.exports (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/util/createHash.js:135:53) + at NormalModule._initBuildHash (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:417:16) + at handleParseError (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:471:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:503:5 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:358:12 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:373:3 + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:214:10) + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:221:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:236:3 + at context.callback (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:111:13) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/babel-loader/lib/index.js:59:71 { + opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], + library: 'digital envelope routines', + reason: 'unsupported', + code: 'ERR_OSSL_EVP_UNSUPPORTED' +} + +Node.js v17.1.0 + + Rendered layout layouts/application.html.erb (Duration: 687.3ms | Allocations: 8873) +Completed 500 Internal Server Error in 695ms (ActiveRecord: 0.0ms | Allocations: 12383) + + + +ActionView::Template::Error (Webpacker can't find application.js in /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/public/packs/manifest.json. Possible causes: +1. You want to set webpacker.yml value of compile to true for your environment + unless you are using the `webpack -w` or the webpack-dev-server. +2. webpack has not yet re-run to reflect updates. +3. You have misconfigured Webpacker's config/webpacker.yml file. +4. Your webpack configuration is not creating a manifest. +Your manifest contains: +{ +} +): + 7: <%= csp_meta_tag %> + 8: + 9: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 10: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + 11: + 12: + 13: + +app/views/layouts/application.html.erb:10 +Started GET "/" for 127.0.0.1 at 2021-12-12 12:11:21 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39) +[Webpacker] Compiling... +[Webpacker] Compilation failed: +warning ../../../../package.json: No license field +node:internal/crypto/hash:67 + this[kHandle] = new _Hash(algorithm, xofLen); + ^ + +Error: error:0308010C:digital envelope routines::unsupported + at new Hash (node:internal/crypto/hash:67:19) + at Object.createHash (node:crypto:130:10) + at module.exports (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/util/createHash.js:135:53) + at NormalModule._initBuildHash (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:417:16) + at handleParseError (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:471:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:503:5 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:358:12 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:373:3 + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:214:10) + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:221:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:236:3 + at context.callback (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:111:13) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/babel-loader/lib/index.js:59:71 { + opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], + library: 'digital envelope routines', + reason: 'unsupported', + code: 'ERR_OSSL_EVP_UNSUPPORTED' +} + +Node.js v17.1.0 + + Rendered layout layouts/application.html.erb (Duration: 726.8ms | Allocations: 5400) +Completed 500 Internal Server Error in 728ms (ActiveRecord: 0.0ms | Allocations: 5823) + + + +ActionView::Template::Error (Webpacker can't find application.js in /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/public/packs/manifest.json. Possible causes: +1. You want to set webpacker.yml value of compile to true for your environment + unless you are using the `webpack -w` or the webpack-dev-server. +2. webpack has not yet re-run to reflect updates. +3. You have misconfigured Webpacker's config/webpacker.yml file. +4. Your webpack configuration is not creating a manifest. +Your manifest contains: +{ +} +): + 7: <%= csp_meta_tag %> + 8: + 9: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 10: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + 11: + 12: + 13: + +app/views/layouts/application.html.erb:10 +Started GET "/" for 127.0.0.1 at 2021-12-12 12:12:54 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.5ms | Allocations: 144) +[Webpacker] Compiling... +[Webpacker] Compilation failed: +warning ../../../../package.json: No license field +node:internal/crypto/hash:67 + this[kHandle] = new _Hash(algorithm, xofLen); + ^ + +Error: error:0308010C:digital envelope routines::unsupported + at new Hash (node:internal/crypto/hash:67:19) + at Object.createHash (node:crypto:130:10) + at module.exports (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/util/createHash.js:135:53) + at NormalModule._initBuildHash (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:417:16) + at handleParseError (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:471:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:503:5 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:358:12 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:373:3 + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:214:10) + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:221:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:236:3 + at context.callback (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:111:13) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/babel-loader/lib/index.js:59:71 { + opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], + library: 'digital envelope routines', + reason: 'unsupported', + code: 'ERR_OSSL_EVP_UNSUPPORTED' +} + +Node.js v17.1.0 + + Rendered layout layouts/application.html.erb (Duration: 728.5ms | Allocations: 5770) +Completed 500 Internal Server Error in 733ms (ActiveRecord: 0.0ms | Allocations: 6992) + + + +ActionView::Template::Error (Webpacker can't find application.js in /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/public/packs/manifest.json. Possible causes: +1. You want to set webpacker.yml value of compile to true for your environment + unless you are using the `webpack -w` or the webpack-dev-server. +2. webpack has not yet re-run to reflect updates. +3. You have misconfigured Webpacker's config/webpacker.yml file. +4. Your webpack configuration is not creating a manifest. +Your manifest contains: +{ +} +): + 7: <%= csp_meta_tag %> + 8: + 9: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 10: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + 11: + 12: + 13: + +app/views/layouts/application.html.erb:10 +Started GET "/" for 127.0.0.1 at 2021-12-12 12:13:10 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 39) +[Webpacker] Compiling... +[Webpacker] Compilation failed: +warning ../../../../package.json: No license field +node:internal/crypto/hash:67 + this[kHandle] = new _Hash(algorithm, xofLen); + ^ + +Error: error:0308010C:digital envelope routines::unsupported + at new Hash (node:internal/crypto/hash:67:19) + at Object.createHash (node:crypto:130:10) + at module.exports (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/util/createHash.js:135:53) + at NormalModule._initBuildHash (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:417:16) + at handleParseError (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:471:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:503:5 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:358:12 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:373:3 + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:214:10) + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:221:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:236:3 + at context.callback (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:111:13) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/babel-loader/lib/index.js:59:71 { + opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], + library: 'digital envelope routines', + reason: 'unsupported', + code: 'ERR_OSSL_EVP_UNSUPPORTED' +} + +Node.js v17.1.0 + + Rendered layout layouts/application.html.erb (Duration: 721.0ms | Allocations: 5227) +Completed 500 Internal Server Error in 723ms (ActiveRecord: 0.0ms | Allocations: 5618) + + + +ActionView::Template::Error (Webpacker can't find application.js in /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/public/packs/manifest.json. Possible causes: +1. You want to set webpacker.yml value of compile to true for your environment + unless you are using the `webpack -w` or the webpack-dev-server. +2. webpack has not yet re-run to reflect updates. +3. You have misconfigured Webpacker's config/webpacker.yml file. +4. Your webpack configuration is not creating a manifest. +Your manifest contains: +{ +} +): + 7: <%= csp_meta_tag %> + 8: + 9: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 10: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + 11: + 12: + 13: + +app/views/layouts/application.html.erb:10 +Started GET "/" for 127.0.0.1 at 2021-12-12 12:15:16 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39) +[Webpacker] Compiling... +[Webpacker] Compilation failed: +warning ../../../../package.json: No license field +node:internal/crypto/hash:67 + this[kHandle] = new _Hash(algorithm, xofLen); + ^ + +Error: error:0308010C:digital envelope routines::unsupported + at new Hash (node:internal/crypto/hash:67:19) + at Object.createHash (node:crypto:130:10) + at module.exports (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/util/createHash.js:135:53) + at NormalModule._initBuildHash (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:417:16) + at handleParseError (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:471:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:503:5 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:358:12 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:373:3 + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:214:10) + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:221:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:236:3 + at context.callback (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:111:13) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/babel-loader/lib/index.js:59:71 { + opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], + library: 'digital envelope routines', + reason: 'unsupported', + code: 'ERR_OSSL_EVP_UNSUPPORTED' +} + +Node.js v17.1.0 + + Rendered layout layouts/application.html.erb (Duration: 968.7ms | Allocations: 5231) +Completed 500 Internal Server Error in 970ms (ActiveRecord: 0.0ms | Allocations: 5584) + + + +ActionView::Template::Error (Webpacker can't find application.js in /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/public/packs/manifest.json. Possible causes: +1. You want to set webpacker.yml value of compile to true for your environment + unless you are using the `webpack -w` or the webpack-dev-server. +2. webpack has not yet re-run to reflect updates. +3. You have misconfigured Webpacker's config/webpacker.yml file. +4. Your webpack configuration is not creating a manifest. +Your manifest contains: +{ +} +): + 7: <%= csp_meta_tag %> + 8: + 9: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 10: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + 11: + 12: + 13: + +app/views/layouts/application.html.erb:10 +Started GET "/" for 127.0.0.1 at 2021-12-12 12:15:26 +0000 +  (0.2ms) SELECT sqlite_version(*) +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.5ms | Allocations: 361) +[Webpacker] Compiling... +[Webpacker] Compilation failed: +warning ../../../../package.json: No license field +node:internal/crypto/hash:67 + this[kHandle] = new _Hash(algorithm, xofLen); + ^ + +Error: error:0308010C:digital envelope routines::unsupported + at new Hash (node:internal/crypto/hash:67:19) + at Object.createHash (node:crypto:130:10) + at module.exports (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/util/createHash.js:135:53) + at NormalModule._initBuildHash (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:417:16) + at handleParseError (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:471:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:503:5 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:358:12 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:373:3 + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:214:10) + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:221:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:236:3 + at context.callback (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:111:13) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/babel-loader/lib/index.js:59:71 { + opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], + library: 'digital envelope routines', + reason: 'unsupported', + code: 'ERR_OSSL_EVP_UNSUPPORTED' +} + +Node.js v17.1.0 + + Rendered layout layouts/application.html.erb (Duration: 759.2ms | Allocations: 8883) +Completed 500 Internal Server Error in 767ms (ActiveRecord: 0.0ms | Allocations: 12453) + + + +ActionView::Template::Error (Webpacker can't find application.js in /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/public/packs/manifest.json. Possible causes: +1. You want to set webpacker.yml value of compile to true for your environment + unless you are using the `webpack -w` or the webpack-dev-server. +2. webpack has not yet re-run to reflect updates. +3. You have misconfigured Webpacker's config/webpacker.yml file. +4. Your webpack configuration is not creating a manifest. +Your manifest contains: +{ +} +): + 7: <%= csp_meta_tag %> + 8: + 9: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 10: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + 11: + 12: + 13: + +app/views/layouts/application.html.erb:10 +Started GET "/" for 127.0.0.1 at 2021-12-12 12:15:55 +0000 +  (0.2ms) SELECT sqlite_version(*) +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 361) +[Webpacker] Compiling... +[Webpacker] Compilation failed: +warning ../../../../package.json: No license field +node:internal/crypto/hash:67 + this[kHandle] = new _Hash(algorithm, xofLen); + ^ + +Error: error:0308010C:digital envelope routines::unsupported + at new Hash (node:internal/crypto/hash:67:19) + at Object.createHash (node:crypto:130:10) + at module.exports (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/util/createHash.js:135:53) + at NormalModule._initBuildHash (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:417:16) + at handleParseError (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:471:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:503:5 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/webpack/lib/NormalModule.js:358:12 + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:373:3 + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:214:10) + at iterateNormalLoaders (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:221:10) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:236:3 + at context.callback (/Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/loader-runner/lib/LoaderRunner.js:111:13) + at /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/node_modules/babel-loader/lib/index.js:59:71 { + opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], + library: 'digital envelope routines', + reason: 'unsupported', + code: 'ERR_OSSL_EVP_UNSUPPORTED' +} + +Node.js v17.1.0 + + Rendered layout layouts/application.html.erb (Duration: 687.6ms | Allocations: 8881) +Completed 500 Internal Server Error in 692ms (ActiveRecord: 0.0ms | Allocations: 12372) + + + +ActionView::Template::Error (Webpacker can't find application.js in /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/public/packs/manifest.json. Possible causes: +1. You want to set webpacker.yml value of compile to true for your environment + unless you are using the `webpack -w` or the webpack-dev-server. +2. webpack has not yet re-run to reflect updates. +3. You have misconfigured Webpacker's config/webpacker.yml file. +4. Your webpack configuration is not creating a manifest. +Your manifest contains: +{ +} +): + 7: <%= csp_meta_tag %> + 8: + 9: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + 10: <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + 11: + 12: + 13: + +app/views/layouts/application.html.erb:10 +Started GET "/" for 127.0.0.1 at 2021-12-12 12:16:31 +0000 +  (0.2ms) SELECT sqlite_version(*) +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 361) +[Webpacker] Compiling... +[Webpacker] Compiled all packs in /Users/sigitaz/Documents/Projects/instagram-challenge/instagram-challenge/public/packs +[Webpacker] warning ../../../../package.json: No license field + +[Webpacker] Hash: e2a8a876c5815bee1e21 +Version: webpack 4.46.0 +Time: 617ms +Built at: 12/12/2021 12:16:32 + Asset Size Chunks Chunk Names + js/application-e421b4aa3f716bebdab1.js 125 KiB application [emitted] [immutable] application +js/application-e421b4aa3f716bebdab1.js.map 139 KiB application [emitted] [dev] application + manifest.json 364 bytes [emitted] +Entrypoint application = js/application-e421b4aa3f716bebdab1.js js/application-e421b4aa3f716bebdab1.js.map +[./app/javascript/channels sync recursive _channel\.js$] ./app/javascript/channels sync _channel\.js$ 160 bytes {application} [built] +[./app/javascript/channels/index.js] 211 bytes {application} [built] +[./app/javascript/packs/application.js] 492 bytes {application} [built] +[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 552 bytes {application} [built] + + 3 hidden modules + + Rendered layout layouts/application.html.erb (Duration: 1395.4ms | Allocations: 7926) +Completed 200 OK in 1399ms (Views: 1396.6ms | ActiveRecord: 0.0ms | Allocations: 11469) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 12:17:44 +0000 +  (0.3ms) SELECT sqlite_version(*) +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.5ms | Allocations: 361) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 7.0ms | Allocations: 6661) +Completed 200 OK in 16ms (Views: 8.6ms | ActiveRecord: 0.0ms | Allocations: 10283) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 12:17:57 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.5ms | Allocations: 146) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 8.1ms | Allocations: 3977) +Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms | Allocations: 5448) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 12:26:50 +0000 +  (0.3ms) SELECT sqlite_version(*) +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.4ms | Allocations: 359) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 15.9ms | Allocations: 6603) +Completed 200 OK in 20ms (Views: 17.1ms | ActiveRecord: 0.0ms | Allocations: 10265) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 12:26:51 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 43) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 9.4ms | Allocations: 3587) +Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms | Allocations: 4141) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:01:06 +0000 +  (0.3ms) SELECT sqlite_version(*) +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.4ms | Allocations: 359) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 8.1ms | Allocations: 6690) +Completed 200 OK in 13ms (Views: 9.7ms | ActiveRecord: 0.0ms | Allocations: 10465) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:01:07 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 43) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 8.7ms | Allocations: 3633) +Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms | Allocations: 4190) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:06:41 +0000 +  (0.5ms) SELECT sqlite_version(*) +  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC + +ActiveRecord::PendingMigrationError ( + +Migrations are pending. To resolve this issue, run: + + bin/rails db:migrate RAILS_ENV=development + +You have 1 pending migration: + +20211212130440_devise_create_users.rb + + +): + +activerecord (6.1.4.1) lib/active_record/migration.rb:625:in `check_pending!' +activerecord (6.1.4.1) lib/active_record/migration.rb:590:in `block (2 levels) in call' +activesupport (6.1.4.1) lib/active_support/evented_file_update_checker.rb:59:in `execute' +activerecord (6.1.4.1) lib/active_record/migration.rb:595:in `block in call' +activerecord (6.1.4.1) lib/active_record/migration.rb:587:in `synchronize' +activerecord (6.1.4.1) lib/active_record/migration.rb:587:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:98:in `run_callbacks' +actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' +web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' +web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' +web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (6.1.4.1) lib/rails/rack/logger.rb:37:in `call_app' +railties (6.1.4.1) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:99:in `block in tagged' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:37:in `tagged' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:99:in `tagged' +railties (6.1.4.1) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/request_id.rb:26:in `call' +rack (2.2.3) lib/rack/method_override.rb:24:in `call' +rack (2.2.3) lib/rack/runtime.rb:22:in `call' +activesupport (6.1.4.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/static.rb:24:in `call' +rack (2.2.3) lib/rack/sendfile.rb:110:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/host_authorization.rb:98:in `call' +rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' +webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' +rack-proxy (0.7.0) lib/rack/proxy.rb:63:in `call' +railties (6.1.4.1) lib/rails/engine.rb:539:in `call' +puma (5.5.2) lib/puma/configuration.rb:249:in `call' +puma (5.5.2) lib/puma/request.rb:77:in `block in handle_request' +puma (5.5.2) lib/puma/thread_pool.rb:340:in `with_force_shutdown' +puma (5.5.2) lib/puma/request.rb:76:in `handle_request' +puma (5.5.2) lib/puma/server.rb:447:in `process_client' +puma (5.5.2) lib/puma/thread_pool.rb:147:in `block in spawn_thread' +Started POST "/rails/actions" for 127.0.0.1 at 2021-12-12 13:06:47 +0000 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to DeviseCreateUsers (20211212130440) + TRANSACTION (0.1ms) begin transaction +  (0.9ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) +  (0.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") +  (0.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") + ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20211212130440"]] + TRANSACTION (0.9ms) commit transaction + ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] + TRANSACTION (0.0ms) begin transaction + ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2021-12-12 13:06:47.044617"], ["updated_at", "2021-12-12 13:06:47.044617"]] + TRANSACTION (0.7ms) commit transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Started GET "/" for 127.0.0.1 at 2021-12-12 13:06:47 +0000 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 146) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 9.3ms | Allocations: 6414) +Completed 200 OK in 16ms (Views: 10.6ms | ActiveRecord: 0.0ms | Allocations: 9322) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:06:49 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 57) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 5.2ms | Allocations: 3746) +Completed 200 OK in 6ms (Views: 5.9ms | Allocations: 4524) + + +Started GET "/users/sign_up" for 127.0.0.1 at 2021-12-12 13:08:53 +0000 +  (0.5ms) SELECT sqlite_version(*) +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by Devise::RegistrationsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/registrations/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_error_messages.html.erb (Duration: 0.5ms | Allocations: 299) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 0.5ms | Allocations: 608) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/registrations/new.html.erb within layouts/application (Duration: 12.2ms | Allocations: 9523) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 19.0ms | Allocations: 15744) +Completed 200 OK in 37ms (Views: 21.7ms | ActiveRecord: 7.9ms | Allocations: 24853) + + +Started POST "/users" for 127.0.0.1 at 2021-12-12 13:09:41 +0000 +Processing by Devise::RegistrationsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"} + TRANSACTION (0.0ms) begin transaction + User Exists? (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@mail.com"], ["LIMIT", 1]] + User Create (0.4ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "test@mail.com"], ["encrypted_password", "$2a$12$0f/D1k//wgDystV0W5XVyOhASQns9X/M43Id6VghvNQgQuJH3tIJ2"], ["created_at", "2021-12-12 13:09:41.525489"], ["updated_at", "2021-12-12 13:09:41.525489"]] + TRANSACTION (0.2ms) commit transaction +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 311ms (ActiveRecord: 1.0ms | Allocations: 12451) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:09:41 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 142) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 3.9ms | Allocations: 3839) +Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms | Allocations: 5213) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:10:28 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 10.0ms | Allocations: 3480) +Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.0ms | Allocations: 3977) + + +Started GET "/users/sing_in" for 127.0.0.1 at 2021-12-12 13:11:57 +0000 + +ActionController::RoutingError (No route matches [GET] "/users/sing_in"): + +Started GET "/users/sign_up" for 127.0.0.1 at 2021-12-12 13:12:06 +0000 +Processing by Devise::RegistrationsController#new as HTML + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Filter chain halted as :require_no_authentication rendered or redirected +Completed 302 Found in 5ms (ActiveRecord: 0.3ms | Allocations: 1927) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:12:06 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 11.7ms | Allocations: 3625) +Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms | Allocations: 4112) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:17:13 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.8ms | Allocations: 141) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered layout layouts/application.html.erb (Duration: 22.2ms | Allocations: 4035) +Completed 200 OK in 26ms (Views: 24.6ms | ActiveRecord: 0.0ms | Allocations: 5461) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:21:12 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.8ms | Allocations: 146) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 101) + Rendered layout layouts/application.html.erb (Duration: 13.8ms | Allocations: 4362) +Completed 200 OK in 20ms (Views: 18.2ms | Allocations: 5829) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:21:13 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.2ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.6ms | Allocations: 3580) +Completed 200 OK in 9ms (Views: 8.3ms | Allocations: 4081) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:21:22 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.7ms | Allocations: 141) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 131) + Rendered layout layouts/application.html.erb (Duration: 9.6ms | Allocations: 4372) +Completed 200 OK in 15ms (Views: 13.1ms | Allocations: 5785) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:22:31 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.7ms | Allocations: 141) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.6ms | Allocations: 131) + Rendered layout layouts/application.html.erb (Duration: 13.9ms | Allocations: 4383) +Completed 200 OK in 18ms (Views: 16.7ms | Allocations: 5853) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:23:24 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.8ms | Allocations: 144) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.6ms | Allocations: 131) + Rendered layout layouts/application.html.erb (Duration: 14.7ms | Allocations: 4386) +Completed 200 OK in 19ms (Views: 17.8ms | Allocations: 5854) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:23:25 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 8.6ms | Allocations: 3578) +Completed 200 OK in 10ms (Views: 9.1ms | Allocations: 4072) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:23:58 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.4ms | Allocations: 142) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 130) + Rendered layout layouts/application.html.erb (Duration: 8.9ms | Allocations: 4381) +Completed 200 OK in 13ms (Views: 11.3ms | Allocations: 5801) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:23:59 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 9.3ms | Allocations: 3578) +Completed 200 OK in 11ms (Views: 10.0ms | Allocations: 4072) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:23:59 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 8.1ms | Allocations: 3580) +Completed 200 OK in 9ms (Views: 8.6ms | Allocations: 4028) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:23:59 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 8.1ms | Allocations: 3586) +Completed 200 OK in 9ms (Views: 8.6ms | Allocations: 4033) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:23:59 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 10.0ms | Allocations: 3588) +Completed 200 OK in 12ms (Views: 11.1ms | Allocations: 4037) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:25:08 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.4ms | Allocations: 146) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.6ms | Allocations: 130) + Rendered layout layouts/application.html.erb (Duration: 11.0ms | Allocations: 4379) +Completed 200 OK in 15ms (Views: 13.8ms | Allocations: 5800) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:25:09 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.8ms | Allocations: 3586) +Completed 200 OK in 10ms (Views: 9.1ms | Allocations: 4081) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:25:18 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.5ms | Allocations: 142) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 130) + Rendered layout layouts/application.html.erb (Duration: 9.2ms | Allocations: 4373) +Completed 200 OK in 15ms (Views: 13.4ms | Allocations: 5792) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:25:19 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 8.2ms | Allocations: 3585) +Completed 200 OK in 10ms (Views: 9.2ms | Allocations: 4080) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:25:19 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 39) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 38.5ms | Allocations: 3582) +Completed 200 OK in 52ms (Views: 51.2ms | Allocations: 4029) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:25:19 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 5.6ms | Allocations: 3588) +Completed 200 OK in 6ms (Views: 5.9ms | Allocations: 4037) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:25:19 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.9ms | Allocations: 3586) +Completed 200 OK in 9ms (Views: 8.5ms | Allocations: 4033) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:25:19 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.0ms | Allocations: 3580) +Completed 200 OK in 8ms (Views: 7.5ms | Allocations: 4029) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:27:29 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.6ms | Allocations: 146) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.5ms | Allocations: 131) + Rendered layout layouts/application.html.erb (Duration: 11.9ms | Allocations: 4386) +Completed 200 OK in 16ms (Views: 14.1ms | Allocations: 5809) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:27:30 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 8.0ms | Allocations: 3578) +Completed 200 OK in 9ms (Views: 8.6ms | Allocations: 4072) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:28:52 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.8ms | Allocations: 142) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.6ms | Allocations: 131) + Rendered layout layouts/application.html.erb (Duration: 15.7ms | Allocations: 4387) +Completed 200 OK in 22ms (Views: 20.2ms | Allocations: 5806) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:28:52 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 9.9ms | Allocations: 3588) +Completed 200 OK in 11ms (Views: 10.5ms | Allocations: 4084) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:28:53 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 8.8ms | Allocations: 3586) +Completed 200 OK in 10ms (Views: 9.4ms | Allocations: 4033) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:29:01 +0000 +  (0.4ms) SELECT sqlite_version(*) +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.6ms | Allocations: 360) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 139) + Rendered layout layouts/application.html.erb (Duration: 6.6ms | Allocations: 7111) +Completed 200 OK in 19ms (Views: 15.7ms | ActiveRecord: 0.0ms | Allocations: 10886) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:29:01 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 43) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 41) + Rendered layout layouts/application.html.erb (Duration: 9.0ms | Allocations: 3736) +Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms | Allocations: 4296) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:29:02 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.4ms | Allocations: 3580) +Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms | Allocations: 4035) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:29:02 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 8.1ms | Allocations: 3578) +Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms | Allocations: 4028) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:29:02 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 6.7ms | Allocations: 3580) +Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms | Allocations: 4035) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:29:02 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 10.4ms | Allocations: 5440) +Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms | Allocations: 5968) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:30:13 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.7ms | Allocations: 141) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.7ms | Allocations: 131) + Rendered layout layouts/application.html.erb (Duration: 12.9ms | Allocations: 4374) +Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.0ms | Allocations: 5841) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:30:14 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 41) + Rendered layout layouts/application.html.erb (Duration: 22.3ms | Allocations: 3581) +Completed 200 OK in 23ms (Views: 22.8ms | ActiveRecord: 0.0ms | Allocations: 4080) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:32:21 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.4ms | Allocations: 146) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.7ms | Allocations: 131) + Rendered layout layouts/application.html.erb (Duration: 10.5ms | Allocations: 4379) +Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.0ms | Allocations: 5809) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:32:22 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.5ms | Allocations: 3578) +Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms | Allocations: 4076) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:34:06 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.7ms | Allocations: 141) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.6ms | Allocations: 131) + Rendered layout layouts/application.html.erb (Duration: 13.4ms | Allocations: 4372) +Completed 200 OK in 18ms (Views: 16.0ms | ActiveRecord: 0.0ms | Allocations: 5792) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:34:07 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.6ms | Allocations: 3578) +Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms | Allocations: 4076) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:34:43 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 11.4ms | Allocations: 3578) +Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.0ms | Allocations: 4028) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:34:43 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 8.8ms | Allocations: 3578) +Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms | Allocations: 4028) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:34:43 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 8.1ms | Allocations: 3637) +Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms | Allocations: 4100) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:34:44 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.2ms | Allocations: 3579) +Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms | Allocations: 4030) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:34:46 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 8.3ms | Allocations: 3578) +Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms | Allocations: 4028) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:34:48 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 9.4ms | Allocations: 4188) +Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms | Allocations: 4641) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:34:49 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.3ms | Allocations: 3578) +Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms | Allocations: 4031) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:34:50 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.6ms | Allocations: 3578) +Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms | Allocations: 4031) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:35:00 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.8ms | Allocations: 146) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.6ms | Allocations: 130) + Rendered layout layouts/application.html.erb (Duration: 12.2ms | Allocations: 4377) +Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.0ms | Allocations: 5803) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:35:02 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 41) + Rendered layout layouts/application.html.erb (Duration: 15.8ms | Allocations: 3579) +Completed 200 OK in 17ms (Views: 16.4ms | Allocations: 4075) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:35:03 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.8ms | Allocations: 3587) +Completed 200 OK in 9ms (Views: 8.4ms | Allocations: 4039) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:35:04 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.7ms | Allocations: 3578) +Completed 200 OK in 9ms (Views: 8.3ms | Allocations: 4029) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:35:04 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 7.4ms | Allocations: 3578) +Completed 200 OK in 9ms (Views: 8.0ms | Allocations: 4028) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:35:05 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 8.6ms | Allocations: 4041) +Completed 200 OK in 10ms (Views: 9.1ms | Allocations: 4493) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:35:06 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 40) + Rendered layout layouts/application.html.erb (Duration: 9.1ms | Allocations: 4179) +Completed 200 OK in 10ms (Views: 9.7ms | Allocations: 4629) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:35:38 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.6ms | Allocations: 144) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.6ms | Allocations: 132) + Rendered layout layouts/application.html.erb (Duration: 10.8ms | Allocations: 4377) +Completed 200 OK in 16ms (Views: 14.5ms | Allocations: 5796) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:35:44 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.5ms | Allocations: 141) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.8ms | Allocations: 134) + Rendered layout layouts/application.html.erb (Duration: 14.6ms | Allocations: 4376) +Completed 200 OK in 20ms (Views: 17.9ms | Allocations: 5846) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:36:23 +0000 + +ArgumentError (Missing :controller key on routes definition, please check your routes.): + +config/routes.rb:3:in `block in
' +config/routes.rb:1:in `
' +Started GET "/" for 127.0.0.1 at 2021-12-12 13:36:24 +0000 + +ActionController::RoutingError (No route matches [GET] "/"): + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:36:24 +0000 + +ActionController::RoutingError (No route matches [GET] "/"): + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:36:31 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 57) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 43) + Rendered layout layouts/application.html.erb (Duration: 7.6ms | Allocations: 3863) +Completed 200 OK in 9ms (Views: 8.3ms | Allocations: 4644) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:50:23 +0000 +  (0.5ms) SELECT sqlite_version(*) +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.5ms | Allocations: 359) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 11.7ms | Allocations: 6815) + Rendered layout layouts/application.html.erb (Duration: 18.9ms | Allocations: 13790) +Completed 200 OK in 24ms (Views: 19.8ms | ActiveRecord: 0.3ms | Allocations: 17563) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:51:04 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 144) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.5ms | Allocations: 1396) + Rendered layout layouts/application.html.erb (Duration: 11.5ms | Allocations: 5651) +Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.1ms | Allocations: 7182) + + +Started DELETE "/users/sign_out" for 127.0.0.1 at 2021-12-12 13:51:20 +0000 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 14ms (ActiveRecord: 0.2ms | Allocations: 4922) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:51:20 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 41) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 265) + Rendered layout layouts/application.html.erb (Duration: 8.5ms | Allocations: 3965) +Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms | Allocations: 4495) + + +Started GET "/users/sign_in" for 127.0.0.1 at 2021-12-12 13:51:22 +0000 +Processing by Devise::SessionsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 1.6ms | Allocations: 683) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 14.8ms | Allocations: 4342) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 160) + Rendered layout layouts/application.html.erb (Duration: 21.4ms | Allocations: 8250) +Completed 200 OK in 29ms (Views: 26.0ms | ActiveRecord: 0.0ms | Allocations: 11144) + + +Started POST "/users/sign_in" for 127.0.0.1 at 2021-12-12 13:51:28 +0000 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@mail.com"], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 290ms (ActiveRecord: 0.3ms | Allocations: 5164) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:51:29 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.0ms | Allocations: 41) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 1128) + Rendered layout layouts/application.html.erb (Duration: 3.9ms | Allocations: 4835) +Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.1ms | Allocations: 5373) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:51:37 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.1ms | Allocations: 38) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 976) + Rendered layout layouts/application.html.erb (Duration: 11.5ms | Allocations: 4514) +Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.2ms | Allocations: 4964) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:54:08 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 3.2ms | Allocations: 1203) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 324) + Rendered layout layouts/application.html.erb (Duration: 14.3ms | Allocations: 5629) +Completed 200 OK in 19ms (Views: 17.5ms | ActiveRecord: 0.2ms | Allocations: 7083) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:54:24 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 3.5ms | Allocations: 1197) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 324) + Rendered layout layouts/application.html.erb (Duration: 13.9ms | Allocations: 5614) +Completed 200 OK in 18ms (Views: 16.5ms | ActiveRecord: 0.2ms | Allocations: 7075) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:56:19 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 4.4ms | Allocations: 1216) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 1.1ms | Allocations: 323) + Rendered layout layouts/application.html.erb (Duration: 19.1ms | Allocations: 5632) +Completed 200 OK in 23ms (Views: 21.1ms | ActiveRecord: 0.2ms | Allocations: 7093) + + +Started DELETE "/users/sign_out" for 127.0.0.1 at 2021-12-12 13:56:22 +0000 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 12ms (ActiveRecord: 0.3ms | Allocations: 1903) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:56:22 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 1.8ms | Allocations: 1582) + Rendered layout layouts/application.html.erb (Duration: 2.0ms | Allocations: 1650) +Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms | Allocations: 2097) + + + +ActionView::Template::Error (undefined method `email' for nil:NilClass): + 1: <% name = current_user.present? ? current_user.email : "Stranger" %> + 2: + 3:

Welcome, <%= current_user.email %>

+ 4:

Posts

+ +app/views/posts/index.html.erb:3 +Started GET "/" for 127.0.0.1 at 2021-12-12 13:56:35 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.8ms | Allocations: 274) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 365) + Rendered layout layouts/application.html.erb (Duration: 17.3ms | Allocations: 4759) +Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.0ms | Allocations: 6253) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:57:46 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.7ms | Allocations: 275) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 361) + Rendered layout layouts/application.html.erb (Duration: 14.6ms | Allocations: 4732) +Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.0ms | Allocations: 6200) + + +Started GET "/users/sign_in" for 127.0.0.1 at 2021-12-12 13:57:47 +0000 +Processing by Devise::SessionsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 1.2ms | Allocations: 603) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 5.7ms | Allocations: 2756) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 160) + Rendered layout layouts/application.html.erb (Duration: 13.6ms | Allocations: 6785) +Completed 200 OK in 19ms (Views: 17.8ms | ActiveRecord: 0.0ms | Allocations: 8758) + + +Started POST "/users/sign_in" for 127.0.0.1 at 2021-12-12 13:57:53 +0000 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} +Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 458) + + +Processing by Devise::SessionsController#new as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 156) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 1.8ms | Allocations: 1018) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 103) + Rendered layout layouts/application.html.erb (Duration: 11.0ms | Allocations: 4656) +Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.0ms | Allocations: 5319) + + +Started POST "/users/sign_in" for 127.0.0.1 at 2021-12-12 13:57:58 +0000 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@mail.com"], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 288ms (ActiveRecord: 0.2ms | Allocations: 3492) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:57:59 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 3.0ms | Allocations: 909) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 92) + Rendered layout layouts/application.html.erb (Duration: 21.8ms | Allocations: 4512) +Completed 200 OK in 25ms (Views: 24.5ms | ActiveRecord: 0.1ms | Allocations: 4971) + + +Started DELETE "/users/sign_out" for 127.0.0.1 at 2021-12-12 13:59:24 +0000 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1810) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:59:24 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 108) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.7ms | Allocations: 124) + Rendered layout layouts/application.html.erb (Duration: 11.6ms | Allocations: 3749) +Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms | Allocations: 4201) + + +Started GET "/users/sign_in" for 127.0.0.1 at 2021-12-12 13:59:27 +0000 +Processing by Devise::SessionsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 156) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 2.6ms | Allocations: 1020) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 129) + Rendered layout layouts/application.html.erb (Duration: 11.8ms | Allocations: 5275) +Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.0ms | Allocations: 5948) + + +Started POST "/users/sign_in" for 127.0.0.1 at 2021-12-12 13:59:33 +0000 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@mail.com"], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 284ms (ActiveRecord: 0.2ms | Allocations: 2355) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 13:59:33 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 1.0ms | Allocations: 901) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 86) + Rendered layout layouts/application.html.erb (Duration: 4.1ms | Allocations: 4495) +Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms | Allocations: 4951) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:02:27 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 2.9ms | Allocations: 916) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 86) + Rendered layout layouts/application.html.erb (Duration: 14.4ms | Allocations: 4503) +Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.2ms | Allocations: 4954) + + +  (0.3ms) SELECT sqlite_version(*) +  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to CreatePosts (20211212141132) + TRANSACTION (0.0ms) begin transaction +  (0.2ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) + ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20211212141132"]] + TRANSACTION (0.3ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.0ms) SELECT sqlite_version(*) +  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Started GET "/" for 127.0.0.1 at 2021-12-12 14:13:29 +0000 +  (0.4ms) SELECT sqlite_version(*) +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 5.7ms | Allocations: 6801) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 392) + Rendered layout layouts/application.html.erb (Duration: 13.3ms | Allocations: 13791) +Completed 200 OK in 20ms (Views: 14.5ms | ActiveRecord: 0.4ms | Allocations: 17561) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:13:30 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 3.1ms | Allocations: 1078) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.5ms | Allocations: 99) + Rendered layout layouts/application.html.erb (Duration: 11.9ms | Allocations: 4826) +Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.2ms | Allocations: 5386) + + +Started DELETE "/users/sign_out" for 127.0.0.1 at 2021-12-12 14:14:43 +0000 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]"} +  (0.0ms) SELECT sqlite_version(*) + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 11ms (ActiveRecord: 0.7ms | Allocations: 9908) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:14:43 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 1.1ms | Allocations: 229) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 163) + Rendered layout layouts/application.html.erb (Duration: 5.7ms | Allocations: 4172) +Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms | Allocations: 4960) + + +Started GET "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:14:45 +0000 +Processing by Devise::SessionsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 1.8ms | Allocations: 731) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 11.4ms | Allocations: 4640) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 160) + Rendered layout layouts/application.html.erb (Duration: 18.7ms | Allocations: 8687) +Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 0.0ms | Allocations: 10988) + + +Started POST "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:14:50 +0000 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@mail.com"], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 289ms (ActiveRecord: 0.2ms | Allocations: 5076) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:14:50 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 1.0ms | Allocations: 1052) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 100) + Rendered layout layouts/application.html.erb (Duration: 3.8ms | Allocations: 4807) +Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.1ms | Allocations: 5343) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 14:15:14 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 2.4ms | Allocations: 910) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 87) + Rendered layout layouts/application.html.erb (Duration: 22.1ms | Allocations: 4498) +Completed 200 OK in 23ms (Views: 22.4ms | ActiveRecord: 0.2ms | Allocations: 4949) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 14:16:41 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 3.9ms | Allocations: 904) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.5ms | Allocations: 86) + Rendered layout layouts/application.html.erb (Duration: 15.1ms | Allocations: 4499) +Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.2ms | Allocations: 4950) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 14:16:42 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 902) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 86) + Rendered layout layouts/application.html.erb (Duration: 10.6ms | Allocations: 4499) +Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.2ms | Allocations: 4950) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:16:45 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 3.2ms | Allocations: 902) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 86) + Rendered layout layouts/application.html.erb (Duration: 11.0ms | Allocations: 4497) +Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.2ms | Allocations: 4948) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 14:16:56 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 2.4ms | Allocations: 902) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 86) + Rendered layout layouts/application.html.erb (Duration: 10.7ms | Allocations: 4489) +Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.1ms | Allocations: 4939) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 14:17:04 +0000 + +AbstractController::ActionNotFound (The action 'new' could not be found for PostsController +Did you mean? index): + +actionpack (6.1.4.1) lib/abstract_controller/base.rb:160:in `process' +actionview (6.1.4.1) lib/action_view/rendering.rb:39:in `process' +actionpack (6.1.4.1) lib/action_controller/metal.rb:190:in `dispatch' +actionpack (6.1.4.1) lib/action_controller/metal.rb:254:in `dispatch' +actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' +actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:33:in `serve' +actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `each' +actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `serve' +actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:842:in `call' +warden (1.2.9) lib/warden/manager.rb:36:in `block in call' +warden (1.2.9) lib/warden/manager.rb:34:in `catch' +warden (1.2.9) lib/warden/manager.rb:34:in `call' +rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' +rack (2.2.3) lib/rack/etag.rb:27:in `call' +rack (2.2.3) lib/rack/conditional_get.rb:27:in `call' +rack (2.2.3) lib/rack/head.rb:12:in `call' +actionpack (6.1.4.1) lib/action_dispatch/http/permissions_policy.rb:22:in `call' +actionpack (6.1.4.1) lib/action_dispatch/http/content_security_policy.rb:18:in `call' +rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' +rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/cookies.rb:689:in `call' +activerecord (6.1.4.1) lib/active_record/migration.rb:601:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:98:in `run_callbacks' +actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' +web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' +web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' +web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (6.1.4.1) lib/rails/rack/logger.rb:37:in `call_app' +railties (6.1.4.1) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:99:in `block in tagged' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:37:in `tagged' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:99:in `tagged' +railties (6.1.4.1) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/request_id.rb:26:in `call' +rack (2.2.3) lib/rack/method_override.rb:24:in `call' +rack (2.2.3) lib/rack/runtime.rb:22:in `call' +activesupport (6.1.4.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/static.rb:24:in `call' +rack (2.2.3) lib/rack/sendfile.rb:110:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/host_authorization.rb:98:in `call' +rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' +webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' +rack-proxy (0.7.0) lib/rack/proxy.rb:63:in `call' +railties (6.1.4.1) lib/rails/engine.rb:539:in `call' +puma (5.5.2) lib/puma/configuration.rb:249:in `call' +puma (5.5.2) lib/puma/request.rb:77:in `block in handle_request' +puma (5.5.2) lib/puma/thread_pool.rb:340:in `with_force_shutdown' +puma (5.5.2) lib/puma/request.rb:76:in `handle_request' +puma (5.5.2) lib/puma/server.rb:447:in `process_client' +puma (5.5.2) lib/puma/thread_pool.rb:147:in `block in spawn_thread' +Started GET "/posts/index" for 127.0.0.1 at 2021-12-12 14:17:13 +0000 + +AbstractController::ActionNotFound (The action 'show' could not be found for PostsController +Did you mean? index): + +actionpack (6.1.4.1) lib/abstract_controller/base.rb:160:in `process' +actionview (6.1.4.1) lib/action_view/rendering.rb:39:in `process' +actionpack (6.1.4.1) lib/action_controller/metal.rb:190:in `dispatch' +actionpack (6.1.4.1) lib/action_controller/metal.rb:254:in `dispatch' +actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' +actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:33:in `serve' +actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `each' +actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `serve' +actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:842:in `call' +warden (1.2.9) lib/warden/manager.rb:36:in `block in call' +warden (1.2.9) lib/warden/manager.rb:34:in `catch' +warden (1.2.9) lib/warden/manager.rb:34:in `call' +rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' +rack (2.2.3) lib/rack/etag.rb:27:in `call' +rack (2.2.3) lib/rack/conditional_get.rb:27:in `call' +rack (2.2.3) lib/rack/head.rb:12:in `call' +actionpack (6.1.4.1) lib/action_dispatch/http/permissions_policy.rb:22:in `call' +actionpack (6.1.4.1) lib/action_dispatch/http/content_security_policy.rb:18:in `call' +rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' +rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/cookies.rb:689:in `call' +activerecord (6.1.4.1) lib/active_record/migration.rb:601:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:98:in `run_callbacks' +actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' +web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' +web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' +web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (6.1.4.1) lib/rails/rack/logger.rb:37:in `call_app' +railties (6.1.4.1) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:99:in `block in tagged' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:37:in `tagged' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:99:in `tagged' +railties (6.1.4.1) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/request_id.rb:26:in `call' +rack (2.2.3) lib/rack/method_override.rb:24:in `call' +rack (2.2.3) lib/rack/runtime.rb:22:in `call' +activesupport (6.1.4.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/static.rb:24:in `call' +rack (2.2.3) lib/rack/sendfile.rb:110:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/host_authorization.rb:98:in `call' +rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' +webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' +rack-proxy (0.7.0) lib/rack/proxy.rb:63:in `call' +railties (6.1.4.1) lib/rails/engine.rb:539:in `call' +puma (5.5.2) lib/puma/configuration.rb:249:in `call' +puma (5.5.2) lib/puma/request.rb:77:in `block in handle_request' +puma (5.5.2) lib/puma/thread_pool.rb:340:in `with_force_shutdown' +puma (5.5.2) lib/puma/request.rb:76:in `handle_request' +puma (5.5.2) lib/puma/server.rb:447:in `process_client' +puma (5.5.2) lib/puma/thread_pool.rb:147:in `block in spawn_thread' +Started GET "/posts" for 127.0.0.1 at 2021-12-12 14:17:17 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 2.9ms | Allocations: 1050) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.5ms | Allocations: 92) + Rendered layout layouts/application.html.erb (Duration: 12.1ms | Allocations: 4786) +Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.2ms | Allocations: 5321) + + +Started DELETE "/users/sign_out" for 127.0.0.1 at 2021-12-12 14:30:26 +0000 +  (0.7ms) SELECT sqlite_version(*) +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 12ms (ActiveRecord: 0.4ms | Allocations: 11411) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:30:26 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 1.6ms | Allocations: 1747) + Rendered layout layouts/application.html.erb (Duration: 1.7ms | Allocations: 1841) +Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms | Allocations: 4728) + + + +ActionView::SyntaxErrorInTemplate (Encountered a syntax error while rendering template: check <% name = current_user.present? ? current_user.email : "Stranger" %> + +

Welcome, <%= name %>

+ +<% if user_signed_in? %> +

Posts

+ + + +): +1: <% name = current_user.present? ? current_user.email : "Stranger" %> +2: +3:

Welcome, <%= name %>

+4: +5: <% if user_signed_in? %> +6:

Posts

+ +app/views/posts/index.html.erb:11: syntax error, unexpected end-of-input, expecting `end' +app/views/posts/index.html.erb:11: syntax error, unexpected end-of-input, expecting `end' +app/views/posts/index.html.erb:11: syntax error, unexpected end-of-input, expecting `end' +app/views/posts/index.html.erb:11: syntax error, unexpected end-of-input, expecting `end' +app/views/posts/index.html.erb:11: syntax error, unexpected end-of-input, expecting `end' +app/views/posts/index.html.erb:11: syntax error, unexpected end-of-input, expecting `end' +Started GET "/" for 127.0.0.1 at 2021-12-12 14:30:45 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 413) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 375) + Rendered layout layouts/application.html.erb (Duration: 22.4ms | Allocations: 7252) +Completed 200 OK in 26ms (Views: 24.7ms | ActiveRecord: 0.0ms | Allocations: 8758) + + +Started GET "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:30:49 +0000 +Processing by Devise::SessionsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 1.5ms | Allocations: 735) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 10.6ms | Allocations: 4641) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 160) + Rendered layout layouts/application.html.erb (Duration: 18.3ms | Allocations: 8676) +Completed 200 OK in 26ms (Views: 22.9ms | ActiveRecord: 0.0ms | Allocations: 10962) + + +Started POST "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:30:58 +0000 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@mail.com"], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 296ms (ActiveRecord: 0.9ms | Allocations: 6619) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:30:58 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 1.1ms | Allocations: 1060) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 98) + Rendered layout layouts/application.html.erb (Duration: 4.0ms | Allocations: 4808) +Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.1ms | Allocations: 5320) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:31:19 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 3.3ms | Allocations: 1261) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 1.2ms | Allocations: 325) + Rendered layout layouts/application.html.erb (Duration: 25.7ms | Allocations: 5693) +Completed 200 OK in 30ms (Views: 28.3ms | ActiveRecord: 0.2ms | Allocations: 7133) + + +Started DELETE "/users/sign_out" for 127.0.0.1 at 2021-12-12 14:31:26 +0000 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 6ms (ActiveRecord: 0.3ms | Allocations: 1901) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:31:26 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.4ms | Allocations: 144) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 129) + Rendered layout layouts/application.html.erb (Duration: 9.8ms | Allocations: 3795) +Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms | Allocations: 4262) + + +Started GET "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:31:28 +0000 +Processing by Devise::SessionsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 1.8ms | Allocations: 660) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 6.5ms | Allocations: 2299) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.5ms | Allocations: 160) + Rendered layout layouts/application.html.erb (Duration: 15.0ms | Allocations: 6198) +Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 0.0ms | Allocations: 8715) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:31:30 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 140) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 123) + Rendered layout layouts/application.html.erb (Duration: 8.3ms | Allocations: 3764) +Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms | Allocations: 4261) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:31:31 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 132) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 123) + Rendered layout layouts/application.html.erb (Duration: 8.4ms | Allocations: 3756) +Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms | Allocations: 4202) + + +Started GET "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:31:33 +0000 +Processing by Devise::SessionsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 0.2ms | Allocations: 156) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 1.8ms | Allocations: 1020) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.6ms | Allocations: 130) + Rendered layout layouts/application.html.erb (Duration: 17.5ms | Allocations: 5288) +Completed 200 OK in 20ms (Views: 18.1ms | ActiveRecord: 0.0ms | Allocations: 6002) + + +Started POST "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:31:40 +0000 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@mail.com"], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 286ms (ActiveRecord: 0.2ms | Allocations: 3524) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:31:40 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 1.0ms | Allocations: 910) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 86) + Rendered layout layouts/application.html.erb (Duration: 3.7ms | Allocations: 4517) +Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.1ms | Allocations: 4973) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:34:47 +0000 +Processing by PostsController#index as HTML +  (0.0ms) SELECT sqlite_version(*) + ↳ app/controllers/posts_controller.rb:12:in `index' + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 4.2ms | Allocations: 5113) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 121) + Rendered layout layouts/application.html.erb (Duration: 8.6ms | Allocations: 8973) +Completed 200 OK in 26ms (Views: 15.5ms | ActiveRecord: 0.7ms | Allocations: 11411) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:34:48 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 2.6ms | Allocations: 901) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 85) + Rendered layout layouts/application.html.erb (Duration: 11.0ms | Allocations: 4497) +Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.2ms | Allocations: 5039) + + +Started DELETE "/users/sign_out" for 127.0.0.1 at 2021-12-12 14:34:50 +0000 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 6ms (ActiveRecord: 0.2ms | Allocations: 2440) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:34:50 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.8ms | Allocations: 159) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 134) + Rendered layout layouts/application.html.erb (Duration: 10.0ms | Allocations: 3939) +Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms | Allocations: 4470) + + +Started GET "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:34:51 +0000 +Processing by Devise::SessionsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 195) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 3.2ms | Allocations: 1312) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 160) + Rendered layout layouts/application.html.erb (Duration: 11.7ms | Allocations: 5992) +Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.0ms | Allocations: 6951) + + +Started POST "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:34:56 +0000 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@mail.com"], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 282ms (ActiveRecord: 0.3ms | Allocations: 2680) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:34:56 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Rendered posts/index.html.erb within layouts/application (Duration: 0.9ms | Allocations: 907) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 87) + Rendered layout layouts/application.html.erb (Duration: 6.3ms | Allocations: 4505) +Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.1ms | Allocations: 5006) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:35:51 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.7ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + Rendered posts/index.html.erb within layouts/application (Duration: 8.0ms | Allocations: 2133) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 280) + Rendered layout layouts/application.html.erb (Duration: 21.4ms | Allocations: 6507) +Completed 200 OK in 26ms (Views: 23.3ms | ActiveRecord: 0.9ms | Allocations: 7998) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 14:35:53 +0000 +Processing by PostsController#new as HTML +Completed 406 Not Acceptable in 10ms (ActiveRecord: 0.6ms | Allocations: 4086) + + + +ActionController::MissingExactTemplate (PostsController#new is missing a template for request formats: text/html): + +actionpack (6.1.4.1) lib/action_controller/metal/implicit_render.rb:45:in `default_render' +actionpack (6.1.4.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action' +:90:in `tap' +actionpack (6.1.4.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' +actionpack (6.1.4.1) lib/abstract_controller/base.rb:228:in `process_action' +actionpack (6.1.4.1) lib/action_controller/metal/rendering.rb:30:in `process_action' +actionpack (6.1.4.1) lib/abstract_controller/callbacks.rb:42:in `block in process_action' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:117:in `block in run_callbacks' +actiontext (6.1.4.1) lib/action_text/rendering.rb:20:in `with_renderer' +actiontext (6.1.4.1) lib/action_text/engine.rb:59:in `block (4 levels) in ' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:126:in `instance_exec' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:126:in `block in run_callbacks' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:137:in `run_callbacks' +actionpack (6.1.4.1) lib/abstract_controller/callbacks.rb:41:in `process_action' +actionpack (6.1.4.1) lib/action_controller/metal/rescue.rb:22:in `process_action' +actionpack (6.1.4.1) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' +activesupport (6.1.4.1) lib/active_support/notifications.rb:203:in `block in instrument' +activesupport (6.1.4.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument' +activesupport (6.1.4.1) lib/active_support/notifications.rb:203:in `instrument' +actionpack (6.1.4.1) lib/action_controller/metal/instrumentation.rb:33:in `process_action' +actionpack (6.1.4.1) lib/action_controller/metal/params_wrapper.rb:249:in `process_action' +activerecord (6.1.4.1) lib/active_record/railties/controller_runtime.rb:27:in `process_action' +actionpack (6.1.4.1) lib/abstract_controller/base.rb:165:in `process' +actionview (6.1.4.1) lib/action_view/rendering.rb:39:in `process' +actionpack (6.1.4.1) lib/action_controller/metal.rb:190:in `dispatch' +actionpack (6.1.4.1) lib/action_controller/metal.rb:254:in `dispatch' +actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' +actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:33:in `serve' +actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `each' +actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `serve' +actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:842:in `call' +warden (1.2.9) lib/warden/manager.rb:36:in `block in call' +warden (1.2.9) lib/warden/manager.rb:34:in `catch' +warden (1.2.9) lib/warden/manager.rb:34:in `call' +rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' +rack (2.2.3) lib/rack/etag.rb:27:in `call' +rack (2.2.3) lib/rack/conditional_get.rb:27:in `call' +rack (2.2.3) lib/rack/head.rb:12:in `call' +actionpack (6.1.4.1) lib/action_dispatch/http/permissions_policy.rb:22:in `call' +actionpack (6.1.4.1) lib/action_dispatch/http/content_security_policy.rb:18:in `call' +rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' +rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/cookies.rb:689:in `call' +activerecord (6.1.4.1) lib/active_record/migration.rb:601:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:98:in `run_callbacks' +actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' +web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' +web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' +web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (6.1.4.1) lib/rails/rack/logger.rb:37:in `call_app' +railties (6.1.4.1) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:99:in `block in tagged' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:37:in `tagged' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:99:in `tagged' +railties (6.1.4.1) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/request_id.rb:26:in `call' +rack (2.2.3) lib/rack/method_override.rb:24:in `call' +rack (2.2.3) lib/rack/runtime.rb:22:in `call' +activesupport (6.1.4.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/static.rb:24:in `call' +rack (2.2.3) lib/rack/sendfile.rb:110:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/host_authorization.rb:98:in `call' +rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' +webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' +rack-proxy (0.7.0) lib/rack/proxy.rb:63:in `call' +railties (6.1.4.1) lib/rails/engine.rb:539:in `call' +puma (5.5.2) lib/puma/configuration.rb:249:in `call' +puma (5.5.2) lib/puma/request.rb:77:in `block in handle_request' +puma (5.5.2) lib/puma/thread_pool.rb:340:in `with_force_shutdown' +puma (5.5.2) lib/puma/request.rb:76:in `handle_request' +puma (5.5.2) lib/puma/server.rb:447:in `process_client' +puma (5.5.2) lib/puma/thread_pool.rb:147:in `block in spawn_thread' +Started GET "/" for 127.0.0.1 at 2021-12-12 14:35:56 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + Rendered posts/index.html.erb within layouts/application (Duration: 4.6ms | Allocations: 1615) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 71) + Rendered layout layouts/application.html.erb (Duration: 12.6ms | Allocations: 5310) +Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.2ms | Allocations: 5840) + + +Started DELETE "/users/sign_out" for 127.0.0.1 at 2021-12-12 14:36:01 +0000 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 10ms (ActiveRecord: 0.3ms | Allocations: 1858) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:36:01 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.6ms | Allocations: 144) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.5ms | Allocations: 129) + Rendered layout layouts/application.html.erb (Duration: 8.8ms | Allocations: 3785) +Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms | Allocations: 4276) + + +Started GET "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:36:03 +0000 +Processing by Devise::SessionsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 1.3ms | Allocations: 603) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 6.0ms | Allocations: 2764) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 160) + Rendered layout layouts/application.html.erb (Duration: 13.5ms | Allocations: 6793) +Completed 200 OK in 19ms (Views: 17.7ms | ActiveRecord: 0.0ms | Allocations: 8694) + + +Started POST "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:36:09 +0000 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@mail.com"], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 288ms (ActiveRecord: 0.3ms | Allocations: 3590) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:36:09 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.0ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + Rendered posts/index.html.erb within layouts/application (Duration: 1.4ms | Allocations: 1590) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.0ms | Allocations: 72) + Rendered layout layouts/application.html.erb (Duration: 4.2ms | Allocations: 5181) +Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms | Allocations: 5681) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:37:22 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + Rendered posts/index.html.erb within layouts/application (Duration: 5.9ms | Allocations: 2059) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.8ms | Allocations: 280) + Rendered layout layouts/application.html.erb (Duration: 19.3ms | Allocations: 6432) +Completed 200 OK in 24ms (Views: 21.5ms | ActiveRecord: 0.3ms | Allocations: 7889) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 14:37:24 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + Rendered posts/new.html.erb within layouts/application (Duration: 2.6ms | Allocations: 799) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 963) + Rendered layout layouts/application.html.erb (Duration: 16.2ms | Allocations: 5857) +Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.2ms | Allocations: 6504) + + +Started POST "/posts" for 127.0.0.1 at 2021-12-12 14:37:32 +0000 +Processing by PostsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "post"=>{"caption"=>"hello"}, "commit"=>"Submit"} + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/posts_controller.rb:7:in `create' + Post Create (0.8ms) INSERT INTO "posts" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "hello"], ["created_at", "2021-12-12 14:37:32.836035"], ["updated_at", "2021-12-12 14:37:32.836035"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + TRANSACTION (1.0ms) commit transaction + ↳ app/controllers/posts_controller.rb:7:in `create' +Redirected to http://127.0.0.1:3000/posts +Completed 302 Found in 9ms (ActiveRecord: 1.9ms | Allocations: 2760) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 14:37:32 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + Rendered posts/index.html.erb within layouts/application (Duration: 12.9ms | Allocations: 4443) + Rendered layout layouts/application.html.erb (Duration: 13.1ms | Allocations: 4511) +Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.4ms | Allocations: 4974) + + + +ActionView::Template::Error (undefined method `message' for #): + 7:
+ 8: <% @posts.each do |post| %> + 9:
+ 10: <%= link_to post.message, post %> + 11:

+ 12: <% end %> + 13:
+ +app/views/posts/index.html.erb:10 +app/views/posts/index.html.erb:8 +Started GET "/posts" for 127.0.0.1 at 2021-12-12 14:37:51 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + Rendered posts/index.html.erb within layouts/application (Duration: 6.7ms | Allocations: 2127) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.8ms | Allocations: 280) + Rendered layout layouts/application.html.erb (Duration: 19.6ms | Allocations: 6500) +Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.4ms | Allocations: 7952) + + +Started GET "/posts/1" for 127.0.0.1 at 2021-12-12 14:37:53 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' +Completed 406 Not Acceptable in 8ms (ActiveRecord: 0.3ms | Allocations: 3096) + + + +ActionController::MissingExactTemplate (PostsController#show is missing a template for request formats: text/html): + +actionpack (6.1.4.1) lib/action_controller/metal/implicit_render.rb:45:in `default_render' +actionpack (6.1.4.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action' +:90:in `tap' +actionpack (6.1.4.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' +actionpack (6.1.4.1) lib/abstract_controller/base.rb:228:in `process_action' +actionpack (6.1.4.1) lib/action_controller/metal/rendering.rb:30:in `process_action' +actionpack (6.1.4.1) lib/abstract_controller/callbacks.rb:42:in `block in process_action' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:117:in `block in run_callbacks' +actiontext (6.1.4.1) lib/action_text/rendering.rb:20:in `with_renderer' +actiontext (6.1.4.1) lib/action_text/engine.rb:59:in `block (4 levels) in ' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:126:in `instance_exec' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:126:in `block in run_callbacks' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:137:in `run_callbacks' +actionpack (6.1.4.1) lib/abstract_controller/callbacks.rb:41:in `process_action' +actionpack (6.1.4.1) lib/action_controller/metal/rescue.rb:22:in `process_action' +actionpack (6.1.4.1) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' +activesupport (6.1.4.1) lib/active_support/notifications.rb:203:in `block in instrument' +activesupport (6.1.4.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument' +activesupport (6.1.4.1) lib/active_support/notifications.rb:203:in `instrument' +actionpack (6.1.4.1) lib/action_controller/metal/instrumentation.rb:33:in `process_action' +actionpack (6.1.4.1) lib/action_controller/metal/params_wrapper.rb:249:in `process_action' +activerecord (6.1.4.1) lib/active_record/railties/controller_runtime.rb:27:in `process_action' +actionpack (6.1.4.1) lib/abstract_controller/base.rb:165:in `process' +actionview (6.1.4.1) lib/action_view/rendering.rb:39:in `process' +actionpack (6.1.4.1) lib/action_controller/metal.rb:190:in `dispatch' +actionpack (6.1.4.1) lib/action_controller/metal.rb:254:in `dispatch' +actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' +actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:33:in `serve' +actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:50:in `block in serve' +actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `each' +actionpack (6.1.4.1) lib/action_dispatch/journey/router.rb:32:in `serve' +actionpack (6.1.4.1) lib/action_dispatch/routing/route_set.rb:842:in `call' +warden (1.2.9) lib/warden/manager.rb:36:in `block in call' +warden (1.2.9) lib/warden/manager.rb:34:in `catch' +warden (1.2.9) lib/warden/manager.rb:34:in `call' +rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' +rack (2.2.3) lib/rack/etag.rb:27:in `call' +rack (2.2.3) lib/rack/conditional_get.rb:27:in `call' +rack (2.2.3) lib/rack/head.rb:12:in `call' +actionpack (6.1.4.1) lib/action_dispatch/http/permissions_policy.rb:22:in `call' +actionpack (6.1.4.1) lib/action_dispatch/http/content_security_policy.rb:18:in `call' +rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' +rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/cookies.rb:689:in `call' +activerecord (6.1.4.1) lib/active_record/migration.rb:601:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' +activesupport (6.1.4.1) lib/active_support/callbacks.rb:98:in `run_callbacks' +actionpack (6.1.4.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call' +web-console (4.2.0) lib/web_console/middleware.rb:132:in `call_app' +web-console (4.2.0) lib/web_console/middleware.rb:28:in `block in call' +web-console (4.2.0) lib/web_console/middleware.rb:17:in `catch' +web-console (4.2.0) lib/web_console/middleware.rb:17:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (6.1.4.1) lib/rails/rack/logger.rb:37:in `call_app' +railties (6.1.4.1) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:99:in `block in tagged' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:37:in `tagged' +activesupport (6.1.4.1) lib/active_support/tagged_logging.rb:99:in `tagged' +railties (6.1.4.1) lib/rails/rack/logger.rb:26:in `call' +sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/request_id.rb:26:in `call' +rack (2.2.3) lib/rack/method_override.rb:24:in `call' +rack (2.2.3) lib/rack/runtime.rb:22:in `call' +activesupport (6.1.4.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/static.rb:24:in `call' +rack (2.2.3) lib/rack/sendfile.rb:110:in `call' +actionpack (6.1.4.1) lib/action_dispatch/middleware/host_authorization.rb:98:in `call' +rack-mini-profiler (2.3.3) lib/mini_profiler/profiler.rb:393:in `call' +webpacker (5.4.3) lib/webpacker/dev_server_proxy.rb:25:in `perform_request' +rack-proxy (0.7.0) lib/rack/proxy.rb:63:in `call' +railties (6.1.4.1) lib/rails/engine.rb:539:in `call' +puma (5.5.2) lib/puma/configuration.rb:249:in `call' +puma (5.5.2) lib/puma/request.rb:77:in `block in handle_request' +puma (5.5.2) lib/puma/thread_pool.rb:340:in `with_force_shutdown' +puma (5.5.2) lib/puma/request.rb:76:in `handle_request' +puma (5.5.2) lib/puma/server.rb:447:in `process_client' +puma (5.5.2) lib/puma/thread_pool.rb:147:in `block in spawn_thread' +Started GET "/posts" for 127.0.0.1 at 2021-12-12 14:37:57 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + Rendered posts/index.html.erb within layouts/application (Duration: 4.8ms | Allocations: 1622) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 71) + Rendered layout layouts/application.html.erb (Duration: 13.3ms | Allocations: 5282) +Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.3ms | Allocations: 5801) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 14:38:45 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + Rendered posts/index.html.erb within layouts/application (Duration: 6.4ms | Allocations: 2111) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 1.0ms | Allocations: 280) + Rendered layout layouts/application.html.erb (Duration: 17.8ms | Allocations: 6474) +Completed 200 OK in 24ms (Views: 22.0ms | ActiveRecord: 0.3ms | Allocations: 7926) + + +Started GET "/posts/1" for 127.0.0.1 at 2021-12-12 14:38:46 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (Duration: 0.5ms | Allocations: 123) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 972) + Rendered layout layouts/application.html.erb (Duration: 12.1ms | Allocations: 5215) +Completed 200 OK in 16ms (Views: 12.5ms | ActiveRecord: 0.4ms | Allocations: 6406) + + +Started GET "/posts/1" for 127.0.0.1 at 2021-12-12 14:41:24 +0000 +  (0.4ms) SELECT sqlite_version(*) +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (Duration: 2.0ms | Allocations: 405) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 5518) + Rendered layout layouts/application.html.erb (Duration: 15.0ms | Allocations: 12520) +Completed 200 OK in 26ms (Views: 16.5ms | ActiveRecord: 0.8ms | Allocations: 20796) + + +Started DELETE "/users/sign_out" for 127.0.0.1 at 2021-12-12 14:41:26 +0000 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 14ms (ActiveRecord: 0.2ms | Allocations: 4762) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:41:26 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 3.1ms | Allocations: 469) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.5ms | Allocations: 134) + Rendered layout layouts/application.html.erb (Duration: 10.6ms | Allocations: 4262) +Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms | Allocations: 5029) + + +Started GET "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:41:28 +0000 +Processing by Devise::SessionsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 1.7ms | Allocations: 731) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 10.3ms | Allocations: 4631) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 160) + Rendered layout layouts/application.html.erb (Duration: 17.8ms | Allocations: 8666) +Completed 200 OK in 25ms (Views: 21.7ms | ActiveRecord: 0.0ms | Allocations: 10908) + + +Started POST "/users/sign_in" for 127.0.0.1 at 2021-12-12 14:41:34 +0000 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@mail.com"], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 289ms (ActiveRecord: 0.6ms | Allocations: 5104) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:41:34 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + Rendered posts/index.html.erb within layouts/application (Duration: 1.7ms | Allocations: 1923) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 73) + Rendered layout layouts/application.html.erb (Duration: 4.6ms | Allocations: 5654) +Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.1ms | Allocations: 6252) + + +Started GET "/posts/1" for 127.0.0.1 at 2021-12-12 14:41:38 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 972) + Rendered layout layouts/application.html.erb (Duration: 11.1ms | Allocations: 5130) +Completed 200 OK in 16ms (Views: 11.8ms | ActiveRecord: 0.4ms | Allocations: 6147) + + +  (0.4ms) SELECT sqlite_version(*) +  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to CreateActiveStorageTables (20211212144421) + TRANSACTION (0.0ms) begin transaction +  (1.0ms) CREATE TABLE "active_storage_blobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar NOT NULL, "filename" varchar NOT NULL, "content_type" varchar, "metadata" text, "service_name" varchar NOT NULL, "byte_size" bigint NOT NULL, "checksum" varchar NOT NULL, "created_at" datetime NOT NULL) +  (1.6ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key") +  (0.0ms) CREATE TABLE "active_storage_attachments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "record_type" varchar NOT NULL, "record_id" integer NOT NULL, "blob_id" integer NOT NULL, "created_at" datetime NOT NULL, CONSTRAINT "fk_rails_c3b3935057" +FOREIGN KEY ("blob_id") + REFERENCES "active_storage_blobs" ("id") +) +  (0.0ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id") +  (0.0ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id") +  (0.0ms) CREATE TABLE "active_storage_variant_records" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "blob_id" integer NOT NULL, "variation_digest" varchar NOT NULL, CONSTRAINT "fk_rails_993965df05" +FOREIGN KEY ("blob_id") + REFERENCES "active_storage_blobs" ("id") +) +  (0.0ms) CREATE UNIQUE INDEX "index_active_storage_variant_records_uniqueness" ON "active_storage_variant_records" ("blob_id", "variation_digest") + ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20211212144421"]] + TRANSACTION (0.4ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.0ms) SELECT sqlite_version(*) +  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Started GET "/posts/1" for 127.0.0.1 at 2021-12-12 14:56:37 +0000 +  (0.4ms) SELECT sqlite_version(*) +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (Duration: 0.5ms | Allocations: 405) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 4.2ms | Allocations: 5518) + Rendered layout layouts/application.html.erb (Duration: 16.6ms | Allocations: 12520) +Completed 200 OK in 27ms (Views: 17.7ms | ActiveRecord: 0.8ms | Allocations: 20400) + + +Started GET "/posts/1" for 127.0.0.1 at 2021-12-12 14:56:38 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (Duration: 0.2ms | Allocations: 48) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.7ms | Allocations: 1064) + Rendered layout layouts/application.html.erb (Duration: 11.2ms | Allocations: 4760) +Completed 200 OK in 14ms (Views: 11.6ms | ActiveRecord: 0.4ms | Allocations: 5972) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:56:39 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + Rendered posts/index.html.erb within layouts/application (Duration: 6.0ms | Allocations: 2101) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 71) + Rendered layout layouts/application.html.erb (Duration: 14.3ms | Allocations: 5773) +Completed 200 OK in 17ms (Views: 14.7ms | ActiveRecord: 0.3ms | Allocations: 6933) + + +Started GET "/posts/1" for 127.0.0.1 at 2021-12-12 14:56:47 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (Duration: 0.1ms | Allocations: 40) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 972) + Rendered layout layouts/application.html.erb (Duration: 12.7ms | Allocations: 5130) +Completed 200 OK in 16ms (Views: 13.1ms | ActiveRecord: 0.3ms | Allocations: 6130) + + +Started GET "/posts/1" for 127.0.0.1 at 2021-12-12 14:59:43 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} +  (0.0ms) SELECT sqlite_version(*) + ↳ app/controllers/posts_controller.rb:16:in `show' + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (Duration: 0.3ms | Allocations: 171) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 4.8ms | Allocations: 5279) + Rendered layout layouts/application.html.erb (Duration: 10.3ms | Allocations: 9539) +Completed 200 OK in 22ms (Views: 11.1ms | ActiveRecord: 1.1ms | Allocations: 17034) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 14:59:45 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.6ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 37.7ms | Allocations: 8806) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 73) + Rendered layout layouts/application.html.erb (Duration: 43.5ms | Allocations: 12461) +Completed 200 OK in 46ms (Views: 42.8ms | ActiveRecord: 1.2ms | Allocations: 13615) + + +Started GET "/posts/1" for 127.0.0.1 at 2021-12-12 14:59:47 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (Duration: 0.1ms | Allocations: 43) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 4.1ms | Allocations: 1463) + Rendered layout layouts/application.html.erb (Duration: 11.6ms | Allocations: 5029) +Completed 200 OK in 15ms (Views: 12.1ms | ActiveRecord: 0.4ms | Allocations: 6135) + + +Started GET "/posts/1" for 127.0.0.1 at 2021-12-12 15:00:27 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (Duration: 1.0ms | Allocations: 166) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 1369) + Rendered layout layouts/application.html.erb (Duration: 17.3ms | Allocations: 5633) +Completed 200 OK in 23ms (Views: 19.4ms | ActiveRecord: 0.4ms | Allocations: 7633) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 15:00:29 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 8.6ms | Allocations: 3070) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 71) + Rendered layout layouts/application.html.erb (Duration: 17.6ms | Allocations: 6650) +Completed 200 OK in 20ms (Views: 17.9ms | ActiveRecord: 0.5ms | Allocations: 7358) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 15:00:30 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + Rendered posts/new.html.erb within layouts/application (Duration: 28.3ms | Allocations: 5935) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 1142) + Rendered layout layouts/application.html.erb (Duration: 36.8ms | Allocations: 10651) +Completed 200 OK in 39ms (Views: 37.3ms | ActiveRecord: 0.1ms | Allocations: 11315) + + +Started POST "/posts" for 127.0.0.1 at 2021-12-12 15:00:42 +0000 +Processing by PostsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "post"=>{"caption"=>"hello1", "image"=>#, @original_filename="monkey.jpeg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"post[image]\"; filename=\"monkey.jpeg\"\r\nContent-Type: image/jpeg\r\n">}, "commit"=>"Submit"} +Redirected to http://127.0.0.1:3000/posts +Completed 302 Found in 43ms (ActiveRecord: 0.5ms | Allocations: 14104) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 15:00:42 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 4.7ms | Allocations: 2830) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 73) + Rendered layout layouts/application.html.erb (Duration: 11.3ms | Allocations: 6549) +Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.2ms | Allocations: 7140) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 15:01:41 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 10.9ms | Allocations: 3210) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 8.9ms | Allocations: 281) + Rendered layout layouts/application.html.erb (Duration: 32.0ms | Allocations: 7583) +Completed 200 OK in 37ms (Views: 34.7ms | ActiveRecord: 0.6ms | Allocations: 9077) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 15:01:44 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 7.3ms | Allocations: 2631) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.5ms | Allocations: 71) + Rendered layout layouts/application.html.erb (Duration: 13.3ms | Allocations: 6211) +Completed 200 OK in 16ms (Views: 14.1ms | ActiveRecord: 0.5ms | Allocations: 6754) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 15:01:46 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + Rendered posts/new.html.erb within layouts/application (Duration: 3.7ms | Allocations: 835) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 962) + Rendered layout layouts/application.html.erb (Duration: 15.5ms | Allocations: 5891) +Completed 200 OK in 18ms (Views: 16.1ms | ActiveRecord: 0.2ms | Allocations: 6490) + + +Started POST "/posts" for 127.0.0.1 at 2021-12-12 15:01:51 +0000 +Processing by PostsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "post"=>{"caption"=>"hello1", "image"=>#, @original_filename="monkey.jpeg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"post[image]\"; filename=\"monkey.jpeg\"\r\nContent-Type: image/jpeg\r\n">}, "commit"=>"Submit"} +Redirected to http://127.0.0.1:3000/posts +Completed 302 Found in 5ms (ActiveRecord: 0.0ms | Allocations: 1136) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 15:01:51 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 7.6ms | Allocations: 2631) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 71) + Rendered layout layouts/application.html.erb (Duration: 15.9ms | Allocations: 6201) +Completed 200 OK in 18ms (Views: 16.0ms | ActiveRecord: 0.5ms | Allocations: 6690) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 15:01:53 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + Rendered posts/new.html.erb within layouts/application (Duration: 1.5ms | Allocations: 563) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.1ms | Allocations: 966) + Rendered layout layouts/application.html.erb (Duration: 13.2ms | Allocations: 5529) +Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.1ms | Allocations: 5995) + + +Started POST "/posts" for 127.0.0.1 at 2021-12-12 15:01:57 +0000 +Processing by PostsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "post"=>{"caption"=>"hello1"}, "commit"=>"Submit"} +Redirected to http://127.0.0.1:3000/posts +Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 920) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 15:01:57 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 9.6ms | Allocations: 2632) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 71) + Rendered layout layouts/application.html.erb (Duration: 17.9ms | Allocations: 6210) +Completed 200 OK in 23ms (Views: 20.9ms | ActiveRecord: 0.6ms | Allocations: 6699) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 15:04:19 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + Rendered posts/new.html.erb within layouts/application (Duration: 1.6ms | Allocations: 563) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 964) + Rendered layout layouts/application.html.erb (Duration: 14.7ms | Allocations: 5646) +Completed 200 OK in 18ms (Views: 15.5ms | ActiveRecord: 0.2ms | Allocations: 6113) + + +Started GET "/posts/1" for 127.0.0.1 at 2021-12-12 15:07:33 +0000 +  (0.4ms) SELECT sqlite_version(*) +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + Rendered posts/show.html.erb within layouts/application (Duration: 4.6ms | Allocations: 5639) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.8ms | Allocations: 5276) + Rendered layout layouts/application.html.erb (Duration: 15.6ms | Allocations: 17410) +Completed 200 OK in 27ms (Views: 16.6ms | ActiveRecord: 1.0ms | Allocations: 26703) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 15:07:36 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + Rendered posts/new.html.erb within layouts/application (Duration: 10.5ms | Allocations: 3336) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 4.6ms | Allocations: 1141) + Rendered layout layouts/application.html.erb (Duration: 38.1ms | Allocations: 8933) +Completed 200 OK in 40ms (Views: 38.5ms | ActiveRecord: 0.2ms | Allocations: 9719) + + +Started POST "/posts" for 127.0.0.1 at 2021-12-12 15:07:42 +0000 +Processing by PostsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "post"=>{"caption"=>"hello1", "image"=>#, @original_filename="monkey.jpeg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"post[image]\"; filename=\"monkey.jpeg\"\r\nContent-Type: image/jpeg\r\n">}, "commit"=>"Submit"} +Redirected to http://127.0.0.1:3000/posts +Completed 302 Found in 40ms (ActiveRecord: 0.5ms | Allocations: 11993) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 15:07:42 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 5.4ms | Allocations: 3203) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 73) + Rendered layout layouts/application.html.erb (Duration: 10.4ms | Allocations: 6924) +Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.3ms | Allocations: 7700) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 15:11:15 +0000 +Processing by PostsController#index as HTML +  (0.0ms) SELECT sqlite_version(*) + ↳ app/controllers/posts_controller.rb:12:in `index' + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.3ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 16.5ms | Allocations: 11096) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 81) + Rendered layout layouts/application.html.erb (Duration: 21.6ms | Allocations: 14830) +Completed 200 OK in 27ms (Views: 20.9ms | ActiveRecord: 1.6ms | Allocations: 17893) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 15:11:15 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 8.3ms | Allocations: 2662) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 71) + Rendered layout layouts/application.html.erb (Duration: 17.8ms | Allocations: 6243) +Completed 200 OK in 19ms (Views: 17.7ms | ActiveRecord: 0.6ms | Allocations: 6808) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 15:11:16 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + Rendered posts/new.html.erb within layouts/application (Duration: 2.1ms | Allocations: 673) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 976) + Rendered layout layouts/application.html.erb (Duration: 13.3ms | Allocations: 5650) +Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.1ms | Allocations: 6146) + + +Started POST "/posts" for 127.0.0.1 at 2021-12-12 15:11:21 +0000 +Processing by PostsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "post"=>{"caption"=>"hello1", "image"=>#, @original_filename="monkey.jpeg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"post[image]\"; filename=\"monkey.jpeg\"\r\nContent-Type: image/jpeg\r\n">}, "commit"=>"Submit"} + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/posts_controller.rb:7:in `create' + Post Create (0.9ms) INSERT INTO "posts" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "hello1"], ["created_at", "2021-12-12 15:11:21.752967"], ["updated_at", "2021-12-12 15:11:21.752967"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" INNER JOIN "active_storage_attachments" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Blob Create (0.4ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "service_name", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["key", "s76lb6uqe1ovqnf4bnjzdhbrrl4c"], ["filename", "monkey.jpeg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["service_name", "local"], ["byte_size", 362678], ["checksum", "mvgG0N50e/f0rF0iaSuH3g=="], ["created_at", "2021-12-12 15:11:21.814860"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Attachment Create (0.2ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "image"], ["record_type", "Post"], ["record_id", 2], ["blob_id", 1], ["created_at", "2021-12-12 15:11:21.816465"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + Post Update (0.0ms) UPDATE "posts" SET "updated_at" = ? WHERE "posts"."id" = ? [["updated_at", "2021-12-12 15:11:21.817529"], ["id", 2]] + ↳ app/controllers/posts_controller.rb:7:in `create' + TRANSACTION (0.3ms) commit transaction + ↳ app/controllers/posts_controller.rb:7:in `create' + Disk Storage (1.2ms) Uploaded file to key: s76lb6uqe1ovqnf4bnjzdhbrrl4c (checksum: mvgG0N50e/f0rF0iaSuH3g==) +[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: f4e112c6-2326-4d18-9df0-4e4c8bc3420a) to Async(default) with arguments: #> +Redirected to http://127.0.0.1:3000/posts +Completed 302 Found in 93ms (ActiveRecord: 9.5ms | Allocations: 27092) + + +  (0.1ms) SELECT sqlite_version(*) + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +[ActiveJob] [ActiveStorage::AnalyzeJob] [f4e112c6-2326-4d18-9df0-4e4c8bc3420a] Performing ActiveStorage::AnalyzeJob (Job ID: f4e112c6-2326-4d18-9df0-4e4c8bc3420a) from Async(default) enqueued at 2021-12-12T15:11:21Z with arguments: #> +[ActiveJob] [ActiveStorage::AnalyzeJob] [f4e112c6-2326-4d18-9df0-4e4c8bc3420a]  Disk Storage (0.2ms) Downloaded file from key: s76lb6uqe1ovqnf4bnjzdhbrrl4c +[ActiveJob] [ActiveStorage::AnalyzeJob] [f4e112c6-2326-4d18-9df0-4e4c8bc3420a] Skipping image analysis because the mini_magick gem isn't installed +[ActiveJob] [ActiveStorage::AnalyzeJob] [f4e112c6-2326-4d18-9df0-4e4c8bc3420a] TRANSACTION (0.0ms) begin transaction +[ActiveJob] [ActiveStorage::AnalyzeJob] [f4e112c6-2326-4d18-9df0-4e4c8bc3420a] ActiveStorage::Blob Update (0.1ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]] +[ActiveJob] [ActiveStorage::AnalyzeJob] [f4e112c6-2326-4d18-9df0-4e4c8bc3420a] TRANSACTION (0.5ms) commit transaction +[ActiveJob] [ActiveStorage::AnalyzeJob] [f4e112c6-2326-4d18-9df0-4e4c8bc3420a] Performed ActiveStorage::AnalyzeJob (Job ID: f4e112c6-2326-4d18-9df0-4e4c8bc3420a) from Async(default) in 21.88ms +Started GET "/posts" for 127.0.0.1 at 2021-12-12 15:11:21 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.0ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 4.1ms | Allocations: 5336) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 80) + Rendered layout layouts/application.html.erb (Duration: 6.8ms | Allocations: 9118) +Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.2ms | Allocations: 9710) + + +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:11:21 +0000 +Processing by ActiveStorage::Blobs::RedirectController#show as JPEG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98", "filename"=>"monkey"} + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Disk Storage (1.0ms) Generated URL for file at key: s76lb6uqe1ovqnf4bnjzdhbrrl4c (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNToxNjoyMS44ODdaIiwicHVyIjoiYmxvYl9rZXkifX0=--0a0f95bcbe7120cf8014525e2dc036f8ae41f94c/monkey.jpeg) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNToxNjoyMS44ODdaIiwicHVyIjoiYmxvYl9rZXkifX0=--0a0f95bcbe7120cf8014525e2dc036f8ae41f94c/monkey.jpeg +Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 2417) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNToxNjoyMS44ODdaIiwicHVyIjoiYmxvYl9rZXkifX0=--0a0f95bcbe7120cf8014525e2dc036f8ae41f94c/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:11:21 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 489) + + +Started GET "/posts/2" for 127.0.0.1 at 2021-12-12 15:11:28 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"2"} + Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Rendered posts/show.html.erb within layouts/application (Duration: 5.7ms | Allocations: 2149) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 996) + Rendered layout layouts/application.html.erb (Duration: 17.3ms | Allocations: 7456) +Completed 200 OK in 21ms (Views: 17.5ms | ActiveRecord: 0.8ms | Allocations: 8775) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNToxNjoyMS44ODdaIiwicHVyIjoiYmxvYl9rZXkifX0=--0a0f95bcbe7120cf8014525e2dc036f8ae41f94c/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:11:28 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 320) + + +Started GET "/posts/2" for 127.0.0.1 at 2021-12-12 15:11:36 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"2"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Rendered posts/show.html.erb within layouts/application (Duration: 9.3ms | Allocations: 2058) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.9ms | Allocations: 972) + Rendered layout layouts/application.html.erb (Duration: 20.5ms | Allocations: 6592) +Completed 200 OK in 25ms (Views: 20.7ms | ActiveRecord: 0.8ms | Allocations: 7589) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNToxNjoyMS44ODdaIiwicHVyIjoiYmxvYl9rZXkifX0=--0a0f95bcbe7120cf8014525e2dc036f8ae41f94c/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:11:36 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 15:11:46 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 13.7ms | Allocations: 4849) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 78) + Rendered layout layouts/application.html.erb (Duration: 22.1ms | Allocations: 8507) +Completed 200 OK in 24ms (Views: 21.9ms | ActiveRecord: 0.8ms | Allocations: 9018) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNToxNjoyMS44ODdaIiwicHVyIjoiYmxvYl9rZXkifX0=--0a0f95bcbe7120cf8014525e2dc036f8ae41f94c/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:11:46 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 320) + + +  (0.4ms) SELECT sqlite_version(*) +  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to AddUserIdToPosts (20211212153716) + TRANSACTION (0.0ms) begin transaction +  (0.2ms) ALTER TABLE "posts" ADD "user_id" integer +  (0.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") + ActiveRecord::SchemaMigration Create (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20211212153716"]] + TRANSACTION (0.3ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.0ms) SELECT sqlite_version(*) +  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Started DELETE "/users/sign_out" for 127.0.0.1 at 2021-12-12 15:40:35 +0000 +  (0.9ms) SELECT sqlite_version(*) +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 12ms (ActiveRecord: 0.4ms | Allocations: 11076) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 15:40:35 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 2.1ms | Allocations: 768) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.5ms | Allocations: 381) + Rendered layout layouts/application.html.erb (Duration: 10.6ms | Allocations: 7710) +Completed 200 OK in 18ms (Views: 14.4ms | ActiveRecord: 0.1ms | Allocations: 13172) + + +Started GET "/users/sign_up" for 127.0.0.1 at 2021-12-12 15:40:38 +0000 +Processing by Devise::RegistrationsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/registrations/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_error_messages.html.erb (Duration: 0.8ms | Allocations: 318) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 1.2ms | Allocations: 618) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/registrations/new.html.erb within layouts/application (Duration: 11.5ms | Allocations: 4953) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 160) + Rendered layout layouts/application.html.erb (Duration: 18.1ms | Allocations: 8958) +Completed 200 OK in 23ms (Views: 22.0ms | ActiveRecord: 0.0ms | Allocations: 11088) + + +Started POST "/users" for 127.0.0.1 at 2021-12-12 15:40:51 +0000 +Processing by Devise::RegistrationsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"sigi@mail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"} + TRANSACTION (0.1ms) begin transaction + User Exists? (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "sigi@mail.com"], ["LIMIT", 1]] + User Create (1.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "sigi@mail.com"], ["encrypted_password", "$2a$12$cUD/y3REqDWB1xmcqX9HjuCEo2bjPWbUFjbw3mmraZLhXhDEpxaS2"], ["created_at", "2021-12-12 15:40:51.952570"], ["updated_at", "2021-12-12 15:40:51.952570"]] + TRANSACTION (0.4ms) commit transaction +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 297ms (ActiveRecord: 1.8ms | Allocations: 8982) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 15:40:51 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 17.9ms | Allocations: 25386) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 85) + Rendered layout layouts/application.html.erb (Duration: 20.7ms | Allocations: 29114) +Completed 200 OK in 21ms (Views: 20.0ms | ActiveRecord: 0.9ms | Allocations: 29734) + + +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:40:52 +0000 +Processing by ActiveStorage::Blobs::RedirectController#show as JPEG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98", "filename"=>"monkey"} + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Disk Storage (0.4ms) Generated URL for file at key: s76lb6uqe1ovqnf4bnjzdhbrrl4c (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo0NTo1Mi4wMjdaIiwicHVyIjoiYmxvYl9rZXkifX0=--7bdab38f09ada757880ed953e0cb4dac585c43f9/monkey.jpeg) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo0NTo1Mi4wMjdaIiwicHVyIjoiYmxvYl9rZXkifX0=--7bdab38f09ada757880ed953e0cb4dac585c43f9/monkey.jpeg +Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 2444) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo0NTo1Mi4wMjdaIiwicHVyIjoiYmxvYl9rZXkifX0=--7bdab38f09ada757880ed953e0cb4dac585c43f9/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:40:52 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 492) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 15:50:04 +0000 +Processing by PostsController#index as HTML +  (0.1ms) SELECT sqlite_version(*) + ↳ app/controllers/posts_controller.rb:12:in `index' + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 11.8ms | Allocations: 5434) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.6ms | Allocations: 281) + Rendered layout layouts/application.html.erb (Duration: 20.9ms | Allocations: 9811) +Completed 200 OK in 31ms (Views: 23.8ms | ActiveRecord: 1.3ms | Allocations: 12063) + + +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:50:04 +0000 +Processing by ActiveStorage::Blobs::RedirectController#show as JPEG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98", "filename"=>"monkey"} + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Disk Storage (0.4ms) Generated URL for file at key: s76lb6uqe1ovqnf4bnjzdhbrrl4c (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg +Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 1600) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:50:04 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 333) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 15:50:07 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/new.html.erb:7 + Rendered posts/new.html.erb within layouts/application (Duration: 20.5ms | Allocations: 5126) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 85) + Rendered layout layouts/application.html.erb (Duration: 27.1ms | Allocations: 8839) +Completed 200 OK in 29ms (Views: 27.3ms | ActiveRecord: 0.3ms | Allocations: 9511) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:50:07 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 417) + + +Started POST "/posts" for 127.0.0.1 at 2021-12-12 15:51:02 +0000 +Processing by PostsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "post"=>{"caption"=>"image", "image"=>#, @original_filename="IMGE-Social-Share.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"post[image]\"; filename=\"IMGE-Social-Share.png\"\r\nContent-Type: image/png\r\n">, "user_id"=>"2"}, "commit"=>"Submit"} +Unpermitted parameter: :user_id +Redirected to http://127.0.0.1:3000/posts +Completed 302 Found in 5ms (ActiveRecord: 0.0ms | Allocations: 2235) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 15:51:02 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 34.3ms | Allocations: 4936) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 80) + Rendered layout layouts/application.html.erb (Duration: 41.0ms | Allocations: 8720) +Completed 200 OK in 47ms (Views: 46.2ms | ActiveRecord: 0.6ms | Allocations: 9306) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:51:02 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 347) + + +Started GET "/posts" for 127.0.0.1 at 2021-12-12 15:51:34 +0000 +Processing by PostsController#index as HTML +  (0.0ms) SELECT sqlite_version(*) + ↳ app/controllers/posts_controller.rb:12:in `index' + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 21.3ms | Allocations: 25365) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 82) + Rendered layout layouts/application.html.erb (Duration: 25.5ms | Allocations: 29103) +Completed 200 OK in 31ms (Views: 25.0ms | ActiveRecord: 1.6ms | Allocations: 32186) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:51:34 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 617) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 15:51:36 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/new.html.erb:7 + Rendered posts/new.html.erb within layouts/application (Duration: 4.8ms | Allocations: 2215) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 81) + Rendered layout layouts/application.html.erb (Duration: 12.4ms | Allocations: 6139) +Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.2ms | Allocations: 6697) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:51:37 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 408) + + +Started POST "/posts" for 127.0.0.1 at 2021-12-12 15:51:43 +0000 +Processing by PostsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "post"=>{"caption"=>"image", "image"=>#, @original_filename="IMGE-Social-Share.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"post[image]\"; filename=\"IMGE-Social-Share.png\"\r\nContent-Type: image/png\r\n">, "user_id"=>"2"}, "commit"=>"Submit"} +Unpermitted parameter: :user_id + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/posts_controller.rb:7:in `create' + Post Create (1.0ms) INSERT INTO "posts" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "image"], ["created_at", "2021-12-12 15:51:43.758733"], ["updated_at", "2021-12-12 15:51:43.758733"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Blob Load (0.4ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" INNER JOIN "active_storage_attachments" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Blob Create (0.3ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "service_name", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["key", "8rq2mgqrnh5g9i096x7j8pvhlqvl"], ["filename", "IMGE-Social-Share.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["service_name", "local"], ["byte_size", 7778], ["checksum", "sHUX3dF1YxlzK0DX+702Uw=="], ["created_at", "2021-12-12 15:51:43.780677"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Attachment Create (0.2ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "image"], ["record_type", "Post"], ["record_id", 3], ["blob_id", 2], ["created_at", "2021-12-12 15:51:43.784461"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + Post Update (0.1ms) UPDATE "posts" SET "updated_at" = ? WHERE "posts"."id" = ? [["updated_at", "2021-12-12 15:51:43.787245"], ["id", 3]] + ↳ app/controllers/posts_controller.rb:7:in `create' + TRANSACTION (0.6ms) commit transaction + ↳ app/controllers/posts_controller.rb:7:in `create' + Disk Storage (0.8ms) Uploaded file to key: 8rq2mgqrnh5g9i096x7j8pvhlqvl (checksum: sHUX3dF1YxlzK0DX+702Uw==) +[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 33168ae2-8420-4e71-ad18-0d16fea77ff9) to Async(default) with arguments: #> +Redirected to http://127.0.0.1:3000/posts +Completed 302 Found in 40ms (ActiveRecord: 2.8ms | Allocations: 17442) + + +  (0.1ms) SELECT sqlite_version(*) + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +[ActiveJob] [ActiveStorage::AnalyzeJob] [33168ae2-8420-4e71-ad18-0d16fea77ff9] Performing ActiveStorage::AnalyzeJob (Job ID: 33168ae2-8420-4e71-ad18-0d16fea77ff9) from Async(default) enqueued at 2021-12-12T15:51:43Z with arguments: #> +[ActiveJob] [ActiveStorage::AnalyzeJob] [33168ae2-8420-4e71-ad18-0d16fea77ff9]  Disk Storage (0.3ms) Downloaded file from key: 8rq2mgqrnh5g9i096x7j8pvhlqvl +[ActiveJob] [ActiveStorage::AnalyzeJob] [33168ae2-8420-4e71-ad18-0d16fea77ff9] Skipping image analysis because the mini_magick gem isn't installed +[ActiveJob] [ActiveStorage::AnalyzeJob] [33168ae2-8420-4e71-ad18-0d16fea77ff9] TRANSACTION (0.0ms) begin transaction +[ActiveJob] [ActiveStorage::AnalyzeJob] [33168ae2-8420-4e71-ad18-0d16fea77ff9] ActiveStorage::Blob Update (0.2ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 2]] +[ActiveJob] [ActiveStorage::AnalyzeJob] [33168ae2-8420-4e71-ad18-0d16fea77ff9] TRANSACTION (0.5ms) commit transaction +[ActiveJob] [ActiveStorage::AnalyzeJob] [33168ae2-8420-4e71-ad18-0d16fea77ff9] Performed ActiveStorage::AnalyzeJob (Job ID: 33168ae2-8420-4e71-ad18-0d16fea77ff9) from Async(default) in 7.15ms +Started GET "/posts" for 127.0.0.1 at 2021-12-12 15:51:43 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 8.9ms | Allocations: 6953) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 80) + Rendered layout layouts/application.html.erb (Duration: 12.7ms | Allocations: 10723) +Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.5ms | Allocations: 11304) + + +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9b0107d3d374681dba58f9fbb65d695f27cb2e75/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 15:51:43 +0000 +Processing by ActiveStorage::Blobs::RedirectController#show as PNG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9b0107d3d374681dba58f9fbb65d695f27cb2e75", "filename"=>"IMGE-Social-Share"} + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Disk Storage (0.4ms) Generated URL for file at key: 8rq2mgqrnh5g9i096x7j8pvhlqvl (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTU6NTY6NDMuODY4WiIsInB1ciI6ImJsb2Jfa2V5In19--f67fb52f85ff60c560be79f43878d4bb2159b1df/IMGE-Social-Share.png) +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:51:43 +0000 +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTU6NTY6NDMuODY4WiIsInB1ciI6ImJsb2Jfa2V5In19--f67fb52f85ff60c560be79f43878d4bb2159b1df/IMGE-Social-Share.png +Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 4437) + + +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 604) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTU6NTY6NDMuODY4WiIsInB1ciI6ImJsb2Jfa2V5In19--f67fb52f85ff60c560be79f43878d4bb2159b1df/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 15:51:43 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 330) + + +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 15:51:48 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Rendered posts/show.html.erb within layouts/application (Duration: 6.2ms | Allocations: 2380) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 996) + Rendered layout layouts/application.html.erb (Duration: 15.1ms | Allocations: 7091) +Completed 200 OK in 37ms (Views: 15.7ms | ActiveRecord: 0.7ms | Allocations: 8945) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTU6NTY6NDMuODY4WiIsInB1ciI6ImJsb2Jfa2V5In19--f67fb52f85ff60c560be79f43878d4bb2159b1df/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 15:51:48 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 1594) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:51:48 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 367) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTU6NTY6NDMuODY4WiIsInB1ciI6ImJsb2Jfa2V5In19--f67fb52f85ff60c560be79f43878d4bb2159b1df/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 15:51:50 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:51:50 +0000 +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 405) + + +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 330) + + +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 15:52:04 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Rendered posts/show.html.erb within layouts/application (Duration: 6.3ms | Allocations: 2059) +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTU6NTY6NDMuODY4WiIsInB1ciI6ImJsb2Jfa2V5In19--f67fb52f85ff60c560be79f43878d4bb2159b1df/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 15:52:04 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 896) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:52:04 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 333) + + +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 979) + Rendered layout layouts/application.html.erb (Duration: 27.1ms | Allocations: 11168) +Completed 200 OK in 30ms (Views: 27.2ms | ActiveRecord: 0.6ms | Allocations: 12186) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTU6NTY6NDMuODY4WiIsInB1ciI6ImJsb2Jfa2V5In19--f67fb52f85ff60c560be79f43878d4bb2159b1df/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 15:52:04 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 328) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTU6NTY6NDMuODY4WiIsInB1ciI6ImJsb2Jfa2V5In19--f67fb52f85ff60c560be79f43878d4bb2159b1df/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 15:52:20 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:52:20 +0000 +Processing by ActiveStorage::DiskController#show as PNG +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 602) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 385) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 15:53:33 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/new.html.erb:7 + Rendered posts/new.html.erb within layouts/application (Duration: 5.3ms | Allocations: 2082) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.9ms | Allocations: 289) + Rendered layout layouts/application.html.erb (Duration: 18.5ms | Allocations: 6562) +Completed 200 OK in 23ms (Views: 21.7ms | ActiveRecord: 0.2ms | Allocations: 8628) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTU6NTY6NDMuODY4WiIsInB1ciI6ImJsb2Jfa2V5In19--f67fb52f85ff60c560be79f43878d4bb2159b1df/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 15:53:34 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:53:34 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 4ms (ActiveRecord: 0.0ms | Allocations: 1316) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 649) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNTo1NTowNC43NjlaIiwicHVyIjoiYmxvYl9rZXkifX0=--b848b74cec1eff6c1d4764707c2b7b6794ac2f77/monkey.jpeg" for 127.0.0.1 at 2021-12-12 15:53:38 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTU6NTY6NDMuODY4WiIsInB1ciI6ImJsb2Jfa2V5In19--f67fb52f85ff60c560be79f43878d4bb2159b1df/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 15:53:38 +0000 +Processing by ActiveStorage::DiskController#show as JPEG +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 615) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 389) + + +  (0.3ms) SELECT sqlite_version(*) +  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to CreateComments (20211212155802) + TRANSACTION (0.0ms) begin transaction +  (0.2ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "comment" text, "post_id" integer NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, CONSTRAINT "fk_rails_2fd19c0db7" +FOREIGN KEY ("post_id") + REFERENCES "posts" ("id") +) +  (0.0ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id") + ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20211212155802"]] + TRANSACTION (0.4ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.0ms) SELECT sqlite_version(*) +  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9b0107d3d374681dba58f9fbb65d695f27cb2e75/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:06:51 +0000 +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:06:51 +0000 +  (0.4ms) SELECT sqlite_version(*) +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:06:51 +0000 +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by ActiveStorage::Blobs::RedirectController#show as PNG +Processing by ActiveStorage::Blobs::RedirectController#show as JPEG +Processing by PostsController#show as HTML + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98", "filename"=>"monkey"} + Parameters: {"id"=>"3"} + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9b0107d3d374681dba58f9fbb65d695f27cb2e75", "filename"=>"IMGE-Social-Share"} +  (0.0ms) SELECT sqlite_version(*) + ↳ app/controllers/posts_controller.rb:16:in `show' + Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' +  (0.0ms) SELECT sqlite_version(*) + Disk Storage (4.6ms) Generated URL for file at key: 8rq2mgqrnh5g9i096x7j8pvhlqvl (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MTE6NTEuMzkzWiIsInB1ciI6ImJsb2Jfa2V5In19--2ceca2115c0b7d6f834743e706952ce04370bc48/IMGE-Social-Share.png) + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Disk Storage (0.1ms) Generated URL for file at key: s76lb6uqe1ovqnf4bnjzdhbrrl4c (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoxMTo1MS4zOTdaIiwicHVyIjoiYmxvYl9rZXkifX0=--70be129607aba1988b62d29d209a786e0ea52566/monkey.jpeg) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MTE6NTEuMzkzWiIsInB1ciI6ImJsb2Jfa2V5In19--2ceca2115c0b7d6f834743e706952ce04370bc48/IMGE-Social-Share.png +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoxMTo1MS4zOTdaIiwicHVyIjoiYmxvYl9rZXkifX0=--70be129607aba1988b62d29d209a786e0ea52566/monkey.jpeg +Completed 302 Found in 28ms (ActiveRecord: 0.4ms | Allocations: 25600) + + + Rendering layout layouts/application.html.erb +Completed 302 Found in 30ms (ActiveRecord: 0.2ms | Allocations: 26805) + + + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MTE6NTEuMzkzWiIsInB1ciI6ImJsb2Jfa2V5In19--2ceca2115c0b7d6f834743e706952ce04370bc48/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:06:51 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoxMTo1MS4zOTdaIiwicHVyIjoiYmxvYl9rZXkifX0=--70be129607aba1988b62d29d209a786e0ea52566/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:06:51 +0000 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] +Processing by ActiveStorage::DiskController#show as PNG + ↳ app/views/posts/show.html.erb:7 + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as JPEG + Rendered posts/show.html.erb within layouts/application (Duration: 33.8ms | Allocations: 25616) +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 1060) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 479) + + +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 5.0ms | Allocations: 5376) + Rendered layout layouts/application.html.erb (Duration: 74.1ms | Allocations: 51416) +Completed 200 OK in 103ms (Views: 75.9ms | ActiveRecord: 1.9ms | Allocations: 78197) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MTE6NTEuMzkzWiIsInB1ciI6ImJsb2Jfa2V5In19--2ceca2115c0b7d6f834743e706952ce04370bc48/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:06:51 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 3ms (ActiveRecord: 0.0ms | Allocations: 3829) + + +Started POST "/posts/3/comments" for 127.0.0.1 at 2021-12-12 16:06:57 +0000 +Processing by CommentsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "comment"=>{"comment"=>"nice"}, "commit"=>"Create Comment", "post_id"=>"3"} + Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:3:in `create' + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/comments_controller.rb:4:in `create' + Comment Create (0.7ms) INSERT INTO "comments" ("comment", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["comment", "nice"], ["post_id", 3], ["created_at", "2021-12-12 16:06:57.044775"], ["updated_at", "2021-12-12 16:06:57.044775"]] + ↳ app/controllers/comments_controller.rb:4:in `create' + TRANSACTION (1.3ms) commit transaction + ↳ app/controllers/comments_controller.rb:4:in `create' +Redirected to http://127.0.0.1:3000/posts/3 +Completed 302 Found in 14ms (ActiveRecord: 2.4ms | Allocations: 4297) + + +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:06:57 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 7.8ms | Allocations: 3601) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 996) + Rendered layout layouts/application.html.erb (Duration: 24.0ms | Allocations: 8323) +Completed 200 OK in 28ms (Views: 24.0ms | ActiveRecord: 0.8ms | Allocations: 9361) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MTE6NTEuMzkzWiIsInB1ciI6ImJsb2Jfa2V5In19--2ceca2115c0b7d6f834743e706952ce04370bc48/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:06:57 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 334) + + +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:11:01 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 22.1ms | Allocations: 7253) + Rendered layout layouts/application.html.erb (Duration: 22.3ms | Allocations: 7336) +Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.7ms | Allocations: 9310) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:11:03 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 12.4ms | Allocations: 4125) + Rendered layout layouts/application.html.erb (Duration: 12.6ms | Allocations: 4194) +Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.7ms | Allocations: 5335) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:12:18 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 13.3ms | Allocations: 4848) + Rendered layout layouts/application.html.erb (Duration: 13.5ms | Allocations: 4923) +Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.7ms | Allocations: 6857) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:12:19 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 10.0ms | Allocations: 3954) + Rendered layout layouts/application.html.erb (Duration: 10.2ms | Allocations: 4022) +Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.8ms | Allocations: 5052) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:12:42 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 12.4ms | Allocations: 4848) + Rendered layout layouts/application.html.erb (Duration: 12.6ms | Allocations: 4923) +Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.8ms | Allocations: 6841) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:12:42 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 10.8ms | Allocations: 3955) + Rendered layout layouts/application.html.erb (Duration: 11.0ms | Allocations: 4024) +Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.7ms | Allocations: 5055) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:12:43 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 10.5ms | Allocations: 3954) + Rendered layout layouts/application.html.erb (Duration: 10.8ms | Allocations: 4022) +Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.8ms | Allocations: 4982) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:13:34 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 11.4ms | Allocations: 4847) + Rendered layout layouts/application.html.erb (Duration: 11.7ms | Allocations: 4921) +Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.6ms | Allocations: 6837) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:13:35 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 11.1ms | Allocations: 3954) + Rendered layout layouts/application.html.erb (Duration: 11.3ms | Allocations: 4022) +Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.8ms | Allocations: 5052) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:14:06 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.4ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 11.7ms | Allocations: 4847) + Rendered layout layouts/application.html.erb (Duration: 11.9ms | Allocations: 4921) +Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.9ms | Allocations: 6837) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:14:07 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 10.8ms | Allocations: 3954) + Rendered layout layouts/application.html.erb (Duration: 11.1ms | Allocations: 4022) +Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.8ms | Allocations: 5052) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:14:08 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 10.5ms | Allocations: 3954) + Rendered layout layouts/application.html.erb (Duration: 10.7ms | Allocations: 4022) +Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.7ms | Allocations: 4982) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:14:57 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 13.4ms | Allocations: 4847) + Rendered layout layouts/application.html.erb (Duration: 13.7ms | Allocations: 4921) +Completed 500 Internal Server Error in 22ms (ActiveRecord: 0.8ms | Allocations: 6837) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:14:58 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered posts/show.html.erb within layouts/application (Duration: 11.3ms | Allocations: 3956) + Rendered layout layouts/application.html.erb (Duration: 11.6ms | Allocations: 4024) +Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.8ms | Allocations: 5054) + + + +ActionView::Template::Error (Missing partial comments/_comment with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in: + * "/Users/sigitaz/Documents/Projects/instagram-challenge/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actiontext-6.1.4.1/app/views" + * "/Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/actionmailbox-6.1.4.1/app/views" +): + 4: <% end %> + 5: + 6:

Comments

+ 7: <%= render @post.comments %> + 8: + 9:

Add a comment:

+ 10: <%= form_with model: [ @post, @post.comments.build ] do |form| %> + +app/views/posts/show.html.erb:7 +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:15:22 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of comments/_comment.html.erb [1 times] (Duration: 0.7ms | Allocations: 206) + Rendered posts/show.html.erb within layouts/application (Duration: 14.2ms | Allocations: 4526) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 1.9ms | Allocations: 1199) + Rendered layout layouts/application.html.erb (Duration: 22.5ms | Allocations: 9844) +Completed 200 OK in 29ms (Views: 24.0ms | ActiveRecord: 1.0ms | Allocations: 12740) + + +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9b0107d3d374681dba58f9fbb65d695f27cb2e75/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:15:22 +0000 +Processing by ActiveStorage::Blobs::RedirectController#show as PNG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9b0107d3d374681dba58f9fbb65d695f27cb2e75", "filename"=>"IMGE-Social-Share"} + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Disk Storage (0.7ms) Generated URL for file at key: 8rq2mgqrnh5g9i096x7j8pvhlqvl (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png +Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 1594) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:15:22 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 324) + + +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:17:33 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of comments/_comment.html.erb [1 times] (Duration: 0.9ms | Allocations: 172) + Rendered comments/_form.html.erb (Duration: 0.4ms | Allocations: 110) + Rendered posts/show.html.erb within layouts/application (Duration: 13.4ms | Allocations: 4012) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.4ms | Allocations: 1199) + Rendered layout layouts/application.html.erb (Duration: 28.0ms | Allocations: 9352) +Completed 200 OK in 34ms (Views: 29.7ms | ActiveRecord: 0.8ms | Allocations: 11328) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:33 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 370) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 16:17:34 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 20.3ms | Allocations: 7719) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 79) + Rendered layout layouts/application.html.erb (Duration: 27.9ms | Allocations: 11416) +Completed 200 OK in 30ms (Views: 27.3ms | ActiveRecord: 1.1ms | Allocations: 12078) + + +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:17:34 +0000 +Processing by ActiveStorage::Blobs::RedirectController#show as JPEG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98", "filename"=>"monkey"} + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Disk Storage (0.2ms) Generated URL for file at key: s76lb6uqe1ovqnf4bnjzdhbrrl4c (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg +Completed 302 Found in 1ms (ActiveRecord: 0.1ms | Allocations: 1549) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:34 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:17:34 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 16:17:38 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/new.html.erb:7 + Rendered posts/new.html.erb within layouts/application (Duration: 21.8ms | Allocations: 5210) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 85) + Rendered layout layouts/application.html.erb (Duration: 29.3ms | Allocations: 8973) +Completed 200 OK in 31ms (Views: 29.5ms | ActiveRecord: 0.3ms | Allocations: 9610) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:39 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:17:39 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as JPEG +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 398) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 325) + + +Started POST "/posts" for 127.0.0.1 at 2021-12-12 16:17:46 +0000 +Processing by PostsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "post"=>{"caption"=>"opa", "image"=>#, @original_filename="IMGE-Social-Share.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"post[image]\"; filename=\"IMGE-Social-Share.png\"\r\nContent-Type: image/png\r\n">, "user_id"=>"2"}, "commit"=>"Submit"} +Unpermitted parameter: :user_id + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/posts_controller.rb:7:in `create' + Post Create (1.3ms) INSERT INTO "posts" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "opa"], ["created_at", "2021-12-12 16:17:46.723404"], ["updated_at", "2021-12-12 16:17:46.723404"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" INNER JOIN "active_storage_attachments" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Blob Create (0.4ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "service_name", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["key", "wrea1epkcdfi3f2jja7ci9aqj30q"], ["filename", "IMGE-Social-Share.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["service_name", "local"], ["byte_size", 7778], ["checksum", "sHUX3dF1YxlzK0DX+702Uw=="], ["created_at", "2021-12-12 16:17:46.743462"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Attachment Create (0.2ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "image"], ["record_type", "Post"], ["record_id", 4], ["blob_id", 3], ["created_at", "2021-12-12 16:17:46.746620"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + Post Update (0.1ms) UPDATE "posts" SET "updated_at" = ? WHERE "posts"."id" = ? [["updated_at", "2021-12-12 16:17:46.748877"], ["id", 4]] + ↳ app/controllers/posts_controller.rb:7:in `create' + TRANSACTION (0.8ms) commit transaction + ↳ app/controllers/posts_controller.rb:7:in `create' + Disk Storage (0.8ms) Uploaded file to key: wrea1epkcdfi3f2jja7ci9aqj30q (checksum: sHUX3dF1YxlzK0DX+702Uw==) +[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 4a1c2b2f-f901-4ab2-b7dd-1bfb864c04da) to Async(default) with arguments: #> +Redirected to http://127.0.0.1:3000/posts +Completed 302 Found in 36ms (ActiveRecord: 3.2ms | Allocations: 14688) + + +  (0.1ms) SELECT sqlite_version(*) + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +[ActiveJob] [ActiveStorage::AnalyzeJob] [4a1c2b2f-f901-4ab2-b7dd-1bfb864c04da] Performing ActiveStorage::AnalyzeJob (Job ID: 4a1c2b2f-f901-4ab2-b7dd-1bfb864c04da) from Async(default) enqueued at 2021-12-12T16:17:46Z with arguments: #> +[ActiveJob] [ActiveStorage::AnalyzeJob] [4a1c2b2f-f901-4ab2-b7dd-1bfb864c04da]  Disk Storage (0.2ms) Downloaded file from key: wrea1epkcdfi3f2jja7ci9aqj30q +[ActiveJob] [ActiveStorage::AnalyzeJob] [4a1c2b2f-f901-4ab2-b7dd-1bfb864c04da] Skipping image analysis because the mini_magick gem isn't installed +[ActiveJob] [ActiveStorage::AnalyzeJob] [4a1c2b2f-f901-4ab2-b7dd-1bfb864c04da] TRANSACTION (0.0ms) begin transaction +[ActiveJob] [ActiveStorage::AnalyzeJob] [4a1c2b2f-f901-4ab2-b7dd-1bfb864c04da] ActiveStorage::Blob Update (0.3ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 3]] +[ActiveJob] [ActiveStorage::AnalyzeJob] [4a1c2b2f-f901-4ab2-b7dd-1bfb864c04da] TRANSACTION (0.4ms) commit transaction +[ActiveJob] [ActiveStorage::AnalyzeJob] [4a1c2b2f-f901-4ab2-b7dd-1bfb864c04da] Performed ActiveStorage::AnalyzeJob (Job ID: 4a1c2b2f-f901-4ab2-b7dd-1bfb864c04da) from Async(default) in 7.48ms +Started GET "/posts" for 127.0.0.1 at 2021-12-12 16:17:46 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 11.2ms | Allocations: 9023) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 80) + Rendered layout layouts/application.html.erb (Duration: 15.2ms | Allocations: 12857) +Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.6ms | Allocations: 13448) + + +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--8adeff058768289ee53e29f0cae967af08a7afc8/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:46 +0000 +Processing by ActiveStorage::Blobs::RedirectController#show as PNG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--8adeff058768289ee53e29f0cae967af08a7afc8", "filename"=>"IMGE-Social-Share"} + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Disk Storage (0.4ms) Generated URL for file at key: wrea1epkcdfi3f2jja7ci9aqj30q (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png +Completed 302 Found in 3ms (ActiveRecord: 0.1ms | Allocations: 1672) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:46 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:17:46 +0000 +Processing by ActiveStorage::DiskController#show as PNG +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 801) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 589) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:46 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 340) + + +Started GET "/posts/4" for 127.0.0.1 at 2021-12-12 16:17:48 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"4"} + Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 4]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of templates [0 times] (Duration: 0.1ms | Allocations: 23) + Rendered comments/_form.html.erb (Duration: 0.1ms | Allocations: 44) + Rendered posts/show.html.erb within layouts/application (Duration: 9.6ms | Allocations: 3535) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 970) + Rendered layout layouts/application.html.erb (Duration: 20.3ms | Allocations: 8238) +Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.9ms | Allocations: 9252) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:48 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 793) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:17:48 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:48 +0000 +Processing by ActiveStorage::DiskController#show as PNG +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 951) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 439) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:17:50 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:50 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:50 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as PNG +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 330) + + +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 1036) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started GET "/posts/4" for 127.0.0.1 at 2021-12-12 16:17:53 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"4"} + Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 4]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of templates [0 times] (Duration: 0.0ms | Allocations: 10) + Rendered comments/_form.html.erb (Duration: 0.1ms | Allocations: 44) + Rendered posts/show.html.erb within layouts/application (Duration: 10.7ms | Allocations: 3003) +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:53 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:17:53 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:53 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 336) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 575) + + +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 998) + Rendered layout layouts/application.html.erb (Duration: 41.0ms | Allocations: 13940) +Completed 200 OK in 44ms (Views: 41.0ms | ActiveRecord: 0.9ms | Allocations: 15109) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:17:53 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 867) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 16:19:26 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 26.3ms | Allocations: 10140) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.8ms | Allocations: 281) + Rendered layout layouts/application.html.erb (Duration: 34.7ms | Allocations: 14690) +Completed 200 OK in 39ms (Views: 35.9ms | ActiveRecord: 1.4ms | Allocations: 16184) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:19:26 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:19:26 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:19:26 +0000 +Processing by ActiveStorage::DiskController#show as PNG +Processing by ActiveStorage::DiskController#show as JPEG +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 650) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 896) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 392) + + +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:19:28 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of comments/_comment.html.erb [1 times] (Duration: 0.9ms | Allocations: 192) + Rendered comments/_form.html.erb (Duration: 2.3ms | Allocations: 854) + Rendered posts/show.html.erb within layouts/application (Duration: 15.3ms | Allocations: 5060) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.4ms | Allocations: 969) + Rendered layout layouts/application.html.erb (Duration: 24.8ms | Allocations: 9624) +Completed 200 OK in 28ms (Views: 24.7ms | ActiveRecord: 0.7ms | Allocations: 10775) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:19:29 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 319) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:19:29 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:19:29 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 695) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 616) + + +Started POST "/posts/3/comments" for 127.0.0.1 at 2021-12-12 16:19:32 +0000 +Processing by CommentsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "comment"=>{"comment"=>"swd"}, "commit"=>"Create Comment", "post_id"=>"3"} + Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:3:in `create' + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/comments_controller.rb:4:in `create' + Comment Create (1.0ms) INSERT INTO "comments" ("comment", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["comment", "swd"], ["post_id", 3], ["created_at", "2021-12-12 16:19:32.915488"], ["updated_at", "2021-12-12 16:19:32.915488"]] + ↳ app/controllers/comments_controller.rb:4:in `create' + TRANSACTION (1.0ms) commit transaction + ↳ app/controllers/comments_controller.rb:4:in `create' +Redirected to http://127.0.0.1:3000/posts/3 +Completed 302 Found in 14ms (ActiveRecord: 2.3ms | Allocations: 3394) + + +Started GET "/posts/3" for 127.0.0.1 at 2021-12-12 16:19:32 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"3"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 3]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of comments/_comment.html.erb [2 times] (Duration: 0.1ms | Allocations: 83) + Rendered comments/_form.html.erb (Duration: 1.3ms | Allocations: 631) + Rendered posts/show.html.erb within layouts/application (Duration: 9.7ms | Allocations: 3734) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 969) + Rendered layout layouts/application.html.erb (Duration: 18.6ms | Allocations: 8304) +Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.6ms | Allocations: 9300) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:19:33 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 16:19:36 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 25.6ms | Allocations: 9364) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 78) + Rendered layout layouts/application.html.erb (Duration: 33.0ms | Allocations: 13138) +Completed 200 OK in 35ms (Views: 32.2ms | ActiveRecord: 1.4ms | Allocations: 13634) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:19:36 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:19:36 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:19:36 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 1033) + + +Processing by ActiveStorage::DiskController#show as JPEG +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 1342) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 333) + + +Started GET "/posts/4" for 127.0.0.1 at 2021-12-12 16:19:38 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"4"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 4]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of templates [0 times] (Duration: 0.0ms | Allocations: 12) + Rendered comments/_form.html.erb (Duration: 1.9ms | Allocations: 633) + Rendered posts/show.html.erb within layouts/application (Duration: 10.2ms | Allocations: 3596) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 3.0ms | Allocations: 969) + Rendered layout layouts/application.html.erb (Duration: 21.2ms | Allocations: 8773) +Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.7ms | Allocations: 9775) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:19:38 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjA6MjIuNzM2WiIsInB1ciI6ImJsb2Jfa2V5In19--147e66e317dda001ad01cf15946fb3e3fddfacbc/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:19:38 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:19:38 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as JPEG +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 319) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 381) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 16:20:59 +0000 +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9b0107d3d374681dba58f9fbb65d695f27cb2e75/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:20:59 +0000 +Processing by PostsController#index as HTML +Processing by ActiveStorage::Blobs::RedirectController#show as PNG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9b0107d3d374681dba58f9fbb65d695f27cb2e75", "filename"=>"IMGE-Social-Share"} + ActiveStorage::Blob Load (0.5ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + Disk Storage (1.1ms) Generated URL for file at key: 8rq2mgqrnh5g9i096x7j8pvhlqvl (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjU6NTkuMTc2WiIsInB1ciI6ImJsb2Jfa2V5In19--4a14e8fb086581c508f50f65ffa5d9da5a8929e8/IMGE-Social-Share.png) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjU6NTkuMTc2WiIsInB1ciI6ImJsb2Jfa2V5In19--4a14e8fb086581c508f50f65ffa5d9da5a8929e8/IMGE-Social-Share.png + Rendering layout layouts/application.html.erb +Completed 302 Found in 6ms (ActiveRecord: 0.5ms | Allocations: 2017) + + + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:20:59 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:20:59 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjU6NTkuMTc2WiIsInB1ciI6ImJsb2Jfa2V5In19--4a14e8fb086581c508f50f65ffa5d9da5a8929e8/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:20:59 +0000 + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as JPEG + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 770) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 557) + + + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] +Processing by ActiveStorage::DiskController#show as PNG + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] +Completed 200 OK in 5ms (ActiveRecord: 0.0ms | Allocations: 1080) + + + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 38.2ms | Allocations: 15748) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.7ms | Allocations: 281) + Rendered layout layouts/application.html.erb (Duration: 50.3ms | Allocations: 21213) +Completed 200 OK in 64ms (Views: 58.1ms | ActiveRecord: 1.3ms | Allocations: 24882) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:20:59 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjU6NTkuMTc2WiIsInB1ciI6ImJsb2Jfa2V5In19--4a14e8fb086581c508f50f65ffa5d9da5a8929e8/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:20:59 +0000 +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 2640) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:20:59 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 333) + + +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 544) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 16:21:02 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/new.html.erb:7 + Rendered posts/new.html.erb within layouts/application (Duration: 6.4ms | Allocations: 1767) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 78) + Rendered layout layouts/application.html.erb (Duration: 15.0ms | Allocations: 5946) +Completed 200 OK in 18ms (Views: 15.4ms | ActiveRecord: 0.2ms | Allocations: 6571) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:21:02 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjU6NTkuMTc2WiIsInB1ciI6ImJsb2Jfa2V5In19--4a14e8fb086581c508f50f65ffa5d9da5a8929e8/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:21:02 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Processing by ActiveStorage::DiskController#show as PNG +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 685) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 325) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:21:03 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started POST "/posts" for 127.0.0.1 at 2021-12-12 16:21:13 +0000 +Processing by PostsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "post"=>{"caption"=>"photo", "image"=>#, @original_filename="monkey.jpeg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"post[image]\"; filename=\"monkey.jpeg\"\r\nContent-Type: image/jpeg\r\n">, "user_id"=>"2"}, "commit"=>"Submit"} +Unpermitted parameter: :user_id + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/posts_controller.rb:7:in `create' + Post Create (1.0ms) INSERT INTO "posts" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "photo"], ["created_at", "2021-12-12 16:21:13.740334"], ["updated_at", "2021-12-12 16:21:13.740334"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Blob Load (0.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" INNER JOIN "active_storage_attachments" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Blob Create (0.3ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "service_name", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["key", "44d56kvidjrbugbnh6yzfmyk4ur0"], ["filename", "monkey.jpeg"], ["content_type", "image/jpeg"], ["metadata", "{\"identified\":true}"], ["service_name", "local"], ["byte_size", 362678], ["checksum", "mvgG0N50e/f0rF0iaSuH3g=="], ["created_at", "2021-12-12 16:21:13.755217"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Attachment Create (0.2ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "image"], ["record_type", "Post"], ["record_id", 5], ["blob_id", 4], ["created_at", "2021-12-12 16:21:13.759004"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + Post Update (0.1ms) UPDATE "posts" SET "updated_at" = ? WHERE "posts"."id" = ? [["updated_at", "2021-12-12 16:21:13.760950"], ["id", 5]] + ↳ app/controllers/posts_controller.rb:7:in `create' + TRANSACTION (0.9ms) commit transaction + ↳ app/controllers/posts_controller.rb:7:in `create' + Disk Storage (3.1ms) Uploaded file to key: 44d56kvidjrbugbnh6yzfmyk4ur0 (checksum: mvgG0N50e/f0rF0iaSuH3g==) +[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: d0a2c534-402f-48d2-93a2-0e11f6df695c) to Async(default) with arguments: #> +Redirected to http://127.0.0.1:3000/posts +Completed 302 Found in 34ms (ActiveRecord: 3.0ms | Allocations: 10132) + + + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] +[ActiveJob] [ActiveStorage::AnalyzeJob] [d0a2c534-402f-48d2-93a2-0e11f6df695c] Performing ActiveStorage::AnalyzeJob (Job ID: d0a2c534-402f-48d2-93a2-0e11f6df695c) from Async(default) enqueued at 2021-12-12T16:21:13Z with arguments: #> +[ActiveJob] [ActiveStorage::AnalyzeJob] [d0a2c534-402f-48d2-93a2-0e11f6df695c]  Disk Storage (0.4ms) Downloaded file from key: 44d56kvidjrbugbnh6yzfmyk4ur0 +Started GET "/posts" for 127.0.0.1 at 2021-12-12 16:21:13 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 17.8ms | Allocations: 11252) +[ActiveJob] [ActiveStorage::AnalyzeJob] [d0a2c534-402f-48d2-93a2-0e11f6df695c] Skipping image analysis because the mini_magick gem isn't installed +[ActiveJob] [ActiveStorage::AnalyzeJob] [d0a2c534-402f-48d2-93a2-0e11f6df695c] TRANSACTION (0.0ms) begin transaction +[ActiveJob] [ActiveStorage::AnalyzeJob] [d0a2c534-402f-48d2-93a2-0e11f6df695c] ActiveStorage::Blob Update (0.2ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 4]] +[ActiveJob] [ActiveStorage::AnalyzeJob] [d0a2c534-402f-48d2-93a2-0e11f6df695c] TRANSACTION (0.3ms) commit transaction +[ActiveJob] [ActiveStorage::AnalyzeJob] [d0a2c534-402f-48d2-93a2-0e11f6df695c] Performed ActiveStorage::AnalyzeJob (Job ID: d0a2c534-402f-48d2-93a2-0e11f6df695c) from Async(default) in 35.94ms +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 78) + Rendered layout layouts/application.html.erb (Duration: 29.6ms | Allocations: 19067) +Completed 200 OK in 31ms (Views: 29.3ms | ActiveRecord: 0.7ms | Allocations: 19580) + + +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--1d7e642c112d45154f8bfcf5b10694e3038ed9a7/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:21:13 +0000 +Processing by ActiveStorage::Blobs::RedirectController#show as JPEG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--1d7e642c112d45154f8bfcf5b10694e3038ed9a7", "filename"=>"monkey"} + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + Disk Storage (0.4ms) Generated URL for file at key: 44d56kvidjrbugbnh6yzfmyk4ur0 (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyNjoxMy44NzNaIiwicHVyIjoiYmxvYl9rZXkifX0=--8929b9e1c30516f6098c908eac6dba17f6e78ad0/monkey.jpeg) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyNjoxMy44NzNaIiwicHVyIjoiYmxvYl9rZXkifX0=--8929b9e1c30516f6098c908eac6dba17f6e78ad0/monkey.jpeg +Completed 302 Found in 4ms (ActiveRecord: 0.1ms | Allocations: 1780) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:21:13 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjU6NTkuMTc2WiIsInB1ciI6ImJsb2Jfa2V5In19--4a14e8fb086581c508f50f65ffa5d9da5a8929e8/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:21:13 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:21:13 +0000 +Processing by ActiveStorage::DiskController#show as PNG +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as JPEG +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyNjoxMy44NzNaIiwicHVyIjoiYmxvYl9rZXkifX0=--8929b9e1c30516f6098c908eac6dba17f6e78ad0/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:21:13 +0000 + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 332) + + +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 998) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 1035) + + +Started GET "/posts/5" for 127.0.0.1 at 2021-12-12 16:21:18 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"5"} + Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 5]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of templates [0 times] (Duration: 0.0ms | Allocations: 14) + Rendered comments/_form.html.erb (Duration: 2.7ms | Allocations: 805) + Rendered posts/show.html.erb within layouts/application (Duration: 13.9ms | Allocations: 4666) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 969) + Rendered layout layouts/application.html.erb (Duration: 23.7ms | Allocations: 9240) +Completed 200 OK in 28ms (Views: 23.9ms | ActiveRecord: 1.0ms | Allocations: 10366) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyNjoxMy44NzNaIiwicHVyIjoiYmxvYl9rZXkifX0=--8929b9e1c30516f6098c908eac6dba17f6e78ad0/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:21:18 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjI6NDYuODQ0WiIsInB1ciI6ImJsb2Jfa2V5In19--d82eec7985893759fdcbb3772cd7d7fc4f1de553/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:21:18 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MjU6NTkuMTc2WiIsInB1ciI6ImJsb2Jfa2V5In19--4a14e8fb086581c508f50f65ffa5d9da5a8929e8/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:21:18 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyMjozNC43NTZaIiwicHVyIjoiYmxvYl9rZXkifX0=--d5456fe012a665ae52861014dd4c13c0e621ecfb/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:21:18 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as PNG +Processing by ActiveStorage::DiskController#show as JPEG +Completed 200 OK in 3ms (ActiveRecord: 0.0ms | Allocations: 1055) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 328) + + +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 335) + + +Started POST "/posts/5/comments" for 127.0.0.1 at 2021-12-12 16:21:22 +0000 +Processing by CommentsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "comment"=>{"comment"=>"rwerw"}, "commit"=>"Create Comment", "post_id"=>"5"} + Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:3:in `create' + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/comments_controller.rb:4:in `create' + Comment Create (0.9ms) INSERT INTO "comments" ("comment", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["comment", "rwerw"], ["post_id", 5], ["created_at", "2021-12-12 16:21:22.178415"], ["updated_at", "2021-12-12 16:21:22.178415"]] + ↳ app/controllers/comments_controller.rb:4:in `create' + TRANSACTION (1.0ms) commit transaction + ↳ app/controllers/comments_controller.rb:4:in `create' +Redirected to http://127.0.0.1:3000/posts/5 +Completed 302 Found in 15ms (ActiveRecord: 2.3ms | Allocations: 3321) + + +Started GET "/posts/5" for 127.0.0.1 at 2021-12-12 16:21:22 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"5"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 5]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of comments/_comment.html.erb [1 times] (Duration: 0.9ms | Allocations: 168) + Rendered comments/_form.html.erb (Duration: 1.5ms | Allocations: 630) + Rendered posts/show.html.erb within layouts/application (Duration: 12.0ms | Allocations: 3935) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.3ms | Allocations: 969) + Rendered layout layouts/application.html.erb (Duration: 21.8ms | Allocations: 8505) +Completed 200 OK in 25ms (Views: 21.7ms | ActiveRecord: 0.8ms | Allocations: 9501) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjoyNjoxMy44NzNaIiwicHVyIjoiYmxvYl9rZXkifX0=--8929b9e1c30516f6098c908eac6dba17f6e78ad0/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:21:22 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 604) + + +Started GET "/posts/5" for 127.0.0.1 at 2021-12-12 16:21:27 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"5"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 5]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of comments/_comment.html.erb [1 times] (Duration: 0.2ms | Allocations: 76) + Rendered comments/_form.html.erb (Duration: 2.4ms | Allocations: 630) + Rendered posts/show.html.erb within layouts/application (Duration: 12.1ms | Allocations: 3711) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.6ms | Allocations: 969) + Rendered layout layouts/application.html.erb (Duration: 23.7ms | Allocations: 8275) +Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.8ms | Allocations: 9272) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 16:26:25 +0000 +  (0.4ms) SELECT sqlite_version(*) +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.4ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 27.0ms | Allocations: 37394) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 304) + Rendered layout layouts/application.html.erb (Duration: 35.8ms | Allocations: 44532) +Completed 200 OK in 50ms (Views: 36.3ms | ActiveRecord: 1.6ms | Allocations: 51070) + + +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--1d7e642c112d45154f8bfcf5b10694e3038ed9a7/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:26:25 +0000 +Processing by ActiveStorage::Blobs::RedirectController#show as JPEG +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--8adeff058768289ee53e29f0cae967af08a7afc8/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:26:25 +0000 +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9b0107d3d374681dba58f9fbb65d695f27cb2e75/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:26:25 +0000 + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--1d7e642c112d45154f8bfcf5b10694e3038ed9a7", "filename"=>"monkey"} +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:26:25 +0000 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] +Processing by ActiveStorage::Blobs::RedirectController#show as PNG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--8adeff058768289ee53e29f0cae967af08a7afc8", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::Blobs::RedirectController#show as PNG + Disk Storage (3.7ms) Generated URL for file at key: 44d56kvidjrbugbnh6yzfmyk4ur0 (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS43OTVaIiwicHVyIjoiYmxvYl9rZXkifX0=--5e62081f7a7de3f1439a9fff6c6dc3bc7bf97112/monkey.jpeg) +  (0.0ms) SELECT sqlite_version(*) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS43OTVaIiwicHVyIjoiYmxvYl9rZXkifX0=--5e62081f7a7de3f1439a9fff6c6dc3bc7bf97112/monkey.jpeg + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9b0107d3d374681dba58f9fbb65d695f27cb2e75", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::Blobs::RedirectController#show as JPEG +  (0.0ms) SELECT sqlite_version(*) + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98", "filename"=>"monkey"} +Completed 302 Found in 10ms (ActiveRecord: 0.1ms | Allocations: 7351) + + +  (0.0ms) SELECT sqlite_version(*) + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Disk Storage (0.3ms) Generated URL for file at key: wrea1epkcdfi3f2jja7ci9aqj30q (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuODAwWiIsInB1ciI6ImJsb2Jfa2V5In19--39bda151d41cfc892d3f4d0de92195783fc592d9/IMGE-Social-Share.png) + Disk Storage (0.3ms) Generated URL for file at key: 8rq2mgqrnh5g9i096x7j8pvhlqvl (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuNzk4WiIsInB1ciI6ImJsb2Jfa2V5In19--dfa9f0aa4af31f8b928ecfac558ba8f63619756b/IMGE-Social-Share.png) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuODAwWiIsInB1ciI6ImJsb2Jfa2V5In19--39bda151d41cfc892d3f4d0de92195783fc592d9/IMGE-Social-Share.png +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuNzk4WiIsInB1ciI6ImJsb2Jfa2V5In19--dfa9f0aa4af31f8b928ecfac558ba8f63619756b/IMGE-Social-Share.png +Completed 302 Found in 10ms (ActiveRecord: 0.2ms | Allocations: 11153) + + + Disk Storage (0.1ms) Generated URL for file at key: s76lb6uqe1ovqnf4bnjzdhbrrl4c (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS44MDJaIiwicHVyIjoiYmxvYl9rZXkifX0=--a8c63b9968221a08250ccc45d7ae34acd87f5913/monkey.jpeg) +Completed 302 Found in 11ms (ActiveRecord: 0.2ms | Allocations: 7270) + + +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS44MDJaIiwicHVyIjoiYmxvYl9rZXkifX0=--a8c63b9968221a08250ccc45d7ae34acd87f5913/monkey.jpeg +Completed 302 Found in 8ms (ActiveRecord: 0.2ms | Allocations: 3557) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS43OTVaIiwicHVyIjoiYmxvYl9rZXkifX0=--5e62081f7a7de3f1439a9fff6c6dc3bc7bf97112/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:26:25 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuNzk4WiIsInB1ciI6ImJsb2Jfa2V5In19--dfa9f0aa4af31f8b928ecfac558ba8f63619756b/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:26:25 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS44MDJaIiwicHVyIjoiYmxvYl9rZXkifX0=--a8c63b9968221a08250ccc45d7ae34acd87f5913/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:26:25 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuODAwWiIsInB1ciI6ImJsb2Jfa2V5In19--39bda151d41cfc892d3f4d0de92195783fc592d9/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:26:25 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as JPEG +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 495) + + +Processing by ActiveStorage::DiskController#show as PNG +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 893) + + +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 676) + + +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 435) + + +Started GET "/posts/5" for 127.0.0.1 at 2021-12-12 16:26:38 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"5"} + Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 5]] + ↳ app/views/posts/show.html.erb:7 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS43OTVaIiwicHVyIjoiYmxvYl9rZXkifX0=--5e62081f7a7de3f1439a9fff6c6dc3bc7bf97112/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:26:38 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuODAwWiIsInB1ciI6ImJsb2Jfa2V5In19--39bda151d41cfc892d3f4d0de92195783fc592d9/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:26:38 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS44MDJaIiwicHVyIjoiYmxvYl9rZXkifX0=--a8c63b9968221a08250ccc45d7ae34acd87f5913/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:26:38 +0000 + Rendered collection of comments/_comment.html.erb [1 times] (Duration: 3.1ms | Allocations: 1692) +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Processing by ActiveStorage::DiskController#show as PNG +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 823) + + + Rendered comments/_form.html.erb (Duration: 5.2ms | Allocations: 2842) + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 4ms (ActiveRecord: 0.0ms | Allocations: 2874) + + + Rendered posts/show.html.erb within layouts/application (Duration: 38.0ms | Allocations: 17209) +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 625) + + +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 1153) + Rendered layout layouts/application.html.erb (Duration: 53.0ms | Allocations: 23864) +Completed 200 OK in 59ms (Views: 52.3ms | ActiveRecord: 2.6ms | Allocations: 25370) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS43OTVaIiwicHVyIjoiYmxvYl9rZXkifX0=--5e62081f7a7de3f1439a9fff6c6dc3bc7bf97112/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:26:38 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 6ms (ActiveRecord: 0.0ms | Allocations: 1912) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuNzk4WiIsInB1ciI6ImJsb2Jfa2V5In19--dfa9f0aa4af31f8b928ecfac558ba8f63619756b/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:26:38 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started POST "/posts/5/comments" for 127.0.0.1 at 2021-12-12 16:26:44 +0000 +Processing by CommentsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "comment"=>{"comment"=>"monkey"}, "commit"=>"Create Comment", "post_id"=>"5"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:3:in `create' + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/comments_controller.rb:4:in `create' + Comment Create (1.1ms) INSERT INTO "comments" ("comment", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["comment", "monkey"], ["post_id", 5], ["created_at", "2021-12-12 16:26:44.675897"], ["updated_at", "2021-12-12 16:26:44.675897"]] + ↳ app/controllers/comments_controller.rb:4:in `create' + TRANSACTION (0.9ms) commit transaction + ↳ app/controllers/comments_controller.rb:4:in `create' +Redirected to http://127.0.0.1:3000/posts/5 +Completed 302 Found in 14ms (ActiveRecord: 2.3ms | Allocations: 4291) + + +Started GET "/posts/5" for 127.0.0.1 at 2021-12-12 16:26:44 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"5"} + Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 5]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of comments/_comment.html.erb [2 times] (Duration: 0.2ms | Allocations: 87) + Rendered comments/_form.html.erb (Duration: 1.4ms | Allocations: 712) + Rendered posts/show.html.erb within layouts/application (Duration: 9.3ms | Allocations: 3915) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 990) + Rendered layout layouts/application.html.erb (Duration: 18.1ms | Allocations: 8636) +Completed 200 OK in 22ms (Views: 18.3ms | ActiveRecord: 0.7ms | Allocations: 9675) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS43OTVaIiwicHVyIjoiYmxvYl9rZXkifX0=--5e62081f7a7de3f1439a9fff6c6dc3bc7bf97112/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:26:44 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 332) + + +Started GET "/posts/5" for 127.0.0.1 at 2021-12-12 16:26:49 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"5"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 5]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of comments/_comment.html.erb [2 times] (Duration: 0.2ms | Allocations: 83) + Rendered comments/_form.html.erb (Duration: 2.6ms | Allocations: 630) + Rendered posts/show.html.erb within layouts/application (Duration: 11.6ms | Allocations: 3733) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 969) + Rendered layout layouts/application.html.erb (Duration: 23.5ms | Allocations: 8309) +Completed 200 OK in 34ms (Views: 23.5ms | ActiveRecord: 0.8ms | Allocations: 9307) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 16:26:54 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 24.4ms | Allocations: 11041) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 78) + Rendered layout layouts/application.html.erb (Duration: 29.9ms | Allocations: 14767) +Completed 200 OK in 32ms (Views: 29.3ms | ActiveRecord: 1.3ms | Allocations: 15276) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS43OTVaIiwicHVyIjoiYmxvYl9rZXkifX0=--5e62081f7a7de3f1439a9fff6c6dc3bc7bf97112/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:26:54 +0000 +Processing by ActiveStorage::DiskController#show as JPEG +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuODAwWiIsInB1ciI6ImJsb2Jfa2V5In19--39bda151d41cfc892d3f4d0de92195783fc592d9/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:26:54 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS44MDJaIiwicHVyIjoiYmxvYl9rZXkifX0=--a8c63b9968221a08250ccc45d7ae34acd87f5913/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:26:54 +0000 + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuNzk4WiIsInB1ciI6ImJsb2Jfa2V5In19--dfa9f0aa4af31f8b928ecfac558ba8f63619756b/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:26:54 +0000 +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 413) + + +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Processing by ActiveStorage::DiskController#show as PNG +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 338) + + +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 407) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 654) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS43OTVaIiwicHVyIjoiYmxvYl9rZXkifX0=--5e62081f7a7de3f1439a9fff6c6dc3bc7bf97112/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:26:56 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuODAwWiIsInB1ciI6ImJsb2Jfa2V5In19--39bda151d41cfc892d3f4d0de92195783fc592d9/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:26:56 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS44MDJaIiwicHVyIjoiYmxvYl9rZXkifX0=--a8c63b9968221a08250ccc45d7ae34acd87f5913/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:26:56 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuNzk4WiIsInB1ciI6ImJsb2Jfa2V5In19--dfa9f0aa4af31f8b928ecfac558ba8f63619756b/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:26:56 +0000 +Processing by ActiveStorage::DiskController#show as JPEG +Processing by ActiveStorage::DiskController#show as PNG +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 665) + + +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 599) + + +Processing by ActiveStorage::DiskController#show as JPEG +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 611) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 326) + + +Started DELETE "/users/sign_out" for 127.0.0.1 at 2021-12-12 16:28:49 +0000 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 9ms (ActiveRecord: 0.2ms | Allocations: 3005) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 16:28:49 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 2.4ms | Allocations: 220) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 136) + Rendered layout layouts/application.html.erb (Duration: 12.8ms | Allocations: 4137) +Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms | Allocations: 4724) + + +Started GET "/users/sign_in" for 127.0.0.1 at 2021-12-12 16:28:51 +0000 +Processing by Devise::SessionsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 1.4ms | Allocations: 688) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 7.8ms | Allocations: 3219) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.3ms | Allocations: 160) + Rendered layout layouts/application.html.erb (Duration: 16.5ms | Allocations: 7977) +Completed 200 OK in 25ms (Views: 22.6ms | ActiveRecord: 0.0ms | Allocations: 10182) + + +Started POST "/users/sign_in" for 127.0.0.1 at 2021-12-12 16:28:56 +0000 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@mail.com"], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 290ms (ActiveRecord: 0.3ms | Allocations: 5056) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 16:28:56 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.0ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 7.3ms | Allocations: 11130) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.0ms | Allocations: 80) + Rendered layout layouts/application.html.erb (Duration: 10.0ms | Allocations: 14969) +Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.3ms | Allocations: 15567) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS43OTVaIiwicHVyIjoiYmxvYl9rZXkifX0=--5e62081f7a7de3f1439a9fff6c6dc3bc7bf97112/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:28:56 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuODAwWiIsInB1ciI6ImJsb2Jfa2V5In19--39bda151d41cfc892d3f4d0de92195783fc592d9/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:28:56 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuNzk4WiIsInB1ciI6ImJsb2Jfa2V5In19--dfa9f0aa4af31f8b928ecfac558ba8f63619756b/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:28:56 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS44MDJaIiwicHVyIjoiYmxvYl9rZXkifX0=--a8c63b9968221a08250ccc45d7ae34acd87f5913/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:28:56 +0000 +Processing by ActiveStorage::DiskController#show as JPEG +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as JPEG +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 612) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 399) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 708) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 330) + + +Started GET "/posts/5" for 127.0.0.1 at 2021-12-12 16:29:06 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"5"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 5]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of comments/_comment.html.erb [2 times] (Duration: 0.2ms | Allocations: 86) + Rendered comments/_form.html.erb (Duration: 1.6ms | Allocations: 706) + Rendered posts/show.html.erb within layouts/application (Duration: 11.0ms | Allocations: 4288) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.1ms | Allocations: 969) + Rendered layout layouts/application.html.erb (Duration: 20.8ms | Allocations: 8999) +Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.7ms | Allocations: 10007) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS43OTVaIiwicHVyIjoiYmxvYl9rZXkifX0=--5e62081f7a7de3f1439a9fff6c6dc3bc7bf97112/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:29:06 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuODAwWiIsInB1ciI6ImJsb2Jfa2V5In19--39bda151d41cfc892d3f4d0de92195783fc592d9/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:29:06 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 799) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS44MDJaIiwicHVyIjoiYmxvYl9rZXkifX0=--a8c63b9968221a08250ccc45d7ae34acd87f5913/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:29:06 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6MzE6MjUuNzk4WiIsInB1ciI6ImJsb2Jfa2V5In19--dfa9f0aa4af31f8b928ecfac558ba8f63619756b/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:29:06 +0000 +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 361) + + +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 330) + + +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 329) + + +Started POST "/posts/5/comments" for 127.0.0.1 at 2021-12-12 16:29:14 +0000 +Processing by CommentsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "comment"=>{"comment"=>"comment\r\n"}, "commit"=>"Create Comment", "post_id"=>"5"} + Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:3:in `create' + TRANSACTION (0.2ms) begin transaction + ↳ app/controllers/comments_controller.rb:4:in `create' + Comment Create (1.3ms) INSERT INTO "comments" ("comment", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["comment", "comment\r\n"], ["post_id", 5], ["created_at", "2021-12-12 16:29:14.982319"], ["updated_at", "2021-12-12 16:29:14.982319"]] + ↳ app/controllers/comments_controller.rb:4:in `create' + TRANSACTION (1.0ms) commit transaction + ↳ app/controllers/comments_controller.rb:4:in `create' +Redirected to http://127.0.0.1:3000/posts/5 +Completed 302 Found in 14ms (ActiveRecord: 2.8ms | Allocations: 3393) + + +Started GET "/posts/5" for 127.0.0.1 at 2021-12-12 16:29:14 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"5"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 5]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of comments/_comment.html.erb [3 times] (Duration: 0.2ms | Allocations: 90) + Rendered comments/_form.html.erb (Duration: 1.1ms | Allocations: 630) + Rendered posts/show.html.erb within layouts/application (Duration: 8.1ms | Allocations: 3754) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.2ms | Allocations: 969) + Rendered layout layouts/application.html.erb (Duration: 16.0ms | Allocations: 8318) +Completed 200 OK in 19ms (Views: 16.0ms | ActiveRecord: 0.7ms | Allocations: 9314) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjozMToyNS43OTVaIiwicHVyIjoiYmxvYl9rZXkifX0=--5e62081f7a7de3f1439a9fff6c6dc3bc7bf97112/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:29:15 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started DELETE "/users/sign_out" for 127.0.0.1 at 2021-12-12 16:41:32 +0000 +Processing by Devise::SessionsController#destroy as HTML + Parameters: {"authenticity_token"=>"[FILTERED]"} +  (0.1ms) SELECT sqlite_version(*) + User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 15ms (ActiveRecord: 1.4ms | Allocations: 2862) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 16:41:32 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + Rendered posts/index.html.erb within layouts/application (Duration: 0.3ms | Allocations: 144) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 123) + Rendered layout layouts/application.html.erb (Duration: 13.1ms | Allocations: 3844) +Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.0ms | Allocations: 4336) + + +Started GET "/users/sign_in" for 127.0.0.1 at 2021-12-12 16:41:34 +0000 +Processing by Devise::SessionsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/shared/_links.html.erb (Duration: 0.3ms | Allocations: 156) + Rendered /Users/sigitaz/.rvm/gems/ruby-3.0.2/gems/devise-4.8.0/app/views/devise/sessions/new.html.erb within layouts/application (Duration: 2.6ms | Allocations: 1034) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.4ms | Allocations: 129) + Rendered layout layouts/application.html.erb (Duration: 12.2ms | Allocations: 5353) +Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.0ms | Allocations: 6034) + + +Started POST "/users/sign_in" for 127.0.0.1 at 2021-12-12 16:41:39 +0000 +Processing by Devise::SessionsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"test@mail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "test@mail.com"], ["LIMIT", 1]] +Redirected to http://127.0.0.1:3000/ +Completed 302 Found in 283ms (ActiveRecord: 0.3ms | Allocations: 2401) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 16:41:39 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.3ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 8.7ms | Allocations: 10960) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 78) + Rendered layout layouts/application.html.erb (Duration: 11.4ms | Allocations: 14673) +Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.8ms | Allocations: 15168) + + +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--1d7e642c112d45154f8bfcf5b10694e3038ed9a7/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:41:39 +0000 +Processing by ActiveStorage::Blobs::RedirectController#show as JPEG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--1d7e642c112d45154f8bfcf5b10694e3038ed9a7", "filename"=>"monkey"} + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--8adeff058768289ee53e29f0cae967af08a7afc8/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:41:39 +0000 + Disk Storage (0.4ms) Generated URL for file at key: 44d56kvidjrbugbnh6yzfmyk4ur0 (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS42OTJaIiwicHVyIjoiYmxvYl9rZXkifX0=--ae466ba97362aaeb8a7f5806905c035451eba1ad/monkey.jpeg) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS42OTJaIiwicHVyIjoiYmxvYl9rZXkifX0=--ae466ba97362aaeb8a7f5806905c035451eba1ad/monkey.jpeg +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:41:39 +0000 +Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 3855) + + +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9b0107d3d374681dba58f9fbb65d695f27cb2e75/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:41:39 +0000 +Processing by ActiveStorage::Blobs::RedirectController#show as PNG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--8adeff058768289ee53e29f0cae967af08a7afc8", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::Blobs::RedirectController#show as JPEG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2808860c81f697403fbd269097f55493991bfa98", "filename"=>"monkey"} +  (0.1ms) SELECT sqlite_version(*) + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Disk Storage (0.3ms) Generated URL for file at key: s76lb6uqe1ovqnf4bnjzdhbrrl4c (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS43MDNaIiwicHVyIjoiYmxvYl9rZXkifX0=--af2e1697c93405b819da6d5ec539008234c8d1ef/monkey.jpeg) +Processing by ActiveStorage::Blobs::RedirectController#show as PNG +  (0.0ms) SELECT sqlite_version(*) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS43MDNaIiwicHVyIjoiYmxvYl9rZXkifX0=--af2e1697c93405b819da6d5ec539008234c8d1ef/monkey.jpeg + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9b0107d3d374681dba58f9fbb65d695f27cb2e75", "filename"=>"IMGE-Social-Share"} + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] +Completed 302 Found in 6ms (ActiveRecord: 0.4ms | Allocations: 4048) + + + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + Disk Storage (0.3ms) Generated URL for file at key: 8rq2mgqrnh5g9i096x7j8pvhlqvl (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA2WiIsInB1ciI6ImJsb2Jfa2V5In19--83d8e9d0bfad46996ac2204812b590a0030ad826/IMGE-Social-Share.png) + Disk Storage (0.6ms) Generated URL for file at key: wrea1epkcdfi3f2jja7ci9aqj30q (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA4WiIsInB1ciI6ImJsb2Jfa2V5In19--2120669ace1cf0c2db2939c21e186fe801f96c58/IMGE-Social-Share.png) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA2WiIsInB1ciI6ImJsb2Jfa2V5In19--83d8e9d0bfad46996ac2204812b590a0030ad826/IMGE-Social-Share.png +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA4WiIsInB1ciI6ImJsb2Jfa2V5In19--2120669ace1cf0c2db2939c21e186fe801f96c58/IMGE-Social-Share.png +Completed 302 Found in 13ms (ActiveRecord: 0.4ms | Allocations: 7319) + + +Completed 302 Found in 4ms (ActiveRecord: 0.1ms | Allocations: 2903) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS43MDNaIiwicHVyIjoiYmxvYl9rZXkifX0=--af2e1697c93405b819da6d5ec539008234c8d1ef/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:41:39 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA4WiIsInB1ciI6ImJsb2Jfa2V5In19--2120669ace1cf0c2db2939c21e186fe801f96c58/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:41:39 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA2WiIsInB1ciI6ImJsb2Jfa2V5In19--83d8e9d0bfad46996ac2204812b590a0030ad826/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:41:39 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 323) + + +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 922) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS42OTJaIiwicHVyIjoiYmxvYl9rZXkifX0=--ae466ba97362aaeb8a7f5806905c035451eba1ad/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:41:39 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started GET "/" for 127.0.0.1 at 2021-12-12 16:44:08 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 29.6ms | Allocations: 10902) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 78) + Rendered layout layouts/application.html.erb (Duration: 38.4ms | Allocations: 14606) +Completed 200 OK in 41ms (Views: 37.4ms | ActiveRecord: 1.7ms | Allocations: 15095) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS42OTJaIiwicHVyIjoiYmxvYl9rZXkifX0=--ae466ba97362aaeb8a7f5806905c035451eba1ad/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:44:08 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA4WiIsInB1ciI6ImJsb2Jfa2V5In19--2120669ace1cf0c2db2939c21e186fe801f96c58/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:44:08 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS43MDNaIiwicHVyIjoiYmxvYl9rZXkifX0=--af2e1697c93405b819da6d5ec539008234c8d1ef/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:44:08 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA2WiIsInB1ciI6ImJsb2Jfa2V5In19--83d8e9d0bfad46996ac2204812b590a0030ad826/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:44:08 +0000 +Processing by ActiveStorage::DiskController#show as JPEG +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as PNG +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 325) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as JPEG +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 606) + + +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 372) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 353) + + +Started GET "/posts/new" for 127.0.0.1 at 2021-12-12 16:44:13 +0000 +Processing by PostsController#new as HTML + Rendering layout layouts/application.html.erb + Rendering posts/new.html.erb within layouts/application + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/new.html.erb:7 + Rendered posts/new.html.erb within layouts/application (Duration: 21.7ms | Allocations: 4989) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.2ms | Allocations: 83) + Rendered layout layouts/application.html.erb (Duration: 28.2ms | Allocations: 8690) +Completed 200 OK in 30ms (Views: 28.4ms | ActiveRecord: 0.3ms | Allocations: 9348) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS42OTJaIiwicHVyIjoiYmxvYl9rZXkifX0=--ae466ba97362aaeb8a7f5806905c035451eba1ad/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:44:13 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA4WiIsInB1ciI6ImJsb2Jfa2V5In19--2120669ace1cf0c2db2939c21e186fe801f96c58/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:44:13 +0000 +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 1076) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA2WiIsInB1ciI6ImJsb2Jfa2V5In19--83d8e9d0bfad46996ac2204812b590a0030ad826/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:44:13 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 333) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS43MDNaIiwicHVyIjoiYmxvYl9rZXkifX0=--af2e1697c93405b819da6d5ec539008234c8d1ef/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:44:13 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 481) + + +Started POST "/posts" for 127.0.0.1 at 2021-12-12 16:44:19 +0000 +Processing by PostsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "post"=>{"caption"=>"image", "image"=>#, @original_filename="IMGE-Social-Share.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"post[image]\"; filename=\"IMGE-Social-Share.png\"\r\nContent-Type: image/png\r\n">, "user_id"=>"1"}, "commit"=>"Submit"} +Unpermitted parameter: :user_id + TRANSACTION (0.2ms) begin transaction + ↳ app/controllers/posts_controller.rb:7:in `create' + Post Create (0.7ms) INSERT INTO "posts" ("caption", "created_at", "updated_at") VALUES (?, ?, ?) [["caption", "image"], ["created_at", "2021-12-12 16:44:19.051711"], ["updated_at", "2021-12-12 16:44:19.051711"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" INNER JOIN "active_storage_attachments" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 6], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 6], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Blob Create (0.2ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "service_name", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["key", "0lvh3s8gud0jj4g971k24mcaqluq"], ["filename", "IMGE-Social-Share.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["service_name", "local"], ["byte_size", 7778], ["checksum", "sHUX3dF1YxlzK0DX+702Uw=="], ["created_at", "2021-12-12 16:44:19.071654"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + ActiveStorage::Attachment Create (0.2ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "image"], ["record_type", "Post"], ["record_id", 6], ["blob_id", 5], ["created_at", "2021-12-12 16:44:19.074430"]] + ↳ app/controllers/posts_controller.rb:7:in `create' + Post Update (0.1ms) UPDATE "posts" SET "updated_at" = ? WHERE "posts"."id" = ? [["updated_at", "2021-12-12 16:44:19.076233"], ["id", 6]] + ↳ app/controllers/posts_controller.rb:7:in `create' + TRANSACTION (0.9ms) commit transaction + ↳ app/controllers/posts_controller.rb:7:in `create' + Disk Storage (0.8ms) Uploaded file to key: 0lvh3s8gud0jj4g971k24mcaqluq (checksum: sHUX3dF1YxlzK0DX+702Uw==) +[ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: e9e77a81-7773-4bbd-9c0a-03bb7ccaf161) to Async(default) with arguments: #> +Redirected to http://127.0.0.1:3000/posts +Completed 302 Found in 37ms (ActiveRecord: 2.4ms | Allocations: 14819) + + + ActiveStorage::Blob Load (0.1ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] +[ActiveJob] [ActiveStorage::AnalyzeJob] [e9e77a81-7773-4bbd-9c0a-03bb7ccaf161] Performing ActiveStorage::AnalyzeJob (Job ID: e9e77a81-7773-4bbd-9c0a-03bb7ccaf161) from Async(default) enqueued at 2021-12-12T16:44:19Z with arguments: #> +[ActiveJob] [ActiveStorage::AnalyzeJob] [e9e77a81-7773-4bbd-9c0a-03bb7ccaf161]  Disk Storage (0.1ms) Downloaded file from key: 0lvh3s8gud0jj4g971k24mcaqluq +[ActiveJob] [ActiveStorage::AnalyzeJob] [e9e77a81-7773-4bbd-9c0a-03bb7ccaf161] Skipping image analysis because the mini_magick gem isn't installed +[ActiveJob] [ActiveStorage::AnalyzeJob] [e9e77a81-7773-4bbd-9c0a-03bb7ccaf161] TRANSACTION (0.1ms) begin transaction +[ActiveJob] [ActiveStorage::AnalyzeJob] [e9e77a81-7773-4bbd-9c0a-03bb7ccaf161] ActiveStorage::Blob Update (0.3ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 5]] +[ActiveJob] [ActiveStorage::AnalyzeJob] [e9e77a81-7773-4bbd-9c0a-03bb7ccaf161] TRANSACTION (0.4ms) commit transaction +[ActiveJob] [ActiveStorage::AnalyzeJob] [e9e77a81-7773-4bbd-9c0a-03bb7ccaf161] Performed ActiveStorage::AnalyzeJob (Job ID: e9e77a81-7773-4bbd-9c0a-03bb7ccaf161) from Async(default) in 7.5ms +Started GET "/posts" for 127.0.0.1 at 2021-12-12 16:44:19 +0000 +Processing by PostsController#index as HTML + Rendering layout layouts/application.html.erb + Rendering posts/index.html.erb within layouts/application + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:1 + Post Load (0.1ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."created_at" DESC + ↳ app/views/posts/index.html.erb:8 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 6], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 5], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 4], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 4], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 3], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 2], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + ActiveStorage::Blob Load (0.0ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:12 + ActiveStorage::Attachment Load (0.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 1], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/index.html.erb:11 + Rendered posts/index.html.erb within layouts/application (Duration: 14.4ms | Allocations: 13152) +[Webpacker] Everything's up-to-date. Nothing to do + Rendered shared/_navbar.html.erb (Duration: 0.1ms | Allocations: 80) + Rendered layout layouts/application.html.erb (Duration: 17.8ms | Allocations: 16992) +Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 0.7ms | Allocations: 17585) + + +Started GET "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2246de9c69612d8b3bc52a27ed03e683afdf4bb6/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:44:19 +0000 +Processing by ActiveStorage::Blobs::RedirectController#show as PNG + Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2246de9c69612d8b3bc52a27ed03e683afdf4bb6", "filename"=>"IMGE-Social-Share"} + ActiveStorage::Blob Load (0.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + Disk Storage (0.5ms) Generated URL for file at key: 0lvh3s8gud0jj4g971k24mcaqluq (http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhNR3gyYUROek9HZDFaREJxYWpSbk9UY3hhekkwYldOaGNXeDFjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDk6MTkuMTY5WiIsInB1ciI6ImJsb2Jfa2V5In19--2d47260e7a1b8f76299f636425047a9c0761291c/IMGE-Social-Share.png) +Redirected to http://127.0.0.1:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhNR3gyYUROek9HZDFaREJxYWpSbk9UY3hhekkwYldOaGNXeDFjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDk6MTkuMTY5WiIsInB1ciI6ImJsb2Jfa2V5In19--2d47260e7a1b8f76299f636425047a9c0761291c/IMGE-Social-Share.png +Completed 302 Found in 5ms (ActiveRecord: 0.3ms | Allocations: 2696) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS42OTJaIiwicHVyIjoiYmxvYl9rZXkifX0=--ae466ba97362aaeb8a7f5806905c035451eba1ad/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:44:19 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA4WiIsInB1ciI6ImJsb2Jfa2V5In19--2120669ace1cf0c2db2939c21e186fe801f96c58/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:44:19 +0000 +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS43MDNaIiwicHVyIjoiYmxvYl9rZXkifX0=--af2e1697c93405b819da6d5ec539008234c8d1ef/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:44:19 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Processing by ActiveStorage::DiskController#show as PNG +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 1581) + + +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 318) + + + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhNR3gyYUROek9HZDFaREJxYWpSbk9UY3hhekkwYldOaGNXeDFjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDk6MTkuMTY5WiIsInB1ciI6ImJsb2Jfa2V5In19--2d47260e7a1b8f76299f636425047a9c0761291c/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:44:19 +0000 +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 998) + + +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 500) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA2WiIsInB1ciI6ImJsb2Jfa2V5In19--83d8e9d0bfad46996ac2204812b590a0030ad826/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:44:19 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started GET "/posts/6" for 127.0.0.1 at 2021-12-12 16:44:20 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"6"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 6], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 6]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of templates [0 times] (Duration: 0.1ms | Allocations: 23) + Rendered comments/_form.html.erb (Duration: 1.7ms | Allocations: 699) + Rendered posts/show.html.erb within layouts/application (Duration: 12.8ms | Allocations: 3697) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 1.8ms | Allocations: 969) + Rendered layout layouts/application.html.erb (Duration: 21.5ms | Allocations: 8904) +Completed 200 OK in 24ms (Views: 21.2ms | ActiveRecord: 1.0ms | Allocations: 9920) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhNR3gyYUROek9HZDFaREJxYWpSbk9UY3hhekkwYldOaGNXeDFjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDk6MTkuMTY5WiIsInB1ciI6ImJsb2Jfa2V5In19--2d47260e7a1b8f76299f636425047a9c0761291c/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:44:20 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhORFJrTlRacmRtbGthbkppZFdkaWJtZzJlWHBtYlhsck5IVnlNQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS42OTJaIiwicHVyIjoiYmxvYl9rZXkifX0=--ae466ba97362aaeb8a7f5806905c035451eba1ad/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:44:20 +0000 +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhkM0psWVRGbGNHdGpaR1pwTTJZeWFtcGhOMk5wT1dGeGFqTXdjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA4WiIsInB1ciI6ImJsb2Jfa2V5In19--2120669ace1cf0c2db2939c21e186fe801f96c58/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:44:20 +0000 +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 1163) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhPSEp4TW0xbmNYSnVhRFZuT1drd09UWjROMm80Y0hab2JIRjJiQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDY6MzkuNzA2WiIsInB1ciI6ImJsb2Jfa2V5In19--83d8e9d0bfad46996ac2204812b590a0030ad826/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:44:20 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 354) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjemMyYkdJMmRYRmxNVzkyY1c1bU5HSnVhbnBrYUdKeWNtdzBZd1k2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUVdsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SW0xdmJtdGxlUzVxY0dWbklqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZHRiMjVyWlhrdWFuQmxad1k3QmxRNkVXTnZiblJsYm5SZmRIbHdaVWtpRDJsdFlXZGxMMnB3WldjR093WlVPaEZ6WlhKMmFXTmxYMjVoYldVNkNteHZZMkZzIiwiZXhwIjoiMjAyMS0xMi0xMlQxNjo0NjozOS43MDNaIiwicHVyIjoiYmxvYl9rZXkifX0=--af2e1697c93405b819da6d5ec539008234c8d1ef/monkey.jpeg" for 127.0.0.1 at 2021-12-12 16:44:20 +0000 +Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Allocations: 344) + + +Processing by ActiveStorage::DiskController#show as JPEG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"monkey"} +Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Allocations: 319) + + +Started POST "/posts/6/comments" for 127.0.0.1 at 2021-12-12 16:44:26 +0000 +Processing by CommentsController#create as HTML + Parameters: {"authenticity_token"=>"[FILTERED]", "comment"=>{"comment"=>"comment"}, "commit"=>"Create Comment", "post_id"=>"6"} + Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/comments_controller.rb:3:in `create' + TRANSACTION (0.1ms) begin transaction + ↳ app/controllers/comments_controller.rb:4:in `create' + Comment Create (0.7ms) INSERT INTO "comments" ("comment", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["comment", "comment"], ["post_id", 6], ["created_at", "2021-12-12 16:44:26.203526"], ["updated_at", "2021-12-12 16:44:26.203526"]] + ↳ app/controllers/comments_controller.rb:4:in `create' + TRANSACTION (1.3ms) commit transaction + ↳ app/controllers/comments_controller.rb:4:in `create' +Redirected to http://127.0.0.1:3000/posts/6 +Completed 302 Found in 12ms (ActiveRecord: 2.2ms | Allocations: 3357) + + +Started GET "/posts/6" for 127.0.0.1 at 2021-12-12 16:44:26 +0000 +Processing by PostsController#show as HTML + Parameters: {"id"=>"6"} + Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]] + ↳ app/controllers/posts_controller.rb:16:in `show' + Rendering layout layouts/application.html.erb + Rendering posts/show.html.erb within layouts/application + ActiveStorage::Attachment Load (0.2ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = ? AND "active_storage_attachments"."record_type" = ? AND "active_storage_attachments"."name" = ? LIMIT ? [["record_id", 6], ["record_type", "Post"], ["name", "image"], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:2 + ActiveStorage::Blob Load (0.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] + ↳ app/views/posts/show.html.erb:3 + Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 6]] + ↳ app/views/posts/show.html.erb:7 + Rendered collection of comments/_comment.html.erb [1 times] (Duration: 0.2ms | Allocations: 77) + Rendered comments/_form.html.erb (Duration: 1.5ms | Allocations: 630) + Rendered posts/show.html.erb within layouts/application (Duration: 11.4ms | Allocations: 3715) +[Webpacker] Everything's up-to-date. Nothing to do + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] + ↳ app/views/shared/_navbar.html.erb:9 + Rendered shared/_navbar.html.erb (Duration: 2.7ms | Allocations: 969) + Rendered layout layouts/application.html.erb (Duration: 21.2ms | Allocations: 8291) +Completed 200 OK in 25ms (Views: 20.9ms | ActiveRecord: 1.1ms | Allocations: 9287) + + +Started GET "/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhNR3gyYUROek9HZDFaREJxYWpSbk9UY3hhekkwYldOaGNXeDFjUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpVldsdWJHbHVaVHNnWm1sc1pXNWhiV1U5SWtsTlIwVXRVMjlqYVdGc0xWTm9ZWEpsTG5CdVp5STdJR1pwYkdWdVlXMWxLajFWVkVZdE9DY25TVTFIUlMxVGIyTnBZV3d0VTJoaGNtVXVjRzVuQmpzR1ZEb1JZMjl1ZEdWdWRGOTBlWEJsU1NJT2FXMWhaMlV2Y0c1bkJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ncHNiMk5oYkE9PSIsImV4cCI6IjIwMjEtMTItMTJUMTY6NDk6MTkuMTY5WiIsInB1ciI6ImJsb2Jfa2V5In19--2d47260e7a1b8f76299f636425047a9c0761291c/IMGE-Social-Share.png" for 127.0.0.1 at 2021-12-12 16:44:26 +0000 +Processing by ActiveStorage::DiskController#show as PNG + Parameters: {"encoded_key"=>"[FILTERED]", "filename"=>"IMGE-Social-Share"} +Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Allocations: 318) + + diff --git a/package.json b/package.json new file mode 100644 index 0000000000..b45f9dddc1 --- /dev/null +++ b/package.json @@ -0,0 +1,17 @@ +{ + "name": "instagram-challenge", + "private": true, + "dependencies": { + "@rails/actioncable": "^6.0.0", + "@rails/activestorage": "^6.0.0", + "@rails/ujs": "^6.0.0", + "@rails/webpacker": "5.4.3", + "turbolinks": "^5.2.0", + "webpack": "^4.46.0", + "webpack-cli": "^3.3.12" + }, + "version": "0.1.0", + "devDependencies": { + "webpack-dev-server": "^3" + } +} diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000000..aa5998a809 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,12 @@ +module.exports = { + plugins: [ + require('postcss-import'), + require('postcss-flexbugs-fixes'), + require('postcss-preset-env')({ + autoprefixer: { + flexbox: 'no-2009' + }, + stage: 3 + }) + ] +} diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000000..2be3af26fc --- /dev/null +++ b/public/404.html @@ -0,0 +1,67 @@ + + + + The page you were looking for doesn't exist (404) + + + + + + +
+
+

The page you were looking for doesn't exist.

+

You may have mistyped the address or the page may have moved.

+
+

If you are the application owner check the logs for more information.

+
+ + diff --git a/public/422.html b/public/422.html new file mode 100644 index 0000000000..c08eac0d1d --- /dev/null +++ b/public/422.html @@ -0,0 +1,67 @@ + + + + The change you wanted was rejected (422) + + + + + + +
+
+

The change you wanted was rejected.

+

Maybe you tried to change something you didn't have access to.

+
+

If you are the application owner check the logs for more information.

+
+ + diff --git a/public/500.html b/public/500.html new file mode 100644 index 0000000000..78a030af22 --- /dev/null +++ b/public/500.html @@ -0,0 +1,66 @@ + + + + We're sorry, but something went wrong (500) + + + + + + +
+
+

We're sorry, but something went wrong.

+
+

If you are the application owner check the logs for more information.

+
+ + diff --git a/public/apple-touch-icon-precomposed.png b/public/apple-touch-icon-precomposed.png new file mode 100644 index 0000000000..e69de29bb2 diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100644 index 0000000000..e69de29bb2 diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000000..e69de29bb2 diff --git a/public/packs/js/application-e421b4aa3f716bebdab1.js b/public/packs/js/application-e421b4aa3f716bebdab1.js new file mode 100644 index 0000000000..e23710f498 --- /dev/null +++ b/public/packs/js/application-e421b4aa3f716bebdab1.js @@ -0,0 +1,3248 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = "/packs/"; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app/javascript/packs/application.js"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app/javascript/channels sync recursive _channel\\.js$": +/*!****************************************************!*\ + !*** ./app/javascript/channels sync _channel\.js$ ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +function webpackEmptyContext(req) { + var e = new Error("Cannot find module '" + req + "'"); + e.code = 'MODULE_NOT_FOUND'; + throw e; +} +webpackEmptyContext.keys = function() { return []; }; +webpackEmptyContext.resolve = webpackEmptyContext; +module.exports = webpackEmptyContext; +webpackEmptyContext.id = "./app/javascript/channels sync recursive _channel\\.js$"; + +/***/ }), + +/***/ "./app/javascript/channels/index.js": +/*!******************************************!*\ + !*** ./app/javascript/channels/index.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +// Load all the channels within this directory and all subdirectories. +// Channel files must be named *_channel.js. +var channels = __webpack_require__("./app/javascript/channels sync recursive _channel\\.js$"); + +channels.keys().forEach(channels); + +/***/ }), + +/***/ "./app/javascript/packs/application.js": +/*!*********************************************!*\ + !*** ./app/javascript/packs/application.js ***! + \*********************************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _rails_ujs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @rails/ujs */ "./node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js"); +/* harmony import */ var _rails_ujs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_rails_ujs__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var turbolinks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! turbolinks */ "./node_modules/turbolinks/dist/turbolinks.js"); +/* harmony import */ var turbolinks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(turbolinks__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _rails_activestorage__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @rails/activestorage */ "./node_modules/@rails/activestorage/app/assets/javascripts/activestorage.js"); +/* harmony import */ var _rails_activestorage__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_rails_activestorage__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var channels__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! channels */ "./app/javascript/channels/index.js"); +/* harmony import */ var channels__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(channels__WEBPACK_IMPORTED_MODULE_3__); +// This file is automatically compiled by Webpack, along with any other files +// present in this directory. You're encouraged to place your actual application logic in +// a relevant structure within app/javascript and only use these pack files to reference +// that code so it'll be compiled. + + + + +_rails_ujs__WEBPACK_IMPORTED_MODULE_0___default.a.start(); +turbolinks__WEBPACK_IMPORTED_MODULE_1___default.a.start(); +_rails_activestorage__WEBPACK_IMPORTED_MODULE_2__["start"](); + +/***/ }), + +/***/ "./node_modules/@rails/activestorage/app/assets/javascripts/activestorage.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@rails/activestorage/app/assets/javascripts/activestorage.js ***! + \***********************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +(function (global, factory) { + ( false ? undefined : _typeof(exports)) === "object" && typeof module !== "undefined" ? factory(exports) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), + __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? + (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined; +})(this, function (exports) { + "use strict"; + + function createCommonjsModule(fn, module) { + return module = { + exports: {} + }, fn(module, module.exports), module.exports; + } + + var sparkMd5 = createCommonjsModule(function (module, exports) { + (function (factory) { + { + module.exports = factory(); + } + })(function (undefined) { + var hex_chr = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]; + + function md5cycle(x, k) { + var a = x[0], + b = x[1], + c = x[2], + d = x[3]; + a += (b & c | ~b & d) + k[0] - 680876936 | 0; + a = (a << 7 | a >>> 25) + b | 0; + d += (a & b | ~a & c) + k[1] - 389564586 | 0; + d = (d << 12 | d >>> 20) + a | 0; + c += (d & a | ~d & b) + k[2] + 606105819 | 0; + c = (c << 17 | c >>> 15) + d | 0; + b += (c & d | ~c & a) + k[3] - 1044525330 | 0; + b = (b << 22 | b >>> 10) + c | 0; + a += (b & c | ~b & d) + k[4] - 176418897 | 0; + a = (a << 7 | a >>> 25) + b | 0; + d += (a & b | ~a & c) + k[5] + 1200080426 | 0; + d = (d << 12 | d >>> 20) + a | 0; + c += (d & a | ~d & b) + k[6] - 1473231341 | 0; + c = (c << 17 | c >>> 15) + d | 0; + b += (c & d | ~c & a) + k[7] - 45705983 | 0; + b = (b << 22 | b >>> 10) + c | 0; + a += (b & c | ~b & d) + k[8] + 1770035416 | 0; + a = (a << 7 | a >>> 25) + b | 0; + d += (a & b | ~a & c) + k[9] - 1958414417 | 0; + d = (d << 12 | d >>> 20) + a | 0; + c += (d & a | ~d & b) + k[10] - 42063 | 0; + c = (c << 17 | c >>> 15) + d | 0; + b += (c & d | ~c & a) + k[11] - 1990404162 | 0; + b = (b << 22 | b >>> 10) + c | 0; + a += (b & c | ~b & d) + k[12] + 1804603682 | 0; + a = (a << 7 | a >>> 25) + b | 0; + d += (a & b | ~a & c) + k[13] - 40341101 | 0; + d = (d << 12 | d >>> 20) + a | 0; + c += (d & a | ~d & b) + k[14] - 1502002290 | 0; + c = (c << 17 | c >>> 15) + d | 0; + b += (c & d | ~c & a) + k[15] + 1236535329 | 0; + b = (b << 22 | b >>> 10) + c | 0; + a += (b & d | c & ~d) + k[1] - 165796510 | 0; + a = (a << 5 | a >>> 27) + b | 0; + d += (a & c | b & ~c) + k[6] - 1069501632 | 0; + d = (d << 9 | d >>> 23) + a | 0; + c += (d & b | a & ~b) + k[11] + 643717713 | 0; + c = (c << 14 | c >>> 18) + d | 0; + b += (c & a | d & ~a) + k[0] - 373897302 | 0; + b = (b << 20 | b >>> 12) + c | 0; + a += (b & d | c & ~d) + k[5] - 701558691 | 0; + a = (a << 5 | a >>> 27) + b | 0; + d += (a & c | b & ~c) + k[10] + 38016083 | 0; + d = (d << 9 | d >>> 23) + a | 0; + c += (d & b | a & ~b) + k[15] - 660478335 | 0; + c = (c << 14 | c >>> 18) + d | 0; + b += (c & a | d & ~a) + k[4] - 405537848 | 0; + b = (b << 20 | b >>> 12) + c | 0; + a += (b & d | c & ~d) + k[9] + 568446438 | 0; + a = (a << 5 | a >>> 27) + b | 0; + d += (a & c | b & ~c) + k[14] - 1019803690 | 0; + d = (d << 9 | d >>> 23) + a | 0; + c += (d & b | a & ~b) + k[3] - 187363961 | 0; + c = (c << 14 | c >>> 18) + d | 0; + b += (c & a | d & ~a) + k[8] + 1163531501 | 0; + b = (b << 20 | b >>> 12) + c | 0; + a += (b & d | c & ~d) + k[13] - 1444681467 | 0; + a = (a << 5 | a >>> 27) + b | 0; + d += (a & c | b & ~c) + k[2] - 51403784 | 0; + d = (d << 9 | d >>> 23) + a | 0; + c += (d & b | a & ~b) + k[7] + 1735328473 | 0; + c = (c << 14 | c >>> 18) + d | 0; + b += (c & a | d & ~a) + k[12] - 1926607734 | 0; + b = (b << 20 | b >>> 12) + c | 0; + a += (b ^ c ^ d) + k[5] - 378558 | 0; + a = (a << 4 | a >>> 28) + b | 0; + d += (a ^ b ^ c) + k[8] - 2022574463 | 0; + d = (d << 11 | d >>> 21) + a | 0; + c += (d ^ a ^ b) + k[11] + 1839030562 | 0; + c = (c << 16 | c >>> 16) + d | 0; + b += (c ^ d ^ a) + k[14] - 35309556 | 0; + b = (b << 23 | b >>> 9) + c | 0; + a += (b ^ c ^ d) + k[1] - 1530992060 | 0; + a = (a << 4 | a >>> 28) + b | 0; + d += (a ^ b ^ c) + k[4] + 1272893353 | 0; + d = (d << 11 | d >>> 21) + a | 0; + c += (d ^ a ^ b) + k[7] - 155497632 | 0; + c = (c << 16 | c >>> 16) + d | 0; + b += (c ^ d ^ a) + k[10] - 1094730640 | 0; + b = (b << 23 | b >>> 9) + c | 0; + a += (b ^ c ^ d) + k[13] + 681279174 | 0; + a = (a << 4 | a >>> 28) + b | 0; + d += (a ^ b ^ c) + k[0] - 358537222 | 0; + d = (d << 11 | d >>> 21) + a | 0; + c += (d ^ a ^ b) + k[3] - 722521979 | 0; + c = (c << 16 | c >>> 16) + d | 0; + b += (c ^ d ^ a) + k[6] + 76029189 | 0; + b = (b << 23 | b >>> 9) + c | 0; + a += (b ^ c ^ d) + k[9] - 640364487 | 0; + a = (a << 4 | a >>> 28) + b | 0; + d += (a ^ b ^ c) + k[12] - 421815835 | 0; + d = (d << 11 | d >>> 21) + a | 0; + c += (d ^ a ^ b) + k[15] + 530742520 | 0; + c = (c << 16 | c >>> 16) + d | 0; + b += (c ^ d ^ a) + k[2] - 995338651 | 0; + b = (b << 23 | b >>> 9) + c | 0; + a += (c ^ (b | ~d)) + k[0] - 198630844 | 0; + a = (a << 6 | a >>> 26) + b | 0; + d += (b ^ (a | ~c)) + k[7] + 1126891415 | 0; + d = (d << 10 | d >>> 22) + a | 0; + c += (a ^ (d | ~b)) + k[14] - 1416354905 | 0; + c = (c << 15 | c >>> 17) + d | 0; + b += (d ^ (c | ~a)) + k[5] - 57434055 | 0; + b = (b << 21 | b >>> 11) + c | 0; + a += (c ^ (b | ~d)) + k[12] + 1700485571 | 0; + a = (a << 6 | a >>> 26) + b | 0; + d += (b ^ (a | ~c)) + k[3] - 1894986606 | 0; + d = (d << 10 | d >>> 22) + a | 0; + c += (a ^ (d | ~b)) + k[10] - 1051523 | 0; + c = (c << 15 | c >>> 17) + d | 0; + b += (d ^ (c | ~a)) + k[1] - 2054922799 | 0; + b = (b << 21 | b >>> 11) + c | 0; + a += (c ^ (b | ~d)) + k[8] + 1873313359 | 0; + a = (a << 6 | a >>> 26) + b | 0; + d += (b ^ (a | ~c)) + k[15] - 30611744 | 0; + d = (d << 10 | d >>> 22) + a | 0; + c += (a ^ (d | ~b)) + k[6] - 1560198380 | 0; + c = (c << 15 | c >>> 17) + d | 0; + b += (d ^ (c | ~a)) + k[13] + 1309151649 | 0; + b = (b << 21 | b >>> 11) + c | 0; + a += (c ^ (b | ~d)) + k[4] - 145523070 | 0; + a = (a << 6 | a >>> 26) + b | 0; + d += (b ^ (a | ~c)) + k[11] - 1120210379 | 0; + d = (d << 10 | d >>> 22) + a | 0; + c += (a ^ (d | ~b)) + k[2] + 718787259 | 0; + c = (c << 15 | c >>> 17) + d | 0; + b += (d ^ (c | ~a)) + k[9] - 343485551 | 0; + b = (b << 21 | b >>> 11) + c | 0; + x[0] = a + x[0] | 0; + x[1] = b + x[1] | 0; + x[2] = c + x[2] | 0; + x[3] = d + x[3] | 0; + } + + function md5blk(s) { + var md5blks = [], + i; + + for (i = 0; i < 64; i += 4) { + md5blks[i >> 2] = s.charCodeAt(i) + (s.charCodeAt(i + 1) << 8) + (s.charCodeAt(i + 2) << 16) + (s.charCodeAt(i + 3) << 24); + } + + return md5blks; + } + + function md5blk_array(a) { + var md5blks = [], + i; + + for (i = 0; i < 64; i += 4) { + md5blks[i >> 2] = a[i] + (a[i + 1] << 8) + (a[i + 2] << 16) + (a[i + 3] << 24); + } + + return md5blks; + } + + function md51(s) { + var n = s.length, + state = [1732584193, -271733879, -1732584194, 271733878], + i, + length, + tail, + tmp, + lo, + hi; + + for (i = 64; i <= n; i += 64) { + md5cycle(state, md5blk(s.substring(i - 64, i))); + } + + s = s.substring(i - 64); + length = s.length; + tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; + + for (i = 0; i < length; i += 1) { + tail[i >> 2] |= s.charCodeAt(i) << (i % 4 << 3); + } + + tail[i >> 2] |= 128 << (i % 4 << 3); + + if (i > 55) { + md5cycle(state, tail); + + for (i = 0; i < 16; i += 1) { + tail[i] = 0; + } + } + + tmp = n * 8; + tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/); + lo = parseInt(tmp[2], 16); + hi = parseInt(tmp[1], 16) || 0; + tail[14] = lo; + tail[15] = hi; + md5cycle(state, tail); + return state; + } + + function md51_array(a) { + var n = a.length, + state = [1732584193, -271733879, -1732584194, 271733878], + i, + length, + tail, + tmp, + lo, + hi; + + for (i = 64; i <= n; i += 64) { + md5cycle(state, md5blk_array(a.subarray(i - 64, i))); + } + + a = i - 64 < n ? a.subarray(i - 64) : new Uint8Array(0); + length = a.length; + tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; + + for (i = 0; i < length; i += 1) { + tail[i >> 2] |= a[i] << (i % 4 << 3); + } + + tail[i >> 2] |= 128 << (i % 4 << 3); + + if (i > 55) { + md5cycle(state, tail); + + for (i = 0; i < 16; i += 1) { + tail[i] = 0; + } + } + + tmp = n * 8; + tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/); + lo = parseInt(tmp[2], 16); + hi = parseInt(tmp[1], 16) || 0; + tail[14] = lo; + tail[15] = hi; + md5cycle(state, tail); + return state; + } + + function rhex(n) { + var s = "", + j; + + for (j = 0; j < 4; j += 1) { + s += hex_chr[n >> j * 8 + 4 & 15] + hex_chr[n >> j * 8 & 15]; + } + + return s; + } + + function hex(x) { + var i; + + for (i = 0; i < x.length; i += 1) { + x[i] = rhex(x[i]); + } + + return x.join(""); + } + + if (hex(md51("hello")) !== "5d41402abc4b2a76b9719d911017c592") ; + + if (typeof ArrayBuffer !== "undefined" && !ArrayBuffer.prototype.slice) { + (function () { + function clamp(val, length) { + val = val | 0 || 0; + + if (val < 0) { + return Math.max(val + length, 0); + } + + return Math.min(val, length); + } + + ArrayBuffer.prototype.slice = function (from, to) { + var length = this.byteLength, + begin = clamp(from, length), + end = length, + num, + target, + targetArray, + sourceArray; + + if (to !== undefined) { + end = clamp(to, length); + } + + if (begin > end) { + return new ArrayBuffer(0); + } + + num = end - begin; + target = new ArrayBuffer(num); + targetArray = new Uint8Array(target); + sourceArray = new Uint8Array(this, begin, num); + targetArray.set(sourceArray); + return target; + }; + })(); + } + + function toUtf8(str) { + if (/[\u0080-\uFFFF]/.test(str)) { + str = unescape(encodeURIComponent(str)); + } + + return str; + } + + function utf8Str2ArrayBuffer(str, returnUInt8Array) { + var length = str.length, + buff = new ArrayBuffer(length), + arr = new Uint8Array(buff), + i; + + for (i = 0; i < length; i += 1) { + arr[i] = str.charCodeAt(i); + } + + return returnUInt8Array ? arr : buff; + } + + function arrayBuffer2Utf8Str(buff) { + return String.fromCharCode.apply(null, new Uint8Array(buff)); + } + + function concatenateArrayBuffers(first, second, returnUInt8Array) { + var result = new Uint8Array(first.byteLength + second.byteLength); + result.set(new Uint8Array(first)); + result.set(new Uint8Array(second), first.byteLength); + return returnUInt8Array ? result : result.buffer; + } + + function hexToBinaryString(hex) { + var bytes = [], + length = hex.length, + x; + + for (x = 0; x < length - 1; x += 2) { + bytes.push(parseInt(hex.substr(x, 2), 16)); + } + + return String.fromCharCode.apply(String, bytes); + } + + function SparkMD5() { + this.reset(); + } + + SparkMD5.prototype.append = function (str) { + this.appendBinary(toUtf8(str)); + return this; + }; + + SparkMD5.prototype.appendBinary = function (contents) { + this._buff += contents; + this._length += contents.length; + var length = this._buff.length, + i; + + for (i = 64; i <= length; i += 64) { + md5cycle(this._hash, md5blk(this._buff.substring(i - 64, i))); + } + + this._buff = this._buff.substring(i - 64); + return this; + }; + + SparkMD5.prototype.end = function (raw) { + var buff = this._buff, + length = buff.length, + i, + tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + ret; + + for (i = 0; i < length; i += 1) { + tail[i >> 2] |= buff.charCodeAt(i) << (i % 4 << 3); + } + + this._finish(tail, length); + + ret = hex(this._hash); + + if (raw) { + ret = hexToBinaryString(ret); + } + + this.reset(); + return ret; + }; + + SparkMD5.prototype.reset = function () { + this._buff = ""; + this._length = 0; + this._hash = [1732584193, -271733879, -1732584194, 271733878]; + return this; + }; + + SparkMD5.prototype.getState = function () { + return { + buff: this._buff, + length: this._length, + hash: this._hash + }; + }; + + SparkMD5.prototype.setState = function (state) { + this._buff = state.buff; + this._length = state.length; + this._hash = state.hash; + return this; + }; + + SparkMD5.prototype.destroy = function () { + delete this._hash; + delete this._buff; + delete this._length; + }; + + SparkMD5.prototype._finish = function (tail, length) { + var i = length, + tmp, + lo, + hi; + tail[i >> 2] |= 128 << (i % 4 << 3); + + if (i > 55) { + md5cycle(this._hash, tail); + + for (i = 0; i < 16; i += 1) { + tail[i] = 0; + } + } + + tmp = this._length * 8; + tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/); + lo = parseInt(tmp[2], 16); + hi = parseInt(tmp[1], 16) || 0; + tail[14] = lo; + tail[15] = hi; + md5cycle(this._hash, tail); + }; + + SparkMD5.hash = function (str, raw) { + return SparkMD5.hashBinary(toUtf8(str), raw); + }; + + SparkMD5.hashBinary = function (content, raw) { + var hash = md51(content), + ret = hex(hash); + return raw ? hexToBinaryString(ret) : ret; + }; + + SparkMD5.ArrayBuffer = function () { + this.reset(); + }; + + SparkMD5.ArrayBuffer.prototype.append = function (arr) { + var buff = concatenateArrayBuffers(this._buff.buffer, arr, true), + length = buff.length, + i; + this._length += arr.byteLength; + + for (i = 64; i <= length; i += 64) { + md5cycle(this._hash, md5blk_array(buff.subarray(i - 64, i))); + } + + this._buff = i - 64 < length ? new Uint8Array(buff.buffer.slice(i - 64)) : new Uint8Array(0); + return this; + }; + + SparkMD5.ArrayBuffer.prototype.end = function (raw) { + var buff = this._buff, + length = buff.length, + tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + i, + ret; + + for (i = 0; i < length; i += 1) { + tail[i >> 2] |= buff[i] << (i % 4 << 3); + } + + this._finish(tail, length); + + ret = hex(this._hash); + + if (raw) { + ret = hexToBinaryString(ret); + } + + this.reset(); + return ret; + }; + + SparkMD5.ArrayBuffer.prototype.reset = function () { + this._buff = new Uint8Array(0); + this._length = 0; + this._hash = [1732584193, -271733879, -1732584194, 271733878]; + return this; + }; + + SparkMD5.ArrayBuffer.prototype.getState = function () { + var state = SparkMD5.prototype.getState.call(this); + state.buff = arrayBuffer2Utf8Str(state.buff); + return state; + }; + + SparkMD5.ArrayBuffer.prototype.setState = function (state) { + state.buff = utf8Str2ArrayBuffer(state.buff, true); + return SparkMD5.prototype.setState.call(this, state); + }; + + SparkMD5.ArrayBuffer.prototype.destroy = SparkMD5.prototype.destroy; + SparkMD5.ArrayBuffer.prototype._finish = SparkMD5.prototype._finish; + + SparkMD5.ArrayBuffer.hash = function (arr, raw) { + var hash = md51_array(new Uint8Array(arr)), + ret = hex(hash); + return raw ? hexToBinaryString(ret) : ret; + }; + + return SparkMD5; + }); + }); + + var classCallCheck = function classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + }; + + var createClass = function () { + function defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + return function (Constructor, protoProps, staticProps) { + if (protoProps) defineProperties(Constructor.prototype, protoProps); + if (staticProps) defineProperties(Constructor, staticProps); + return Constructor; + }; + }(); + + var fileSlice = File.prototype.slice || File.prototype.mozSlice || File.prototype.webkitSlice; + + var FileChecksum = function () { + createClass(FileChecksum, null, [{ + key: "create", + value: function create(file, callback) { + var instance = new FileChecksum(file); + instance.create(callback); + } + }]); + + function FileChecksum(file) { + classCallCheck(this, FileChecksum); + this.file = file; + this.chunkSize = 2097152; + this.chunkCount = Math.ceil(this.file.size / this.chunkSize); + this.chunkIndex = 0; + } + + createClass(FileChecksum, [{ + key: "create", + value: function create(callback) { + var _this = this; + + this.callback = callback; + this.md5Buffer = new sparkMd5.ArrayBuffer(); + this.fileReader = new FileReader(); + this.fileReader.addEventListener("load", function (event) { + return _this.fileReaderDidLoad(event); + }); + this.fileReader.addEventListener("error", function (event) { + return _this.fileReaderDidError(event); + }); + this.readNextChunk(); + } + }, { + key: "fileReaderDidLoad", + value: function fileReaderDidLoad(event) { + this.md5Buffer.append(event.target.result); + + if (!this.readNextChunk()) { + var binaryDigest = this.md5Buffer.end(true); + var base64digest = btoa(binaryDigest); + this.callback(null, base64digest); + } + } + }, { + key: "fileReaderDidError", + value: function fileReaderDidError(event) { + this.callback("Error reading " + this.file.name); + } + }, { + key: "readNextChunk", + value: function readNextChunk() { + if (this.chunkIndex < this.chunkCount || this.chunkIndex == 0 && this.chunkCount == 0) { + var start = this.chunkIndex * this.chunkSize; + var end = Math.min(start + this.chunkSize, this.file.size); + var bytes = fileSlice.call(this.file, start, end); + this.fileReader.readAsArrayBuffer(bytes); + this.chunkIndex++; + return true; + } else { + return false; + } + } + }]); + return FileChecksum; + }(); + + function getMetaValue(name) { + var element = findElement(document.head, 'meta[name="' + name + '"]'); + + if (element) { + return element.getAttribute("content"); + } + } + + function findElements(root, selector) { + if (typeof root == "string") { + selector = root; + root = document; + } + + var elements = root.querySelectorAll(selector); + return toArray$1(elements); + } + + function findElement(root, selector) { + if (typeof root == "string") { + selector = root; + root = document; + } + + return root.querySelector(selector); + } + + function dispatchEvent(element, type) { + var eventInit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var disabled = element.disabled; + var bubbles = eventInit.bubbles, + cancelable = eventInit.cancelable, + detail = eventInit.detail; + var event = document.createEvent("Event"); + event.initEvent(type, bubbles || true, cancelable || true); + event.detail = detail || {}; + + try { + element.disabled = false; + element.dispatchEvent(event); + } finally { + element.disabled = disabled; + } + + return event; + } + + function toArray$1(value) { + if (Array.isArray(value)) { + return value; + } else if (Array.from) { + return Array.from(value); + } else { + return [].slice.call(value); + } + } + + var BlobRecord = function () { + function BlobRecord(file, checksum, url) { + var _this = this; + + classCallCheck(this, BlobRecord); + this.file = file; + this.attributes = { + filename: file.name, + content_type: file.type || "application/octet-stream", + byte_size: file.size, + checksum: checksum + }; + this.xhr = new XMLHttpRequest(); + this.xhr.open("POST", url, true); + this.xhr.responseType = "json"; + this.xhr.setRequestHeader("Content-Type", "application/json"); + this.xhr.setRequestHeader("Accept", "application/json"); + this.xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); + var csrfToken = getMetaValue("csrf-token"); + + if (csrfToken != undefined) { + this.xhr.setRequestHeader("X-CSRF-Token", csrfToken); + } + + this.xhr.addEventListener("load", function (event) { + return _this.requestDidLoad(event); + }); + this.xhr.addEventListener("error", function (event) { + return _this.requestDidError(event); + }); + } + + createClass(BlobRecord, [{ + key: "create", + value: function create(callback) { + this.callback = callback; + this.xhr.send(JSON.stringify({ + blob: this.attributes + })); + } + }, { + key: "requestDidLoad", + value: function requestDidLoad(event) { + if (this.status >= 200 && this.status < 300) { + var response = this.response; + var direct_upload = response.direct_upload; + delete response.direct_upload; + this.attributes = response; + this.directUploadData = direct_upload; + this.callback(null, this.toJSON()); + } else { + this.requestDidError(event); + } + } + }, { + key: "requestDidError", + value: function requestDidError(event) { + this.callback('Error creating Blob for "' + this.file.name + '". Status: ' + this.status); + } + }, { + key: "toJSON", + value: function toJSON() { + var result = {}; + + for (var key in this.attributes) { + result[key] = this.attributes[key]; + } + + return result; + } + }, { + key: "status", + get: function get$$1() { + return this.xhr.status; + } + }, { + key: "response", + get: function get$$1() { + var _xhr = this.xhr, + responseType = _xhr.responseType, + response = _xhr.response; + + if (responseType == "json") { + return response; + } else { + return JSON.parse(response); + } + } + }]); + return BlobRecord; + }(); + + var BlobUpload = function () { + function BlobUpload(blob) { + var _this = this; + + classCallCheck(this, BlobUpload); + this.blob = blob; + this.file = blob.file; + var _blob$directUploadDat = blob.directUploadData, + url = _blob$directUploadDat.url, + headers = _blob$directUploadDat.headers; + this.xhr = new XMLHttpRequest(); + this.xhr.open("PUT", url, true); + this.xhr.responseType = "text"; + + for (var key in headers) { + this.xhr.setRequestHeader(key, headers[key]); + } + + this.xhr.addEventListener("load", function (event) { + return _this.requestDidLoad(event); + }); + this.xhr.addEventListener("error", function (event) { + return _this.requestDidError(event); + }); + } + + createClass(BlobUpload, [{ + key: "create", + value: function create(callback) { + this.callback = callback; + this.xhr.send(this.file.slice()); + } + }, { + key: "requestDidLoad", + value: function requestDidLoad(event) { + var _xhr = this.xhr, + status = _xhr.status, + response = _xhr.response; + + if (status >= 200 && status < 300) { + this.callback(null, response); + } else { + this.requestDidError(event); + } + } + }, { + key: "requestDidError", + value: function requestDidError(event) { + this.callback('Error storing "' + this.file.name + '". Status: ' + this.xhr.status); + } + }]); + return BlobUpload; + }(); + + var id = 0; + + var DirectUpload = function () { + function DirectUpload(file, url, delegate) { + classCallCheck(this, DirectUpload); + this.id = ++id; + this.file = file; + this.url = url; + this.delegate = delegate; + } + + createClass(DirectUpload, [{ + key: "create", + value: function create(callback) { + var _this = this; + + FileChecksum.create(this.file, function (error, checksum) { + if (error) { + callback(error); + return; + } + + var blob = new BlobRecord(_this.file, checksum, _this.url); + notify(_this.delegate, "directUploadWillCreateBlobWithXHR", blob.xhr); + blob.create(function (error) { + if (error) { + callback(error); + } else { + var upload = new BlobUpload(blob); + notify(_this.delegate, "directUploadWillStoreFileWithXHR", upload.xhr); + upload.create(function (error) { + if (error) { + callback(error); + } else { + callback(null, blob.toJSON()); + } + }); + } + }); + }); + } + }]); + return DirectUpload; + }(); + + function notify(object, methodName) { + if (object && typeof object[methodName] == "function") { + for (var _len = arguments.length, messages = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { + messages[_key - 2] = arguments[_key]; + } + + return object[methodName].apply(object, messages); + } + } + + var DirectUploadController = function () { + function DirectUploadController(input, file) { + classCallCheck(this, DirectUploadController); + this.input = input; + this.file = file; + this.directUpload = new DirectUpload(this.file, this.url, this); + this.dispatch("initialize"); + } + + createClass(DirectUploadController, [{ + key: "start", + value: function start(callback) { + var _this = this; + + var hiddenInput = document.createElement("input"); + hiddenInput.type = "hidden"; + hiddenInput.name = this.input.name; + this.input.insertAdjacentElement("beforebegin", hiddenInput); + this.dispatch("start"); + this.directUpload.create(function (error, attributes) { + if (error) { + hiddenInput.parentNode.removeChild(hiddenInput); + + _this.dispatchError(error); + } else { + hiddenInput.value = attributes.signed_id; + } + + _this.dispatch("end"); + + callback(error); + }); + } + }, { + key: "uploadRequestDidProgress", + value: function uploadRequestDidProgress(event) { + var progress = event.loaded / event.total * 100; + + if (progress) { + this.dispatch("progress", { + progress: progress + }); + } + } + }, { + key: "dispatch", + value: function dispatch(name) { + var detail = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + detail.file = this.file; + detail.id = this.directUpload.id; + return dispatchEvent(this.input, "direct-upload:" + name, { + detail: detail + }); + } + }, { + key: "dispatchError", + value: function dispatchError(error) { + var event = this.dispatch("error", { + error: error + }); + + if (!event.defaultPrevented) { + alert(error); + } + } + }, { + key: "directUploadWillCreateBlobWithXHR", + value: function directUploadWillCreateBlobWithXHR(xhr) { + this.dispatch("before-blob-request", { + xhr: xhr + }); + } + }, { + key: "directUploadWillStoreFileWithXHR", + value: function directUploadWillStoreFileWithXHR(xhr) { + var _this2 = this; + + this.dispatch("before-storage-request", { + xhr: xhr + }); + xhr.upload.addEventListener("progress", function (event) { + return _this2.uploadRequestDidProgress(event); + }); + } + }, { + key: "url", + get: function get$$1() { + return this.input.getAttribute("data-direct-upload-url"); + } + }]); + return DirectUploadController; + }(); + + var inputSelector = "input[type=file][data-direct-upload-url]:not([disabled])"; + + var DirectUploadsController = function () { + function DirectUploadsController(form) { + classCallCheck(this, DirectUploadsController); + this.form = form; + this.inputs = findElements(form, inputSelector).filter(function (input) { + return input.files.length; + }); + } + + createClass(DirectUploadsController, [{ + key: "start", + value: function start(callback) { + var _this = this; + + var controllers = this.createDirectUploadControllers(); + + var startNextController = function startNextController() { + var controller = controllers.shift(); + + if (controller) { + controller.start(function (error) { + if (error) { + callback(error); + + _this.dispatch("end"); + } else { + startNextController(); + } + }); + } else { + callback(); + + _this.dispatch("end"); + } + }; + + this.dispatch("start"); + startNextController(); + } + }, { + key: "createDirectUploadControllers", + value: function createDirectUploadControllers() { + var controllers = []; + this.inputs.forEach(function (input) { + toArray$1(input.files).forEach(function (file) { + var controller = new DirectUploadController(input, file); + controllers.push(controller); + }); + }); + return controllers; + } + }, { + key: "dispatch", + value: function dispatch(name) { + var detail = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + return dispatchEvent(this.form, "direct-uploads:" + name, { + detail: detail + }); + } + }]); + return DirectUploadsController; + }(); + + var processingAttribute = "data-direct-uploads-processing"; + var submitButtonsByForm = new WeakMap(); + var started = false; + + function start() { + if (!started) { + started = true; + document.addEventListener("click", didClick, true); + document.addEventListener("submit", didSubmitForm); + document.addEventListener("ajax:before", didSubmitRemoteElement); + } + } + + function didClick(event) { + var target = event.target; + + if ((target.tagName == "INPUT" || target.tagName == "BUTTON") && target.type == "submit" && target.form) { + submitButtonsByForm.set(target.form, target); + } + } + + function didSubmitForm(event) { + handleFormSubmissionEvent(event); + } + + function didSubmitRemoteElement(event) { + if (event.target.tagName == "FORM") { + handleFormSubmissionEvent(event); + } + } + + function handleFormSubmissionEvent(event) { + var form = event.target; + + if (form.hasAttribute(processingAttribute)) { + event.preventDefault(); + return; + } + + var controller = new DirectUploadsController(form); + var inputs = controller.inputs; + + if (inputs.length) { + event.preventDefault(); + form.setAttribute(processingAttribute, ""); + inputs.forEach(disable); + controller.start(function (error) { + form.removeAttribute(processingAttribute); + + if (error) { + inputs.forEach(enable); + } else { + submitForm(form); + } + }); + } + } + + function submitForm(form) { + var button = submitButtonsByForm.get(form) || findElement(form, "input[type=submit], button[type=submit]"); + + if (button) { + var _button = button, + disabled = _button.disabled; + button.disabled = false; + button.focus(); + button.click(); + button.disabled = disabled; + } else { + button = document.createElement("input"); + button.type = "submit"; + button.style.display = "none"; + form.appendChild(button); + button.click(); + form.removeChild(button); + } + + submitButtonsByForm.delete(form); + } + + function disable(input) { + input.disabled = true; + } + + function enable(input) { + input.disabled = false; + } + + function autostart() { + if (window.ActiveStorage) { + start(); + } + } + + setTimeout(autostart, 1); + exports.start = start; + exports.DirectUpload = DirectUpload; + Object.defineProperty(exports, "__esModule", { + value: true + }); +}); + +/***/ }), + +/***/ "./node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js": +/*!******************************************************************!*\ + !*** ./node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js ***! + \******************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +/* WEBPACK VAR INJECTION */(function(module) {var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +/* +Unobtrusive JavaScript +https://github.com/rails/rails/blob/main/actionview/app/assets/javascripts +Released under the MIT license + */ +; +(function () { + var context = this; + (function () { + (function () { + this.Rails = { + linkClickSelector: 'a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]', + buttonClickSelector: { + selector: 'button[data-remote]:not([form]), button[data-confirm]:not([form])', + exclude: 'form button' + }, + inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]', + formSubmitSelector: 'form:not([data-turbo=true])', + formInputClickSelector: 'form:not([data-turbo=true]) input[type=submit], form:not([data-turbo=true]) input[type=image], form:not([data-turbo=true]) button[type=submit], form:not([data-turbo=true]) button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])', + formDisableSelector: 'input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled', + formEnableSelector: 'input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled', + fileInputSelector: 'input[name][type=file]:not([disabled])', + linkDisableSelector: 'a[data-disable-with], a[data-disable]', + buttonDisableSelector: 'button[data-remote][data-disable-with], button[data-remote][data-disable]' + }; + }).call(this); + }).call(context); + var Rails = context.Rails; + (function () { + (function () { + var nonce; + nonce = null; + + Rails.loadCSPNonce = function () { + var ref; + return nonce = (ref = document.querySelector("meta[name=csp-nonce]")) != null ? ref.content : void 0; + }; + + Rails.cspNonce = function () { + return nonce != null ? nonce : Rails.loadCSPNonce(); + }; + }).call(this); + (function () { + var expando, m; + m = Element.prototype.matches || Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector; + + Rails.matches = function (element, selector) { + if (selector.exclude != null) { + return m.call(element, selector.selector) && !m.call(element, selector.exclude); + } else { + return m.call(element, selector); + } + }; + + expando = '_ujsData'; + + Rails.getData = function (element, key) { + var ref; + return (ref = element[expando]) != null ? ref[key] : void 0; + }; + + Rails.setData = function (element, key, value) { + if (element[expando] == null) { + element[expando] = {}; + } + + return element[expando][key] = value; + }; + + Rails.$ = function (selector) { + return Array.prototype.slice.call(document.querySelectorAll(selector)); + }; + }).call(this); + (function () { + var $, csrfParam, csrfToken; + $ = Rails.$; + + csrfToken = Rails.csrfToken = function () { + var meta; + meta = document.querySelector('meta[name=csrf-token]'); + return meta && meta.content; + }; + + csrfParam = Rails.csrfParam = function () { + var meta; + meta = document.querySelector('meta[name=csrf-param]'); + return meta && meta.content; + }; + + Rails.CSRFProtection = function (xhr) { + var token; + token = csrfToken(); + + if (token != null) { + return xhr.setRequestHeader('X-CSRF-Token', token); + } + }; + + Rails.refreshCSRFTokens = function () { + var param, token; + token = csrfToken(); + param = csrfParam(); + + if (token != null && param != null) { + return $('form input[name="' + param + '"]').forEach(function (input) { + return input.value = token; + }); + } + }; + }).call(this); + (function () { + var CustomEvent, fire, matches, preventDefault; + matches = Rails.matches; + CustomEvent = window.CustomEvent; + + if (typeof CustomEvent !== 'function') { + CustomEvent = function CustomEvent(event, params) { + var evt; + evt = document.createEvent('CustomEvent'); + evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); + return evt; + }; + + CustomEvent.prototype = window.Event.prototype; + preventDefault = CustomEvent.prototype.preventDefault; + + CustomEvent.prototype.preventDefault = function () { + var result; + result = preventDefault.call(this); + + if (this.cancelable && !this.defaultPrevented) { + Object.defineProperty(this, 'defaultPrevented', { + get: function get() { + return true; + } + }); + } + + return result; + }; + } + + fire = Rails.fire = function (obj, name, data) { + var event; + event = new CustomEvent(name, { + bubbles: true, + cancelable: true, + detail: data + }); + obj.dispatchEvent(event); + return !event.defaultPrevented; + }; + + Rails.stopEverything = function (e) { + fire(e.target, 'ujs:everythingStopped'); + e.preventDefault(); + e.stopPropagation(); + return e.stopImmediatePropagation(); + }; + + Rails.delegate = function (element, selector, eventType, handler) { + return element.addEventListener(eventType, function (e) { + var target; + target = e.target; + + while (!(!(target instanceof Element) || matches(target, selector))) { + target = target.parentNode; + } + + if (target instanceof Element && handler.call(target, e) === false) { + e.preventDefault(); + return e.stopPropagation(); + } + }); + }; + }).call(this); + (function () { + var AcceptHeaders, CSRFProtection, createXHR, cspNonce, fire, prepareOptions, processResponse; + cspNonce = Rails.cspNonce, CSRFProtection = Rails.CSRFProtection, fire = Rails.fire; + AcceptHeaders = { + '*': '*/*', + text: 'text/plain', + html: 'text/html', + xml: 'application/xml, text/xml', + json: 'application/json, text/javascript', + script: 'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript' + }; + + Rails.ajax = function (options) { + var xhr; + options = prepareOptions(options); + xhr = createXHR(options, function () { + var ref, response; + response = processResponse((ref = xhr.response) != null ? ref : xhr.responseText, xhr.getResponseHeader('Content-Type')); + + if (Math.floor(xhr.status / 100) === 2) { + if (typeof options.success === "function") { + options.success(response, xhr.statusText, xhr); + } + } else { + if (typeof options.error === "function") { + options.error(response, xhr.statusText, xhr); + } + } + + return typeof options.complete === "function" ? options.complete(xhr, xhr.statusText) : void 0; + }); + + if (options.beforeSend != null && !options.beforeSend(xhr, options)) { + return false; + } + + if (xhr.readyState === XMLHttpRequest.OPENED) { + return xhr.send(options.data); + } + }; + + prepareOptions = function prepareOptions(options) { + options.url = options.url || location.href; + options.type = options.type.toUpperCase(); + + if (options.type === 'GET' && options.data) { + if (options.url.indexOf('?') < 0) { + options.url += '?' + options.data; + } else { + options.url += '&' + options.data; + } + } + + if (AcceptHeaders[options.dataType] == null) { + options.dataType = '*'; + } + + options.accept = AcceptHeaders[options.dataType]; + + if (options.dataType !== '*') { + options.accept += ', */*; q=0.01'; + } + + return options; + }; + + createXHR = function createXHR(options, done) { + var xhr; + xhr = new XMLHttpRequest(); + xhr.open(options.type, options.url, true); + xhr.setRequestHeader('Accept', options.accept); + + if (typeof options.data === 'string') { + xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); + } + + if (!options.crossDomain) { + xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); + CSRFProtection(xhr); + } + + xhr.withCredentials = !!options.withCredentials; + + xhr.onreadystatechange = function () { + if (xhr.readyState === XMLHttpRequest.DONE) { + return done(xhr); + } + }; + + return xhr; + }; + + processResponse = function processResponse(response, type) { + var parser, script; + + if (typeof response === 'string' && typeof type === 'string') { + if (type.match(/\bjson\b/)) { + try { + response = JSON.parse(response); + } catch (error) {} + } else if (type.match(/\b(?:java|ecma)script\b/)) { + script = document.createElement('script'); + script.setAttribute('nonce', cspNonce()); + script.text = response; + document.head.appendChild(script).parentNode.removeChild(script); + } else if (type.match(/\b(xml|html|svg)\b/)) { + parser = new DOMParser(); + type = type.replace(/;.+/, ''); + + try { + response = parser.parseFromString(response, type); + } catch (error) {} + } + } + + return response; + }; + + Rails.href = function (element) { + return element.href; + }; + + Rails.isCrossDomain = function (url) { + var e, originAnchor, urlAnchor; + originAnchor = document.createElement('a'); + originAnchor.href = location.href; + urlAnchor = document.createElement('a'); + + try { + urlAnchor.href = url; + return !((!urlAnchor.protocol || urlAnchor.protocol === ':') && !urlAnchor.host || originAnchor.protocol + '//' + originAnchor.host === urlAnchor.protocol + '//' + urlAnchor.host); + } catch (error) { + e = error; + return true; + } + }; + }).call(this); + (function () { + var matches, toArray; + matches = Rails.matches; + + toArray = function toArray(e) { + return Array.prototype.slice.call(e); + }; + + Rails.serializeElement = function (element, additionalParam) { + var inputs, params; + inputs = [element]; + + if (matches(element, 'form')) { + inputs = toArray(element.elements); + } + + params = []; + inputs.forEach(function (input) { + if (!input.name || input.disabled) { + return; + } + + if (matches(input, 'fieldset[disabled] *')) { + return; + } + + if (matches(input, 'select')) { + return toArray(input.options).forEach(function (option) { + if (option.selected) { + return params.push({ + name: input.name, + value: option.value + }); + } + }); + } else if (input.checked || ['radio', 'checkbox', 'submit'].indexOf(input.type) === -1) { + return params.push({ + name: input.name, + value: input.value + }); + } + }); + + if (additionalParam) { + params.push(additionalParam); + } + + return params.map(function (param) { + if (param.name != null) { + return encodeURIComponent(param.name) + "=" + encodeURIComponent(param.value); + } else { + return param; + } + }).join('&'); + }; + + Rails.formElements = function (form, selector) { + if (matches(form, 'form')) { + return toArray(form.elements).filter(function (el) { + return matches(el, selector); + }); + } else { + return toArray(form.querySelectorAll(selector)); + } + }; + }).call(this); + (function () { + var allowAction, fire, stopEverything; + fire = Rails.fire, stopEverything = Rails.stopEverything; + + Rails.handleConfirm = function (e) { + if (!allowAction(this)) { + return stopEverything(e); + } + }; + + Rails.confirm = function (message, element) { + return confirm(message); + }; + + allowAction = function allowAction(element) { + var answer, callback, message; + message = element.getAttribute('data-confirm'); + + if (!message) { + return true; + } + + answer = false; + + if (fire(element, 'confirm')) { + try { + answer = Rails.confirm(message, element); + } catch (error) {} + + callback = fire(element, 'confirm:complete', [answer]); + } + + return answer && callback; + }; + }).call(this); + (function () { + var disableFormElement, disableFormElements, disableLinkElement, enableFormElement, enableFormElements, enableLinkElement, formElements, getData, isXhrRedirect, matches, setData, stopEverything; + matches = Rails.matches, getData = Rails.getData, setData = Rails.setData, stopEverything = Rails.stopEverything, formElements = Rails.formElements; + + Rails.handleDisabledElement = function (e) { + var element; + element = this; + + if (element.disabled) { + return stopEverything(e); + } + }; + + Rails.enableElement = function (e) { + var element; + + if (e instanceof Event) { + if (isXhrRedirect(e)) { + return; + } + + element = e.target; + } else { + element = e; + } + + if (matches(element, Rails.linkDisableSelector)) { + return enableLinkElement(element); + } else if (matches(element, Rails.buttonDisableSelector) || matches(element, Rails.formEnableSelector)) { + return enableFormElement(element); + } else if (matches(element, Rails.formSubmitSelector)) { + return enableFormElements(element); + } + }; + + Rails.disableElement = function (e) { + var element; + element = e instanceof Event ? e.target : e; + + if (matches(element, Rails.linkDisableSelector)) { + return disableLinkElement(element); + } else if (matches(element, Rails.buttonDisableSelector) || matches(element, Rails.formDisableSelector)) { + return disableFormElement(element); + } else if (matches(element, Rails.formSubmitSelector)) { + return disableFormElements(element); + } + }; + + disableLinkElement = function disableLinkElement(element) { + var replacement; + + if (getData(element, 'ujs:disabled')) { + return; + } + + replacement = element.getAttribute('data-disable-with'); + + if (replacement != null) { + setData(element, 'ujs:enable-with', element.innerHTML); + element.innerHTML = replacement; + } + + element.addEventListener('click', stopEverything); + return setData(element, 'ujs:disabled', true); + }; + + enableLinkElement = function enableLinkElement(element) { + var originalText; + originalText = getData(element, 'ujs:enable-with'); + + if (originalText != null) { + element.innerHTML = originalText; + setData(element, 'ujs:enable-with', null); + } + + element.removeEventListener('click', stopEverything); + return setData(element, 'ujs:disabled', null); + }; + + disableFormElements = function disableFormElements(form) { + return formElements(form, Rails.formDisableSelector).forEach(disableFormElement); + }; + + disableFormElement = function disableFormElement(element) { + var replacement; + + if (getData(element, 'ujs:disabled')) { + return; + } + + replacement = element.getAttribute('data-disable-with'); + + if (replacement != null) { + if (matches(element, 'button')) { + setData(element, 'ujs:enable-with', element.innerHTML); + element.innerHTML = replacement; + } else { + setData(element, 'ujs:enable-with', element.value); + element.value = replacement; + } + } + + element.disabled = true; + return setData(element, 'ujs:disabled', true); + }; + + enableFormElements = function enableFormElements(form) { + return formElements(form, Rails.formEnableSelector).forEach(enableFormElement); + }; + + enableFormElement = function enableFormElement(element) { + var originalText; + originalText = getData(element, 'ujs:enable-with'); + + if (originalText != null) { + if (matches(element, 'button')) { + element.innerHTML = originalText; + } else { + element.value = originalText; + } + + setData(element, 'ujs:enable-with', null); + } + + element.disabled = false; + return setData(element, 'ujs:disabled', null); + }; + + isXhrRedirect = function isXhrRedirect(event) { + var ref, xhr; + xhr = (ref = event.detail) != null ? ref[0] : void 0; + return (xhr != null ? xhr.getResponseHeader("X-Xhr-Redirect") : void 0) != null; + }; + }).call(this); + (function () { + var stopEverything; + stopEverything = Rails.stopEverything; + + Rails.handleMethod = function (e) { + var csrfParam, csrfToken, form, formContent, href, link, method; + link = this; + method = link.getAttribute('data-method'); + + if (!method) { + return; + } + + href = Rails.href(link); + csrfToken = Rails.csrfToken(); + csrfParam = Rails.csrfParam(); + form = document.createElement('form'); + formContent = ""; + + if (csrfParam != null && csrfToken != null && !Rails.isCrossDomain(href)) { + formContent += ""; + } + + formContent += ''; + form.method = 'post'; + form.action = href; + form.target = link.target; + form.innerHTML = formContent; + form.style.display = 'none'; + document.body.appendChild(form); + form.querySelector('[type="submit"]').click(); + return stopEverything(e); + }; + }).call(this); + (function () { + var ajax, + fire, + getData, + isCrossDomain, + isRemote, + matches, + serializeElement, + setData, + stopEverything, + slice = [].slice; + matches = Rails.matches, getData = Rails.getData, setData = Rails.setData, fire = Rails.fire, stopEverything = Rails.stopEverything, ajax = Rails.ajax, isCrossDomain = Rails.isCrossDomain, serializeElement = Rails.serializeElement; + + isRemote = function isRemote(element) { + var value; + value = element.getAttribute('data-remote'); + return value != null && value !== 'false'; + }; + + Rails.handleRemote = function (e) { + var button, data, dataType, element, method, url, withCredentials; + element = this; + + if (!isRemote(element)) { + return true; + } + + if (!fire(element, 'ajax:before')) { + fire(element, 'ajax:stopped'); + return false; + } + + withCredentials = element.getAttribute('data-with-credentials'); + dataType = element.getAttribute('data-type') || 'script'; + + if (matches(element, Rails.formSubmitSelector)) { + button = getData(element, 'ujs:submit-button'); + method = getData(element, 'ujs:submit-button-formmethod') || element.method; + url = getData(element, 'ujs:submit-button-formaction') || element.getAttribute('action') || location.href; + + if (method.toUpperCase() === 'GET') { + url = url.replace(/\?.*$/, ''); + } + + if (element.enctype === 'multipart/form-data') { + data = new FormData(element); + + if (button != null) { + data.append(button.name, button.value); + } + } else { + data = serializeElement(element, button); + } + + setData(element, 'ujs:submit-button', null); + setData(element, 'ujs:submit-button-formmethod', null); + setData(element, 'ujs:submit-button-formaction', null); + } else if (matches(element, Rails.buttonClickSelector) || matches(element, Rails.inputChangeSelector)) { + method = element.getAttribute('data-method'); + url = element.getAttribute('data-url'); + data = serializeElement(element, element.getAttribute('data-params')); + } else { + method = element.getAttribute('data-method'); + url = Rails.href(element); + data = element.getAttribute('data-params'); + } + + ajax({ + type: method || 'GET', + url: url, + data: data, + dataType: dataType, + beforeSend: function beforeSend(xhr, options) { + if (fire(element, 'ajax:beforeSend', [xhr, options])) { + return fire(element, 'ajax:send', [xhr]); + } else { + fire(element, 'ajax:stopped'); + return false; + } + }, + success: function success() { + var args; + args = 1 <= arguments.length ? slice.call(arguments, 0) : []; + return fire(element, 'ajax:success', args); + }, + error: function error() { + var args; + args = 1 <= arguments.length ? slice.call(arguments, 0) : []; + return fire(element, 'ajax:error', args); + }, + complete: function complete() { + var args; + args = 1 <= arguments.length ? slice.call(arguments, 0) : []; + return fire(element, 'ajax:complete', args); + }, + crossDomain: isCrossDomain(url), + withCredentials: withCredentials != null && withCredentials !== 'false' + }); + return stopEverything(e); + }; + + Rails.formSubmitButtonClick = function (e) { + var button, form; + button = this; + form = button.form; + + if (!form) { + return; + } + + if (button.name) { + setData(form, 'ujs:submit-button', { + name: button.name, + value: button.value + }); + } + + setData(form, 'ujs:formnovalidate-button', button.formNoValidate); + setData(form, 'ujs:submit-button-formaction', button.getAttribute('formaction')); + return setData(form, 'ujs:submit-button-formmethod', button.getAttribute('formmethod')); + }; + + Rails.preventInsignificantClick = function (e) { + var data, insignificantMetaClick, link, metaClick, method, nonPrimaryMouseClick; + link = this; + method = (link.getAttribute('data-method') || 'GET').toUpperCase(); + data = link.getAttribute('data-params'); + metaClick = e.metaKey || e.ctrlKey; + insignificantMetaClick = metaClick && method === 'GET' && !data; + nonPrimaryMouseClick = e.button != null && e.button !== 0; + + if (nonPrimaryMouseClick || insignificantMetaClick) { + return e.stopImmediatePropagation(); + } + }; + }).call(this); + (function () { + var $, CSRFProtection, delegate, disableElement, enableElement, fire, formSubmitButtonClick, getData, handleConfirm, handleDisabledElement, handleMethod, handleRemote, loadCSPNonce, preventInsignificantClick, refreshCSRFTokens; + fire = Rails.fire, delegate = Rails.delegate, getData = Rails.getData, $ = Rails.$, refreshCSRFTokens = Rails.refreshCSRFTokens, CSRFProtection = Rails.CSRFProtection, loadCSPNonce = Rails.loadCSPNonce, enableElement = Rails.enableElement, disableElement = Rails.disableElement, handleDisabledElement = Rails.handleDisabledElement, handleConfirm = Rails.handleConfirm, preventInsignificantClick = Rails.preventInsignificantClick, handleRemote = Rails.handleRemote, formSubmitButtonClick = Rails.formSubmitButtonClick, handleMethod = Rails.handleMethod; + + if (typeof jQuery !== "undefined" && jQuery !== null && jQuery.ajax != null) { + if (jQuery.rails) { + throw new Error('If you load both jquery_ujs and rails-ujs, use rails-ujs only.'); + } + + jQuery.rails = Rails; + jQuery.ajaxPrefilter(function (options, originalOptions, xhr) { + if (!options.crossDomain) { + return CSRFProtection(xhr); + } + }); + } + + Rails.start = function () { + if (window._rails_loaded) { + throw new Error('rails-ujs has already been loaded!'); + } + + window.addEventListener('pageshow', function () { + $(Rails.formEnableSelector).forEach(function (el) { + if (getData(el, 'ujs:disabled')) { + return enableElement(el); + } + }); + return $(Rails.linkDisableSelector).forEach(function (el) { + if (getData(el, 'ujs:disabled')) { + return enableElement(el); + } + }); + }); + delegate(document, Rails.linkDisableSelector, 'ajax:complete', enableElement); + delegate(document, Rails.linkDisableSelector, 'ajax:stopped', enableElement); + delegate(document, Rails.buttonDisableSelector, 'ajax:complete', enableElement); + delegate(document, Rails.buttonDisableSelector, 'ajax:stopped', enableElement); + delegate(document, Rails.linkClickSelector, 'click', preventInsignificantClick); + delegate(document, Rails.linkClickSelector, 'click', handleDisabledElement); + delegate(document, Rails.linkClickSelector, 'click', handleConfirm); + delegate(document, Rails.linkClickSelector, 'click', disableElement); + delegate(document, Rails.linkClickSelector, 'click', handleRemote); + delegate(document, Rails.linkClickSelector, 'click', handleMethod); + delegate(document, Rails.buttonClickSelector, 'click', preventInsignificantClick); + delegate(document, Rails.buttonClickSelector, 'click', handleDisabledElement); + delegate(document, Rails.buttonClickSelector, 'click', handleConfirm); + delegate(document, Rails.buttonClickSelector, 'click', disableElement); + delegate(document, Rails.buttonClickSelector, 'click', handleRemote); + delegate(document, Rails.inputChangeSelector, 'change', handleDisabledElement); + delegate(document, Rails.inputChangeSelector, 'change', handleConfirm); + delegate(document, Rails.inputChangeSelector, 'change', handleRemote); + delegate(document, Rails.formSubmitSelector, 'submit', handleDisabledElement); + delegate(document, Rails.formSubmitSelector, 'submit', handleConfirm); + delegate(document, Rails.formSubmitSelector, 'submit', handleRemote); + delegate(document, Rails.formSubmitSelector, 'submit', function (e) { + return setTimeout(function () { + return disableElement(e); + }, 13); + }); + delegate(document, Rails.formSubmitSelector, 'ajax:send', disableElement); + delegate(document, Rails.formSubmitSelector, 'ajax:complete', enableElement); + delegate(document, Rails.formInputClickSelector, 'click', preventInsignificantClick); + delegate(document, Rails.formInputClickSelector, 'click', handleDisabledElement); + delegate(document, Rails.formInputClickSelector, 'click', handleConfirm); + delegate(document, Rails.formInputClickSelector, 'click', formSubmitButtonClick); + document.addEventListener('DOMContentLoaded', refreshCSRFTokens); + document.addEventListener('DOMContentLoaded', loadCSPNonce); + return window._rails_loaded = true; + }; + + if (window.Rails === Rails && fire(document, 'rails:attachBindings')) { + Rails.start(); + } + }).call(this); + }).call(this); + + if (( false ? undefined : _typeof(module)) === "object" && module.exports) { + module.exports = Rails; + } else if (true) { + !(__WEBPACK_AMD_DEFINE_FACTORY__ = (Rails), + __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? + (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : + __WEBPACK_AMD_DEFINE_FACTORY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } +}).call(this); +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/module.js */ "./node_modules/webpack/buildin/module.js")(module))) + +/***/ }), + +/***/ "./node_modules/turbolinks/dist/turbolinks.js": +/*!****************************************************!*\ + !*** ./node_modules/turbolinks/dist/turbolinks.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +/* WEBPACK VAR INJECTION */(function(module) {var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +/* +Turbolinks 5.2.0 +Copyright © 2018 Basecamp, LLC + */ +(function () { + var t = this; + (function () { + (function () { + this.Turbolinks = { + supported: function () { + return null != window.history.pushState && null != window.requestAnimationFrame && null != window.addEventListener; + }(), + visit: function visit(t, r) { + return e.controller.visit(t, r); + }, + clearCache: function clearCache() { + return e.controller.clearCache(); + }, + setProgressBarDelay: function setProgressBarDelay(t) { + return e.controller.setProgressBarDelay(t); + } + }; + }).call(this); + }).call(t); + var e = t.Turbolinks; + (function () { + (function () { + var t, + r, + n, + o = [].slice; + e.copyObject = function (t) { + var e, r, n; + r = {}; + + for (e in t) { + n = t[e], r[e] = n; + } + + return r; + }, e.closest = function (e, r) { + return t.call(e, r); + }, t = function () { + var t, e; + return t = document.documentElement, null != (e = t.closest) ? e : function (t) { + var e; + + for (e = this; e;) { + if (e.nodeType === Node.ELEMENT_NODE && r.call(e, t)) return e; + e = e.parentNode; + } + }; + }(), e.defer = function (t) { + return setTimeout(t, 1); + }, e.throttle = function (t) { + var e; + return e = null, function () { + var r; + return r = 1 <= arguments.length ? o.call(arguments, 0) : [], null != e ? e : e = requestAnimationFrame(function (n) { + return function () { + return e = null, t.apply(n, r); + }; + }(this)); + }; + }, e.dispatch = function (t, e) { + var r, o, i, s, a, u; + return a = null != e ? e : {}, u = a.target, r = a.cancelable, o = a.data, i = document.createEvent("Events"), i.initEvent(t, !0, r === !0), i.data = null != o ? o : {}, i.cancelable && !n && (s = i.preventDefault, i.preventDefault = function () { + return this.defaultPrevented || Object.defineProperty(this, "defaultPrevented", { + get: function get() { + return !0; + } + }), s.call(this); + }), (null != u ? u : document).dispatchEvent(i), i; + }, n = function () { + var t; + return t = document.createEvent("Events"), t.initEvent("test", !0, !0), t.preventDefault(), t.defaultPrevented; + }(), e.match = function (t, e) { + return r.call(t, e); + }, r = function () { + var t, e, r, n; + return t = document.documentElement, null != (e = null != (r = null != (n = t.matchesSelector) ? n : t.webkitMatchesSelector) ? r : t.msMatchesSelector) ? e : t.mozMatchesSelector; + }(), e.uuid = function () { + var t, e, r; + + for (r = "", t = e = 1; 36 >= e; t = ++e) { + r += 9 === t || 14 === t || 19 === t || 24 === t ? "-" : 15 === t ? "4" : 20 === t ? (Math.floor(4 * Math.random()) + 8).toString(16) : Math.floor(15 * Math.random()).toString(16); + } + + return r; + }; + }).call(this), function () { + e.Location = function () { + function t(t) { + var e, r; + null == t && (t = ""), r = document.createElement("a"), r.href = t.toString(), this.absoluteURL = r.href, e = r.hash.length, 2 > e ? this.requestURL = this.absoluteURL : (this.requestURL = this.absoluteURL.slice(0, -e), this.anchor = r.hash.slice(1)); + } + + var e, r, n, o; + return t.wrap = function (t) { + return t instanceof this ? t : new this(t); + }, t.prototype.getOrigin = function () { + return this.absoluteURL.split("/", 3).join("/"); + }, t.prototype.getPath = function () { + var t, e; + return null != (t = null != (e = this.requestURL.match(/\/\/[^\/]*(\/[^?;]*)/)) ? e[1] : void 0) ? t : "/"; + }, t.prototype.getPathComponents = function () { + return this.getPath().split("/").slice(1); + }, t.prototype.getLastPathComponent = function () { + return this.getPathComponents().slice(-1)[0]; + }, t.prototype.getExtension = function () { + var t, e; + return null != (t = null != (e = this.getLastPathComponent().match(/\.[^.]*$/)) ? e[0] : void 0) ? t : ""; + }, t.prototype.isHTML = function () { + return this.getExtension().match(/^(?:|\.(?:htm|html|xhtml))$/); + }, t.prototype.isPrefixedBy = function (t) { + var e; + return e = r(t), this.isEqualTo(t) || o(this.absoluteURL, e); + }, t.prototype.isEqualTo = function (t) { + return this.absoluteURL === (null != t ? t.absoluteURL : void 0); + }, t.prototype.toCacheKey = function () { + return this.requestURL; + }, t.prototype.toJSON = function () { + return this.absoluteURL; + }, t.prototype.toString = function () { + return this.absoluteURL; + }, t.prototype.valueOf = function () { + return this.absoluteURL; + }, r = function r(t) { + return e(t.getOrigin() + t.getPath()); + }, e = function e(t) { + return n(t, "/") ? t : t + "/"; + }, o = function o(t, e) { + return t.slice(0, e.length) === e; + }, n = function n(t, e) { + return t.slice(-e.length) === e; + }, t; + }(); + }.call(this), function () { + var t = function t(_t, e) { + return function () { + return _t.apply(e, arguments); + }; + }; + + e.HttpRequest = function () { + function r(r, n, o) { + this.delegate = r, this.requestCanceled = t(this.requestCanceled, this), this.requestTimedOut = t(this.requestTimedOut, this), this.requestFailed = t(this.requestFailed, this), this.requestLoaded = t(this.requestLoaded, this), this.requestProgressed = t(this.requestProgressed, this), this.url = e.Location.wrap(n).requestURL, this.referrer = e.Location.wrap(o).absoluteURL, this.createXHR(); + } + + return r.NETWORK_FAILURE = 0, r.TIMEOUT_FAILURE = -1, r.timeout = 60, r.prototype.send = function () { + var t; + return this.xhr && !this.sent ? (this.notifyApplicationBeforeRequestStart(), this.setProgress(0), this.xhr.send(), this.sent = !0, "function" == typeof (t = this.delegate).requestStarted ? t.requestStarted() : void 0) : void 0; + }, r.prototype.cancel = function () { + return this.xhr && this.sent ? this.xhr.abort() : void 0; + }, r.prototype.requestProgressed = function (t) { + return t.lengthComputable ? this.setProgress(t.loaded / t.total) : void 0; + }, r.prototype.requestLoaded = function () { + return this.endRequest(function (t) { + return function () { + var e; + return 200 <= (e = t.xhr.status) && 300 > e ? t.delegate.requestCompletedWithResponse(t.xhr.responseText, t.xhr.getResponseHeader("Turbolinks-Location")) : (t.failed = !0, t.delegate.requestFailedWithStatusCode(t.xhr.status, t.xhr.responseText)); + }; + }(this)); + }, r.prototype.requestFailed = function () { + return this.endRequest(function (t) { + return function () { + return t.failed = !0, t.delegate.requestFailedWithStatusCode(t.constructor.NETWORK_FAILURE); + }; + }(this)); + }, r.prototype.requestTimedOut = function () { + return this.endRequest(function (t) { + return function () { + return t.failed = !0, t.delegate.requestFailedWithStatusCode(t.constructor.TIMEOUT_FAILURE); + }; + }(this)); + }, r.prototype.requestCanceled = function () { + return this.endRequest(); + }, r.prototype.notifyApplicationBeforeRequestStart = function () { + return e.dispatch("turbolinks:request-start", { + data: { + url: this.url, + xhr: this.xhr + } + }); + }, r.prototype.notifyApplicationAfterRequestEnd = function () { + return e.dispatch("turbolinks:request-end", { + data: { + url: this.url, + xhr: this.xhr + } + }); + }, r.prototype.createXHR = function () { + return this.xhr = new XMLHttpRequest(), this.xhr.open("GET", this.url, !0), this.xhr.timeout = 1e3 * this.constructor.timeout, this.xhr.setRequestHeader("Accept", "text/html, application/xhtml+xml"), this.xhr.setRequestHeader("Turbolinks-Referrer", this.referrer), this.xhr.onprogress = this.requestProgressed, this.xhr.onload = this.requestLoaded, this.xhr.onerror = this.requestFailed, this.xhr.ontimeout = this.requestTimedOut, this.xhr.onabort = this.requestCanceled; + }, r.prototype.endRequest = function (t) { + return this.xhr ? (this.notifyApplicationAfterRequestEnd(), null != t && t.call(this), this.destroy()) : void 0; + }, r.prototype.setProgress = function (t) { + var e; + return this.progress = t, "function" == typeof (e = this.delegate).requestProgressed ? e.requestProgressed(this.progress) : void 0; + }, r.prototype.destroy = function () { + var t; + return this.setProgress(1), "function" == typeof (t = this.delegate).requestFinished && t.requestFinished(), this.delegate = null, this.xhr = null; + }, r; + }(); + }.call(this), function () { + var t = function t(_t2, e) { + return function () { + return _t2.apply(e, arguments); + }; + }; + + e.ProgressBar = function () { + function e() { + this.trickle = t(this.trickle, this), this.stylesheetElement = this.createStylesheetElement(), this.progressElement = this.createProgressElement(); + } + + var r; + return r = 300, e.defaultCSS = ".turbolinks-progress-bar {\n position: fixed;\n display: block;\n top: 0;\n left: 0;\n height: 3px;\n background: #0076ff;\n z-index: 9999;\n transition: width " + r + "ms ease-out, opacity " + r / 2 + "ms " + r / 2 + "ms ease-in;\n transform: translate3d(0, 0, 0);\n}", e.prototype.show = function () { + return this.visible ? void 0 : (this.visible = !0, this.installStylesheetElement(), this.installProgressElement(), this.startTrickling()); + }, e.prototype.hide = function () { + return this.visible && !this.hiding ? (this.hiding = !0, this.fadeProgressElement(function (t) { + return function () { + return t.uninstallProgressElement(), t.stopTrickling(), t.visible = !1, t.hiding = !1; + }; + }(this))) : void 0; + }, e.prototype.setValue = function (t) { + return this.value = t, this.refresh(); + }, e.prototype.installStylesheetElement = function () { + return document.head.insertBefore(this.stylesheetElement, document.head.firstChild); + }, e.prototype.installProgressElement = function () { + return this.progressElement.style.width = 0, this.progressElement.style.opacity = 1, document.documentElement.insertBefore(this.progressElement, document.body), this.refresh(); + }, e.prototype.fadeProgressElement = function (t) { + return this.progressElement.style.opacity = 0, setTimeout(t, 1.5 * r); + }, e.prototype.uninstallProgressElement = function () { + return this.progressElement.parentNode ? document.documentElement.removeChild(this.progressElement) : void 0; + }, e.prototype.startTrickling = function () { + return null != this.trickleInterval ? this.trickleInterval : this.trickleInterval = setInterval(this.trickle, r); + }, e.prototype.stopTrickling = function () { + return clearInterval(this.trickleInterval), this.trickleInterval = null; + }, e.prototype.trickle = function () { + return this.setValue(this.value + Math.random() / 100); + }, e.prototype.refresh = function () { + return requestAnimationFrame(function (t) { + return function () { + return t.progressElement.style.width = 10 + 90 * t.value + "%"; + }; + }(this)); + }, e.prototype.createStylesheetElement = function () { + var t; + return t = document.createElement("style"), t.type = "text/css", t.textContent = this.constructor.defaultCSS, t; + }, e.prototype.createProgressElement = function () { + var t; + return t = document.createElement("div"), t.className = "turbolinks-progress-bar", t; + }, e; + }(); + }.call(this), function () { + var t = function t(_t3, e) { + return function () { + return _t3.apply(e, arguments); + }; + }; + + e.BrowserAdapter = function () { + function r(r) { + this.controller = r, this.showProgressBar = t(this.showProgressBar, this), this.progressBar = new e.ProgressBar(); + } + + var n, o, i; + return i = e.HttpRequest, n = i.NETWORK_FAILURE, o = i.TIMEOUT_FAILURE, r.prototype.visitProposedToLocationWithAction = function (t, e) { + return this.controller.startVisitToLocationWithAction(t, e); + }, r.prototype.visitStarted = function (t) { + return t.issueRequest(), t.changeHistory(), t.loadCachedSnapshot(); + }, r.prototype.visitRequestStarted = function (t) { + return this.progressBar.setValue(0), t.hasCachedSnapshot() || "restore" !== t.action ? this.showProgressBarAfterDelay() : this.showProgressBar(); + }, r.prototype.visitRequestProgressed = function (t) { + return this.progressBar.setValue(t.progress); + }, r.prototype.visitRequestCompleted = function (t) { + return t.loadResponse(); + }, r.prototype.visitRequestFailedWithStatusCode = function (t, e) { + switch (e) { + case n: + case o: + return this.reload(); + + default: + return t.loadResponse(); + } + }, r.prototype.visitRequestFinished = function (t) { + return this.hideProgressBar(); + }, r.prototype.visitCompleted = function (t) { + return t.followRedirect(); + }, r.prototype.pageInvalidated = function () { + return this.reload(); + }, r.prototype.showProgressBarAfterDelay = function () { + return this.progressBarTimeout = setTimeout(this.showProgressBar, this.controller.progressBarDelay); + }, r.prototype.showProgressBar = function () { + return this.progressBar.show(); + }, r.prototype.hideProgressBar = function () { + return this.progressBar.hide(), clearTimeout(this.progressBarTimeout); + }, r.prototype.reload = function () { + return window.location.reload(); + }, r; + }(); + }.call(this), function () { + var t = function t(_t4, e) { + return function () { + return _t4.apply(e, arguments); + }; + }; + + e.History = function () { + function r(e) { + this.delegate = e, this.onPageLoad = t(this.onPageLoad, this), this.onPopState = t(this.onPopState, this); + } + + return r.prototype.start = function () { + return this.started ? void 0 : (addEventListener("popstate", this.onPopState, !1), addEventListener("load", this.onPageLoad, !1), this.started = !0); + }, r.prototype.stop = function () { + return this.started ? (removeEventListener("popstate", this.onPopState, !1), removeEventListener("load", this.onPageLoad, !1), this.started = !1) : void 0; + }, r.prototype.push = function (t, r) { + return t = e.Location.wrap(t), this.update("push", t, r); + }, r.prototype.replace = function (t, r) { + return t = e.Location.wrap(t), this.update("replace", t, r); + }, r.prototype.onPopState = function (t) { + var r, n, o, i; + return this.shouldHandlePopState() && (i = null != (n = t.state) ? n.turbolinks : void 0) ? (r = e.Location.wrap(window.location), o = i.restorationIdentifier, this.delegate.historyPoppedToLocationWithRestorationIdentifier(r, o)) : void 0; + }, r.prototype.onPageLoad = function (t) { + return e.defer(function (t) { + return function () { + return t.pageLoaded = !0; + }; + }(this)); + }, r.prototype.shouldHandlePopState = function () { + return this.pageIsLoaded(); + }, r.prototype.pageIsLoaded = function () { + return this.pageLoaded || "complete" === document.readyState; + }, r.prototype.update = function (t, e, r) { + var n; + return n = { + turbolinks: { + restorationIdentifier: r + } + }, history[t + "State"](n, null, e); + }, r; + }(); + }.call(this), function () { + e.HeadDetails = function () { + function t(t) { + var e, r, n, s, a, u; + + for (this.elements = {}, n = 0, a = t.length; a > n; n++) { + u = t[n], u.nodeType === Node.ELEMENT_NODE && (s = u.outerHTML, r = null != (e = this.elements)[s] ? e[s] : e[s] = { + type: i(u), + tracked: o(u), + elements: [] + }, r.elements.push(u)); + } + } + + var e, r, n, o, i; + return t.fromHeadElement = function (t) { + var e; + return new this(null != (e = null != t ? t.childNodes : void 0) ? e : []); + }, t.prototype.hasElementWithKey = function (t) { + return t in this.elements; + }, t.prototype.getTrackedElementSignature = function () { + var t, e; + return function () { + var r, n; + r = this.elements, n = []; + + for (t in r) { + e = r[t].tracked, e && n.push(t); + } + + return n; + }.call(this).join(""); + }, t.prototype.getScriptElementsNotInDetails = function (t) { + return this.getElementsMatchingTypeNotInDetails("script", t); + }, t.prototype.getStylesheetElementsNotInDetails = function (t) { + return this.getElementsMatchingTypeNotInDetails("stylesheet", t); + }, t.prototype.getElementsMatchingTypeNotInDetails = function (t, e) { + var r, n, o, i, s, a; + o = this.elements, s = []; + + for (n in o) { + i = o[n], a = i.type, r = i.elements, a !== t || e.hasElementWithKey(n) || s.push(r[0]); + } + + return s; + }, t.prototype.getProvisionalElements = function () { + var t, e, r, n, o, i, s; + r = [], n = this.elements; + + for (e in n) { + o = n[e], s = o.type, i = o.tracked, t = o.elements, null != s || i ? t.length > 1 && r.push.apply(r, t.slice(1)) : r.push.apply(r, t); + } + + return r; + }, t.prototype.getMetaValue = function (t) { + var e; + return null != (e = this.findMetaElementByName(t)) ? e.getAttribute("content") : void 0; + }, t.prototype.findMetaElementByName = function (t) { + var r, n, o, i; + r = void 0, i = this.elements; + + for (o in i) { + n = i[o].elements, e(n[0], t) && (r = n[0]); + } + + return r; + }, i = function i(t) { + return r(t) ? "script" : n(t) ? "stylesheet" : void 0; + }, o = function o(t) { + return "reload" === t.getAttribute("data-turbolinks-track"); + }, r = function r(t) { + var e; + return e = t.tagName.toLowerCase(), "script" === e; + }, n = function n(t) { + var e; + return e = t.tagName.toLowerCase(), "style" === e || "link" === e && "stylesheet" === t.getAttribute("rel"); + }, e = function e(t, _e) { + var r; + return r = t.tagName.toLowerCase(), "meta" === r && t.getAttribute("name") === _e; + }, t; + }(); + }.call(this), function () { + e.Snapshot = function () { + function t(t, e) { + this.headDetails = t, this.bodyElement = e; + } + + return t.wrap = function (t) { + return t instanceof this ? t : "string" == typeof t ? this.fromHTMLString(t) : this.fromHTMLElement(t); + }, t.fromHTMLString = function (t) { + var e; + return e = document.createElement("html"), e.innerHTML = t, this.fromHTMLElement(e); + }, t.fromHTMLElement = function (t) { + var r, n, o, i; + return o = t.querySelector("head"), r = null != (i = t.querySelector("body")) ? i : document.createElement("body"), n = e.HeadDetails.fromHeadElement(o), new this(n, r); + }, t.prototype.clone = function () { + return new this.constructor(this.headDetails, this.bodyElement.cloneNode(!0)); + }, t.prototype.getRootLocation = function () { + var t, r; + return r = null != (t = this.getSetting("root")) ? t : "/", new e.Location(r); + }, t.prototype.getCacheControlValue = function () { + return this.getSetting("cache-control"); + }, t.prototype.getElementForAnchor = function (t) { + try { + return this.bodyElement.querySelector("[id='" + t + "'], a[name='" + t + "']"); + } catch (e) {} + }, t.prototype.getPermanentElements = function () { + return this.bodyElement.querySelectorAll("[id][data-turbolinks-permanent]"); + }, t.prototype.getPermanentElementById = function (t) { + return this.bodyElement.querySelector("#" + t + "[data-turbolinks-permanent]"); + }, t.prototype.getPermanentElementsPresentInSnapshot = function (t) { + var e, r, n, o, i; + + for (o = this.getPermanentElements(), i = [], r = 0, n = o.length; n > r; r++) { + e = o[r], t.getPermanentElementById(e.id) && i.push(e); + } + + return i; + }, t.prototype.findFirstAutofocusableElement = function () { + return this.bodyElement.querySelector("[autofocus]"); + }, t.prototype.hasAnchor = function (t) { + return null != this.getElementForAnchor(t); + }, t.prototype.isPreviewable = function () { + return "no-preview" !== this.getCacheControlValue(); + }, t.prototype.isCacheable = function () { + return "no-cache" !== this.getCacheControlValue(); + }, t.prototype.isVisitable = function () { + return "reload" !== this.getSetting("visit-control"); + }, t.prototype.getSetting = function (t) { + return this.headDetails.getMetaValue("turbolinks-" + t); + }, t; + }(); + }.call(this), function () { + var t = [].slice; + + e.Renderer = function () { + function e() {} + + var r; + return e.render = function () { + var e, r, n, o; + return n = arguments[0], r = arguments[1], e = 3 <= arguments.length ? t.call(arguments, 2) : [], o = function (t, e, r) { + r.prototype = t.prototype; + var n = new r(), + o = t.apply(n, e); + return Object(o) === o ? o : n; + }(this, e, function () {}), o.delegate = n, o.render(r), o; + }, e.prototype.renderView = function (t) { + return this.delegate.viewWillRender(this.newBody), t(), this.delegate.viewRendered(this.newBody); + }, e.prototype.invalidateView = function () { + return this.delegate.viewInvalidated(); + }, e.prototype.createScriptElement = function (t) { + var e; + return "false" === t.getAttribute("data-turbolinks-eval") ? t : (e = document.createElement("script"), e.textContent = t.textContent, e.async = !1, r(e, t), e); + }, r = function r(t, e) { + var r, n, o, i, s, a, u; + + for (i = e.attributes, a = [], r = 0, n = i.length; n > r; r++) { + s = i[r], o = s.name, u = s.value, a.push(t.setAttribute(o, u)); + } + + return a; + }, e; + }(); + }.call(this), function () { + var t, + r, + n = function n(t, e) { + function r() { + this.constructor = t; + } + + for (var n in e) { + o.call(e, n) && (t[n] = e[n]); + } + + return r.prototype = e.prototype, t.prototype = new r(), t.__super__ = e.prototype, t; + }, + o = {}.hasOwnProperty; + + e.SnapshotRenderer = function (e) { + function o(t, e, r) { + this.currentSnapshot = t, this.newSnapshot = e, this.isPreview = r, this.currentHeadDetails = this.currentSnapshot.headDetails, this.newHeadDetails = this.newSnapshot.headDetails, this.currentBody = this.currentSnapshot.bodyElement, this.newBody = this.newSnapshot.bodyElement; + } + + return n(o, e), o.prototype.render = function (t) { + return this.shouldRender() ? (this.mergeHead(), this.renderView(function (e) { + return function () { + return e.replaceBody(), e.isPreview || e.focusFirstAutofocusableElement(), t(); + }; + }(this))) : this.invalidateView(); + }, o.prototype.mergeHead = function () { + return this.copyNewHeadStylesheetElements(), this.copyNewHeadScriptElements(), this.removeCurrentHeadProvisionalElements(), this.copyNewHeadProvisionalElements(); + }, o.prototype.replaceBody = function () { + var t; + return t = this.relocateCurrentBodyPermanentElements(), this.activateNewBodyScriptElements(), this.assignNewBody(), this.replacePlaceholderElementsWithClonedPermanentElements(t); + }, o.prototype.shouldRender = function () { + return this.newSnapshot.isVisitable() && this.trackedElementsAreIdentical(); + }, o.prototype.trackedElementsAreIdentical = function () { + return this.currentHeadDetails.getTrackedElementSignature() === this.newHeadDetails.getTrackedElementSignature(); + }, o.prototype.copyNewHeadStylesheetElements = function () { + var t, e, r, n, o; + + for (n = this.getNewHeadStylesheetElements(), o = [], e = 0, r = n.length; r > e; e++) { + t = n[e], o.push(document.head.appendChild(t)); + } + + return o; + }, o.prototype.copyNewHeadScriptElements = function () { + var t, e, r, n, o; + + for (n = this.getNewHeadScriptElements(), o = [], e = 0, r = n.length; r > e; e++) { + t = n[e], o.push(document.head.appendChild(this.createScriptElement(t))); + } + + return o; + }, o.prototype.removeCurrentHeadProvisionalElements = function () { + var t, e, r, n, o; + + for (n = this.getCurrentHeadProvisionalElements(), o = [], e = 0, r = n.length; r > e; e++) { + t = n[e], o.push(document.head.removeChild(t)); + } + + return o; + }, o.prototype.copyNewHeadProvisionalElements = function () { + var t, e, r, n, o; + + for (n = this.getNewHeadProvisionalElements(), o = [], e = 0, r = n.length; r > e; e++) { + t = n[e], o.push(document.head.appendChild(t)); + } + + return o; + }, o.prototype.relocateCurrentBodyPermanentElements = function () { + var e, n, o, i, s, a, u; + + for (a = this.getCurrentBodyPermanentElements(), u = [], e = 0, n = a.length; n > e; e++) { + i = a[e], s = t(i), o = this.newSnapshot.getPermanentElementById(i.id), r(i, s.element), r(o, i), u.push(s); + } + + return u; + }, o.prototype.replacePlaceholderElementsWithClonedPermanentElements = function (t) { + var e, n, o, i, s, a, u; + + for (u = [], o = 0, i = t.length; i > o; o++) { + a = t[o], n = a.element, s = a.permanentElement, e = s.cloneNode(!0), u.push(r(n, e)); + } + + return u; + }, o.prototype.activateNewBodyScriptElements = function () { + var t, e, n, o, i, s; + + for (i = this.getNewBodyScriptElements(), s = [], e = 0, o = i.length; o > e; e++) { + n = i[e], t = this.createScriptElement(n), s.push(r(n, t)); + } + + return s; + }, o.prototype.assignNewBody = function () { + return document.body = this.newBody; + }, o.prototype.focusFirstAutofocusableElement = function () { + var t; + return null != (t = this.newSnapshot.findFirstAutofocusableElement()) ? t.focus() : void 0; + }, o.prototype.getNewHeadStylesheetElements = function () { + return this.newHeadDetails.getStylesheetElementsNotInDetails(this.currentHeadDetails); + }, o.prototype.getNewHeadScriptElements = function () { + return this.newHeadDetails.getScriptElementsNotInDetails(this.currentHeadDetails); + }, o.prototype.getCurrentHeadProvisionalElements = function () { + return this.currentHeadDetails.getProvisionalElements(); + }, o.prototype.getNewHeadProvisionalElements = function () { + return this.newHeadDetails.getProvisionalElements(); + }, o.prototype.getCurrentBodyPermanentElements = function () { + return this.currentSnapshot.getPermanentElementsPresentInSnapshot(this.newSnapshot); + }, o.prototype.getNewBodyScriptElements = function () { + return this.newBody.querySelectorAll("script"); + }, o; + }(e.Renderer), t = function t(_t5) { + var e; + return e = document.createElement("meta"), e.setAttribute("name", "turbolinks-permanent-placeholder"), e.setAttribute("content", _t5.id), { + element: e, + permanentElement: _t5 + }; + }, r = function r(t, e) { + var r; + return (r = t.parentNode) ? r.replaceChild(e, t) : void 0; + }; + }.call(this), function () { + var t = function t(_t6, e) { + function n() { + this.constructor = _t6; + } + + for (var o in e) { + r.call(e, o) && (_t6[o] = e[o]); + } + + return n.prototype = e.prototype, _t6.prototype = new n(), _t6.__super__ = e.prototype, _t6; + }, + r = {}.hasOwnProperty; + + e.ErrorRenderer = function (e) { + function r(t) { + var e; + e = document.createElement("html"), e.innerHTML = t, this.newHead = e.querySelector("head"), this.newBody = e.querySelector("body"); + } + + return t(r, e), r.prototype.render = function (t) { + return this.renderView(function (e) { + return function () { + return e.replaceHeadAndBody(), e.activateBodyScriptElements(), t(); + }; + }(this)); + }, r.prototype.replaceHeadAndBody = function () { + var t, e; + return e = document.head, t = document.body, e.parentNode.replaceChild(this.newHead, e), t.parentNode.replaceChild(this.newBody, t); + }, r.prototype.activateBodyScriptElements = function () { + var t, e, r, n, o, i; + + for (n = this.getScriptElements(), i = [], e = 0, r = n.length; r > e; e++) { + o = n[e], t = this.createScriptElement(o), i.push(o.parentNode.replaceChild(t, o)); + } + + return i; + }, r.prototype.getScriptElements = function () { + return document.documentElement.querySelectorAll("script"); + }, r; + }(e.Renderer); + }.call(this), function () { + e.View = function () { + function t(t) { + this.delegate = t, this.htmlElement = document.documentElement; + } + + return t.prototype.getRootLocation = function () { + return this.getSnapshot().getRootLocation(); + }, t.prototype.getElementForAnchor = function (t) { + return this.getSnapshot().getElementForAnchor(t); + }, t.prototype.getSnapshot = function () { + return e.Snapshot.fromHTMLElement(this.htmlElement); + }, t.prototype.render = function (t, e) { + var r, n, o; + return o = t.snapshot, r = t.error, n = t.isPreview, this.markAsPreview(n), null != o ? this.renderSnapshot(o, n, e) : this.renderError(r, e); + }, t.prototype.markAsPreview = function (t) { + return t ? this.htmlElement.setAttribute("data-turbolinks-preview", "") : this.htmlElement.removeAttribute("data-turbolinks-preview"); + }, t.prototype.renderSnapshot = function (t, r, n) { + return e.SnapshotRenderer.render(this.delegate, n, this.getSnapshot(), e.Snapshot.wrap(t), r); + }, t.prototype.renderError = function (t, r) { + return e.ErrorRenderer.render(this.delegate, r, t); + }, t; + }(); + }.call(this), function () { + var t = function t(_t7, e) { + return function () { + return _t7.apply(e, arguments); + }; + }; + + e.ScrollManager = function () { + function r(r) { + this.delegate = r, this.onScroll = t(this.onScroll, this), this.onScroll = e.throttle(this.onScroll); + } + + return r.prototype.start = function () { + return this.started ? void 0 : (addEventListener("scroll", this.onScroll, !1), this.onScroll(), this.started = !0); + }, r.prototype.stop = function () { + return this.started ? (removeEventListener("scroll", this.onScroll, !1), this.started = !1) : void 0; + }, r.prototype.scrollToElement = function (t) { + return t.scrollIntoView(); + }, r.prototype.scrollToPosition = function (t) { + var e, r; + return e = t.x, r = t.y, window.scrollTo(e, r); + }, r.prototype.onScroll = function (t) { + return this.updatePosition({ + x: window.pageXOffset, + y: window.pageYOffset + }); + }, r.prototype.updatePosition = function (t) { + var e; + return this.position = t, null != (e = this.delegate) ? e.scrollPositionChanged(this.position) : void 0; + }, r; + }(); + }.call(this), function () { + e.SnapshotCache = function () { + function t(t) { + this.size = t, this.keys = [], this.snapshots = {}; + } + + var r; + return t.prototype.has = function (t) { + var e; + return e = r(t), e in this.snapshots; + }, t.prototype.get = function (t) { + var e; + if (this.has(t)) return e = this.read(t), this.touch(t), e; + }, t.prototype.put = function (t, e) { + return this.write(t, e), this.touch(t), e; + }, t.prototype.read = function (t) { + var e; + return e = r(t), this.snapshots[e]; + }, t.prototype.write = function (t, e) { + var n; + return n = r(t), this.snapshots[n] = e; + }, t.prototype.touch = function (t) { + var e, n; + return n = r(t), e = this.keys.indexOf(n), e > -1 && this.keys.splice(e, 1), this.keys.unshift(n), this.trim(); + }, t.prototype.trim = function () { + var t, e, r, n, o; + + for (n = this.keys.splice(this.size), o = [], t = 0, r = n.length; r > t; t++) { + e = n[t], o.push(delete this.snapshots[e]); + } + + return o; + }, r = function r(t) { + return e.Location.wrap(t).toCacheKey(); + }, t; + }(); + }.call(this), function () { + var t = function t(_t8, e) { + return function () { + return _t8.apply(e, arguments); + }; + }; + + e.Visit = function () { + function r(r, n, o) { + this.controller = r, this.action = o, this.performScroll = t(this.performScroll, this), this.identifier = e.uuid(), this.location = e.Location.wrap(n), this.adapter = this.controller.adapter, this.state = "initialized", this.timingMetrics = {}; + } + + var n; + return r.prototype.start = function () { + return "initialized" === this.state ? (this.recordTimingMetric("visitStart"), this.state = "started", this.adapter.visitStarted(this)) : void 0; + }, r.prototype.cancel = function () { + var t; + return "started" === this.state ? (null != (t = this.request) && t.cancel(), this.cancelRender(), this.state = "canceled") : void 0; + }, r.prototype.complete = function () { + var t; + return "started" === this.state ? (this.recordTimingMetric("visitEnd"), this.state = "completed", "function" == typeof (t = this.adapter).visitCompleted && t.visitCompleted(this), this.controller.visitCompleted(this)) : void 0; + }, r.prototype.fail = function () { + var t; + return "started" === this.state ? (this.state = "failed", "function" == typeof (t = this.adapter).visitFailed ? t.visitFailed(this) : void 0) : void 0; + }, r.prototype.changeHistory = function () { + var t, e; + return this.historyChanged ? void 0 : (t = this.location.isEqualTo(this.referrer) ? "replace" : this.action, e = n(t), this.controller[e](this.location, this.restorationIdentifier), this.historyChanged = !0); + }, r.prototype.issueRequest = function () { + return this.shouldIssueRequest() && null == this.request ? (this.progress = 0, this.request = new e.HttpRequest(this, this.location, this.referrer), this.request.send()) : void 0; + }, r.prototype.getCachedSnapshot = function () { + var t; + return !(t = this.controller.getCachedSnapshotForLocation(this.location)) || null != this.location.anchor && !t.hasAnchor(this.location.anchor) || "restore" !== this.action && !t.isPreviewable() ? void 0 : t; + }, r.prototype.hasCachedSnapshot = function () { + return null != this.getCachedSnapshot(); + }, r.prototype.loadCachedSnapshot = function () { + var t, e; + return (e = this.getCachedSnapshot()) ? (t = this.shouldIssueRequest(), this.render(function () { + var r; + return this.cacheSnapshot(), this.controller.render({ + snapshot: e, + isPreview: t + }, this.performScroll), "function" == typeof (r = this.adapter).visitRendered && r.visitRendered(this), t ? void 0 : this.complete(); + })) : void 0; + }, r.prototype.loadResponse = function () { + return null != this.response ? this.render(function () { + var t, e; + return this.cacheSnapshot(), this.request.failed ? (this.controller.render({ + error: this.response + }, this.performScroll), "function" == typeof (t = this.adapter).visitRendered && t.visitRendered(this), this.fail()) : (this.controller.render({ + snapshot: this.response + }, this.performScroll), "function" == typeof (e = this.adapter).visitRendered && e.visitRendered(this), this.complete()); + }) : void 0; + }, r.prototype.followRedirect = function () { + return this.redirectedToLocation && !this.followedRedirect ? (this.location = this.redirectedToLocation, this.controller.replaceHistoryWithLocationAndRestorationIdentifier(this.redirectedToLocation, this.restorationIdentifier), this.followedRedirect = !0) : void 0; + }, r.prototype.requestStarted = function () { + var t; + return this.recordTimingMetric("requestStart"), "function" == typeof (t = this.adapter).visitRequestStarted ? t.visitRequestStarted(this) : void 0; + }, r.prototype.requestProgressed = function (t) { + var e; + return this.progress = t, "function" == typeof (e = this.adapter).visitRequestProgressed ? e.visitRequestProgressed(this) : void 0; + }, r.prototype.requestCompletedWithResponse = function (t, r) { + return this.response = t, null != r && (this.redirectedToLocation = e.Location.wrap(r)), this.adapter.visitRequestCompleted(this); + }, r.prototype.requestFailedWithStatusCode = function (t, e) { + return this.response = e, this.adapter.visitRequestFailedWithStatusCode(this, t); + }, r.prototype.requestFinished = function () { + var t; + return this.recordTimingMetric("requestEnd"), "function" == typeof (t = this.adapter).visitRequestFinished ? t.visitRequestFinished(this) : void 0; + }, r.prototype.performScroll = function () { + return this.scrolled ? void 0 : ("restore" === this.action ? this.scrollToRestoredPosition() || this.scrollToTop() : this.scrollToAnchor() || this.scrollToTop(), this.scrolled = !0); + }, r.prototype.scrollToRestoredPosition = function () { + var t, e; + return t = null != (e = this.restorationData) ? e.scrollPosition : void 0, null != t ? (this.controller.scrollToPosition(t), !0) : void 0; + }, r.prototype.scrollToAnchor = function () { + return null != this.location.anchor ? (this.controller.scrollToAnchor(this.location.anchor), !0) : void 0; + }, r.prototype.scrollToTop = function () { + return this.controller.scrollToPosition({ + x: 0, + y: 0 + }); + }, r.prototype.recordTimingMetric = function (t) { + var e; + return null != (e = this.timingMetrics)[t] ? e[t] : e[t] = new Date().getTime(); + }, r.prototype.getTimingMetrics = function () { + return e.copyObject(this.timingMetrics); + }, n = function n(t) { + switch (t) { + case "replace": + return "replaceHistoryWithLocationAndRestorationIdentifier"; + + case "advance": + case "restore": + return "pushHistoryWithLocationAndRestorationIdentifier"; + } + }, r.prototype.shouldIssueRequest = function () { + return "restore" === this.action ? !this.hasCachedSnapshot() : !0; + }, r.prototype.cacheSnapshot = function () { + return this.snapshotCached ? void 0 : (this.controller.cacheSnapshot(), this.snapshotCached = !0); + }, r.prototype.render = function (t) { + return this.cancelRender(), this.frame = requestAnimationFrame(function (e) { + return function () { + return e.frame = null, t.call(e); + }; + }(this)); + }, r.prototype.cancelRender = function () { + return this.frame ? cancelAnimationFrame(this.frame) : void 0; + }, r; + }(); + }.call(this), function () { + var t = function t(_t9, e) { + return function () { + return _t9.apply(e, arguments); + }; + }; + + e.Controller = function () { + function r() { + this.clickBubbled = t(this.clickBubbled, this), this.clickCaptured = t(this.clickCaptured, this), this.pageLoaded = t(this.pageLoaded, this), this.history = new e.History(this), this.view = new e.View(this), this.scrollManager = new e.ScrollManager(this), this.restorationData = {}, this.clearCache(), this.setProgressBarDelay(500); + } + + return r.prototype.start = function () { + return e.supported && !this.started ? (addEventListener("click", this.clickCaptured, !0), addEventListener("DOMContentLoaded", this.pageLoaded, !1), this.scrollManager.start(), this.startHistory(), this.started = !0, this.enabled = !0) : void 0; + }, r.prototype.disable = function () { + return this.enabled = !1; + }, r.prototype.stop = function () { + return this.started ? (removeEventListener("click", this.clickCaptured, !0), removeEventListener("DOMContentLoaded", this.pageLoaded, !1), this.scrollManager.stop(), this.stopHistory(), this.started = !1) : void 0; + }, r.prototype.clearCache = function () { + return this.cache = new e.SnapshotCache(10); + }, r.prototype.visit = function (t, r) { + var n, o; + return null == r && (r = {}), t = e.Location.wrap(t), this.applicationAllowsVisitingLocation(t) ? this.locationIsVisitable(t) ? (n = null != (o = r.action) ? o : "advance", this.adapter.visitProposedToLocationWithAction(t, n)) : window.location = t : void 0; + }, r.prototype.startVisitToLocationWithAction = function (t, r, n) { + var o; + return e.supported ? (o = this.getRestorationDataForIdentifier(n), this.startVisit(t, r, { + restorationData: o + })) : window.location = t; + }, r.prototype.setProgressBarDelay = function (t) { + return this.progressBarDelay = t; + }, r.prototype.startHistory = function () { + return this.location = e.Location.wrap(window.location), this.restorationIdentifier = e.uuid(), this.history.start(), this.history.replace(this.location, this.restorationIdentifier); + }, r.prototype.stopHistory = function () { + return this.history.stop(); + }, r.prototype.pushHistoryWithLocationAndRestorationIdentifier = function (t, r) { + return this.restorationIdentifier = r, this.location = e.Location.wrap(t), this.history.push(this.location, this.restorationIdentifier); + }, r.prototype.replaceHistoryWithLocationAndRestorationIdentifier = function (t, r) { + return this.restorationIdentifier = r, this.location = e.Location.wrap(t), this.history.replace(this.location, this.restorationIdentifier); + }, r.prototype.historyPoppedToLocationWithRestorationIdentifier = function (t, r) { + var n; + return this.restorationIdentifier = r, this.enabled ? (n = this.getRestorationDataForIdentifier(this.restorationIdentifier), this.startVisit(t, "restore", { + restorationIdentifier: this.restorationIdentifier, + restorationData: n, + historyChanged: !0 + }), this.location = e.Location.wrap(t)) : this.adapter.pageInvalidated(); + }, r.prototype.getCachedSnapshotForLocation = function (t) { + var e; + return null != (e = this.cache.get(t)) ? e.clone() : void 0; + }, r.prototype.shouldCacheSnapshot = function () { + return this.view.getSnapshot().isCacheable(); + }, r.prototype.cacheSnapshot = function () { + var t, r; + return this.shouldCacheSnapshot() ? (this.notifyApplicationBeforeCachingSnapshot(), r = this.view.getSnapshot(), t = this.lastRenderedLocation, e.defer(function (e) { + return function () { + return e.cache.put(t, r.clone()); + }; + }(this))) : void 0; + }, r.prototype.scrollToAnchor = function (t) { + var e; + return (e = this.view.getElementForAnchor(t)) ? this.scrollToElement(e) : this.scrollToPosition({ + x: 0, + y: 0 + }); + }, r.prototype.scrollToElement = function (t) { + return this.scrollManager.scrollToElement(t); + }, r.prototype.scrollToPosition = function (t) { + return this.scrollManager.scrollToPosition(t); + }, r.prototype.scrollPositionChanged = function (t) { + var e; + return e = this.getCurrentRestorationData(), e.scrollPosition = t; + }, r.prototype.render = function (t, e) { + return this.view.render(t, e); + }, r.prototype.viewInvalidated = function () { + return this.adapter.pageInvalidated(); + }, r.prototype.viewWillRender = function (t) { + return this.notifyApplicationBeforeRender(t); + }, r.prototype.viewRendered = function () { + return this.lastRenderedLocation = this.currentVisit.location, this.notifyApplicationAfterRender(); + }, r.prototype.pageLoaded = function () { + return this.lastRenderedLocation = this.location, this.notifyApplicationAfterPageLoad(); + }, r.prototype.clickCaptured = function () { + return removeEventListener("click", this.clickBubbled, !1), addEventListener("click", this.clickBubbled, !1); + }, r.prototype.clickBubbled = function (t) { + var e, r, n; + return this.enabled && this.clickEventIsSignificant(t) && (r = this.getVisitableLinkForNode(t.target)) && (n = this.getVisitableLocationForLink(r)) && this.applicationAllowsFollowingLinkToLocation(r, n) ? (t.preventDefault(), e = this.getActionForLink(r), this.visit(n, { + action: e + })) : void 0; + }, r.prototype.applicationAllowsFollowingLinkToLocation = function (t, e) { + var r; + return r = this.notifyApplicationAfterClickingLinkToLocation(t, e), !r.defaultPrevented; + }, r.prototype.applicationAllowsVisitingLocation = function (t) { + var e; + return e = this.notifyApplicationBeforeVisitingLocation(t), !e.defaultPrevented; + }, r.prototype.notifyApplicationAfterClickingLinkToLocation = function (t, r) { + return e.dispatch("turbolinks:click", { + target: t, + data: { + url: r.absoluteURL + }, + cancelable: !0 + }); + }, r.prototype.notifyApplicationBeforeVisitingLocation = function (t) { + return e.dispatch("turbolinks:before-visit", { + data: { + url: t.absoluteURL + }, + cancelable: !0 + }); + }, r.prototype.notifyApplicationAfterVisitingLocation = function (t) { + return e.dispatch("turbolinks:visit", { + data: { + url: t.absoluteURL + } + }); + }, r.prototype.notifyApplicationBeforeCachingSnapshot = function () { + return e.dispatch("turbolinks:before-cache"); + }, r.prototype.notifyApplicationBeforeRender = function (t) { + return e.dispatch("turbolinks:before-render", { + data: { + newBody: t + } + }); + }, r.prototype.notifyApplicationAfterRender = function () { + return e.dispatch("turbolinks:render"); + }, r.prototype.notifyApplicationAfterPageLoad = function (t) { + return null == t && (t = {}), e.dispatch("turbolinks:load", { + data: { + url: this.location.absoluteURL, + timing: t + } + }); + }, r.prototype.startVisit = function (t, e, r) { + var n; + return null != (n = this.currentVisit) && n.cancel(), this.currentVisit = this.createVisit(t, e, r), this.currentVisit.start(), this.notifyApplicationAfterVisitingLocation(t); + }, r.prototype.createVisit = function (t, r, n) { + var o, i, s, a, u; + return i = null != n ? n : {}, a = i.restorationIdentifier, s = i.restorationData, o = i.historyChanged, u = new e.Visit(this, t, r), u.restorationIdentifier = null != a ? a : e.uuid(), u.restorationData = e.copyObject(s), u.historyChanged = o, u.referrer = this.location, u; + }, r.prototype.visitCompleted = function (t) { + return this.notifyApplicationAfterPageLoad(t.getTimingMetrics()); + }, r.prototype.clickEventIsSignificant = function (t) { + return !(t.defaultPrevented || t.target.isContentEditable || t.which > 1 || t.altKey || t.ctrlKey || t.metaKey || t.shiftKey); + }, r.prototype.getVisitableLinkForNode = function (t) { + return this.nodeIsVisitable(t) ? e.closest(t, "a[href]:not([target]):not([download])") : void 0; + }, r.prototype.getVisitableLocationForLink = function (t) { + var r; + return r = new e.Location(t.getAttribute("href")), this.locationIsVisitable(r) ? r : void 0; + }, r.prototype.getActionForLink = function (t) { + var e; + return null != (e = t.getAttribute("data-turbolinks-action")) ? e : "advance"; + }, r.prototype.nodeIsVisitable = function (t) { + var r; + return (r = e.closest(t, "[data-turbolinks]")) ? "false" !== r.getAttribute("data-turbolinks") : !0; + }, r.prototype.locationIsVisitable = function (t) { + return t.isPrefixedBy(this.view.getRootLocation()) && t.isHTML(); + }, r.prototype.getCurrentRestorationData = function () { + return this.getRestorationDataForIdentifier(this.restorationIdentifier); + }, r.prototype.getRestorationDataForIdentifier = function (t) { + var e; + return null != (e = this.restorationData)[t] ? e[t] : e[t] = {}; + }, r; + }(); + }.call(this), function () { + !function () { + var t, e; + if ((t = e = document.currentScript) && !e.hasAttribute("data-turbolinks-suppress-warning")) for (; t = t.parentNode;) { + if (t === document.body) return console.warn("You are loading Turbolinks from a