Skip to content

Instantly share code, notes, and snippets.

@hogelog
Last active July 1, 2022 05:49
Show Gist options
  • Save hogelog/d6032d65c0cb34c85123428a2935a741 to your computer and use it in GitHub Desktop.
Save hogelog/d6032d65c0cb34c85123428a2935a741 to your computer and use it in GitHub Desktop.
Rails test
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
# Activate the gem you are reporting the issue against.
gem "rails", "7.0.3"
# gem "rails", github: "rails/rails", ref: "ec0c6c7"
end
require "rack/test"
require "action_controller/railtie"
class TestApp < Rails::Application
config.root = __dir__
config.hosts << "example.org"
config.session_store :cookie_store, key: "cookie_store_key"
secrets.secret_key_base = "secret_key_base"
config.logger = Logger.new($stdout)
Rails.logger = config.logger
routes.draw do
get "/" => "test#index"
end
end
class TestController < ActionController::Base
include Rails.application.routes.url_helpers
def index
params.fetch(:foos)
params.fetch(:foos).each do |foo_params|
foo_params.permit(:foo, :bar)
end
render plain: "Home"
end
end
require "minitest/autorun"
class BugTest < Minitest::Test
include Rack::Test::Methods
def test_returns_success
1000.times do
get "/", { foos: [ { object: Object.new.to_s } ] }
assert last_response.ok?
end
end
private
def app
Rails.application
end
end
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Using rake 13.0.6
Using concurrent-ruby 1.1.10
Using minitest 5.16.1
Using builder 3.2.4
Using erubi 1.10.0
Using racc 1.6.0
Using crass 1.0.6
Using rack 2.2.4
Using nio4r 2.5.8
Using websocket-extensions 0.1.5
Using marcel 1.0.2
Using mini_mime 1.1.2
Using digest 3.1.0
Using timeout 0.3.0
Using strscan 3.0.3
Using bundler 2.3.14
Using method_source 1.0.0
Using zeitwerk 2.6.0
Using thor 1.2.1
Using tzinfo 2.0.4
Using nokogiri 1.13.6 (arm64-darwin)
Using rack-test 2.0.2
Using websocket-driver 0.7.5
Using mail 2.7.1
Using net-protocol 0.1.3
Using i18n 1.10.0
Using loofah 2.18.0
Using activesupport 7.0.3
Using net-imap 0.2.3
Using net-pop 0.1.1
Using net-smtp 0.3.1
Using rails-html-sanitizer 1.4.3
Using globalid 1.0.0
Using activemodel 7.0.3
Using rails-dom-testing 2.0.3
Using actionview 7.0.3
Using activejob 7.0.3
Using activerecord 7.0.3
Using actionpack 7.0.3
Using activestorage 7.0.3
Using actionmailer 7.0.3
Using railties 7.0.3
Using actioncable 7.0.3
Using actiontext 7.0.3
Using actionmailbox 7.0.3
Using rails 7.0.3
Run options: --seed 19592
# Running:
I, [2022-07-01T14:34:06.396400 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001290e57e8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.470110 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000015c789698%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.470581 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000015c68a828%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.470886 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000015c60b0c8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.471180 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001090166c0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.471472 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107f89528%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.471772 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000015c56b460%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.472052 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107f697c8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.472353 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107edaaa0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.472635 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000015c4d31d8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.472910 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107dea618%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.473189 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107d28220%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.473458 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000012c382868%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.473735 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000012c2a0dc8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.474013 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000108826028%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.474317 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001084ec0d8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.474618 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001082cf188%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.474926 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001080b6d88%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.475224 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000013b6fc160%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.475512 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107aed208%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.475803 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010796f6d8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.476087 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010778b010%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.476367 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010761ab90%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.476665 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107455fa8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.476982 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001071f53d0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.477330 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010f7ed348%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.477810 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000012baa7220%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.478261 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010f6c4c00%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.478694 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010f8ec208%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.479131 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000012b5ff0d8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.480272 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010f0b6228%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.481540 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000012b3de9e8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.482184 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010f894ff8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.482699 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010f6bf2f0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.483594 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000012ba2ed70%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.484209 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000012ba8ccb8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.484822 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010f7752d0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.491157 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010717eaa0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.492017 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001071ce7a8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.492650 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010741c0f0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.493318 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107613480%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.493906 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107773d70%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.494574 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001077a0b40%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.495193 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001079c5ec0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.496000 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107c48c88%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.496534 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010814c1d0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.497130 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001081a5ca8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.497614 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000108395db0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.498105 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000108705518%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.498497 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000012c2b8c70%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.499001 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000012c2db400%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.499458 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107ce1168%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.499829 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107df0108%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.500271 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107e20bc8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.500757 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107e81720%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.501155 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000107f53ae0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.501635 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000015c511ff0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.502070 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000015c5a3798%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.502440 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010900ef38%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.502864 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010901e3c0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.503310 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000015c6509c0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.503804 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000015c671800%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.504276 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000015c7a2760%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.504738 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000108989e60%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.505112 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010909e368%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.505560 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001090bc020%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.506151 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010987f2f8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.506578 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010998f288%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.507007 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001099bd318%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.507463 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001091f6058%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.507810 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001092cdc60%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.508259 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001092efbd0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.508688 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001093acde8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.509203 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001093cf8e8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.509574 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109abf068%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.510008 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109aedb48%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.510444 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001094979d8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.510793 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000108aba848%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.511220 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109b54a00%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.511631 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109bf6a80%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.511980 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109516328%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.512417 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109534030%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.512833 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001096048e8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.513173 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109ca7ee8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.513544 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010fc93168%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.513862 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010b06f0c0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.514278 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109ce4758%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.514591 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109d4d5a0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.514950 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109645fc8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.515255 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010965f770%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.515658 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000012c3b9200%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.516024 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109e1d278%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.516582 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109685628%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.517308 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109ec5400%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.517944 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109ed58a0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.518455 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109f16dc8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.518836 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010fdef200%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.519306 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010fe2fa08%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.519665 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000012c419c90%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.520035 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109707790%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.520523 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109734e70%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.520890 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x00000001097acb50%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.521278 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109fce950%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.521663 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000109fedcb0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.521973 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000012c430558%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.522349 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000108cf2570%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.522712 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010fe74388%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.523268 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010fe84030%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.523787 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010fec68b8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.524280 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010ff15198%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.524658 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010ff67970%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.525143 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010ff85010%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.525502 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010ff96888%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.525853 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x000000010ffc42d8%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.526560 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000128017f10%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.527226 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000128067d08%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.527902 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000128077460%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.528374 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000108d1dae0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.528927 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000108d34650%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
I, [2022-07-01T14:34:06.529504 #56437] INFO -- : Started GET "/?foos[][object]=%23%3CObject%3A0x0000000108d77db0%3E" for 127.0.0.1 at 2022-07-01 14:34:06 +0900
F, [2022-07-01T14:34:06.531362 #56437] FATAL -- :
NoMethodError (undefined method `permit' for {"object"=>"#<Object:0x0000000108d77db0>"}:ActiveSupport::HashWithIndifferentAccess):
app_test.rb:37:in `block in index'
app_test.rb:36:in `each'
app_test.rb:36:in `index'
app_test.rb:50:in `block in test_returns_success'
app_test.rb:49:in `times'
app_test.rb:49:in `test_returns_success'
F
Failure:
BugTest#test_returns_success [app_test.rb:51]:
Expected false to be truthy.
rails test app_test.rb:48
Finished in 0.154147s, 6.4873 runs/s, 778.4777 assertions/s.
1 runs, 120 assertions, 1 failures, 0 errors, 0 skips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment