+ <%= 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
+ [1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+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
+ [1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+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
+ [1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+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
+ [1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+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
+ [1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+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
+ [1m[35m (0.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+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
+ [1m[35m (0.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+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
+ [1m[35m (0.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+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
+ [1m[35m (0.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
+ [1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+
+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
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+Migrating to DeviseCreateUsers (20211212130440)
+ [1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.9ms)[0m [1m[35mCREATE 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)[0m
+ [1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
+ [1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
+ [1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20211212130440"]]
+ [1m[36mTRANSACTION (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2021-12-12 13:06:47.044617"], ["updated_at", "2021-12-12 13:06:47.044617"]]
+ [1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+Started GET "/" for 127.0.0.1 at 2021-12-12 13:06:47 +0000
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+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
+ [1m[35m (0.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+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"}
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[36mUser Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "test@mail.com"], ["LIMIT", 1]]
+ [1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["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"]]
+ [1m[36mTRANSACTION (0.2ms)[0m [1m[36mcommit transaction[0m
+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
+ [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[35m (0.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+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
+ [1m[35m (0.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+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
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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]"}
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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"}
+ [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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]"}
+ [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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"}
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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]"}
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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"}
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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)
+
+
+ [1m[35m (0.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+Migrating to CreatePosts (20211212141132)
+ [1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
+ [1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20211212141132"]]
+ [1m[36mTRANSACTION (0.3ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+Started GET "/" for 127.0.0.1 at 2021-12-12 14:13:29 +0000
+ [1m[35m (0.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+Processing by PostsController#index as HTML
+ Rendering layout layouts/application.html.erb
+ Rendering posts/index.html.erb within layouts/application
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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]"}
+ [1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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"}
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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
+ [1m[35m (0.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+Processing by Devise::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"[FILTERED]"}
+ [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["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" %>
+
+