質問編集履歴

1

log追記

2023/03/05 03:54

投稿

tamtamtime
tamtamtime

スコア8

test CHANGED
File without changes
test CHANGED
@@ -53,6 +53,24 @@
53
53
  <% end %>
54
54
  ```
55
55
 
56
+ ```ruby
57
+ log
58
+
59
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms | Allocations: 376)
60
+ Mar 5 12:37:40 PM I, [2023-03-05T03:37:40.712228 #68] INFO -- : [e1f699d7-f84f-40ec-8a06-d7de78f5b1ab] Started POST "/designs/search" for 172.70.233.183 at 2023-03-05 03:37:40 +0000
61
+ Mar 5 12:37:40 PM I, [2023-03-05T03:37:40.713014 #68] INFO -- : [e1f699d7-f84f-40ec-8a06-d7de78f5b1ab] Processing by DesignsController#search as HTML
62
+ Mar 5 12:37:40 PM I, [2023-03-05T03:37:40.713082 #68] INFO -- : [e1f699d7-f84f-40ec-8a06-d7de78f5b1ab] Parameters: {"authenticity_token"=>"G3jXLcU2oBxzcqmxRRCMl4uFfj+wmKfMSCLoCuGnHy88ENlCH+6fbwU+gAuIHNr4YLR+oXEvEUiXiYRidjoMpw==", "post"=>{"search"=>"クチコミ"}, "commit"=>"検索"}
63
+ Mar 5 12:37:40 PM I, [2023-03-05T03:37:40.745088 #68] INFO -- : [e1f699d7-f84f-40ec-8a06-d7de78f5b1ab] Rendering designs/search.html.erb within layouts/application
64
+ Mar 5 12:37:40 PM D, [2023-03-05T03:37:40.747825 #68] DEBUG -- : [e1f699d7-f84f-40ec-8a06-d7de78f5b1ab] Tag Load (1.2ms) SELECT "tags".* FROM "tags"
65
+ Mar 5 12:37:40 PM D, [2023-03-05T03:37:40.752484 #68] DEBUG -- : [e1f699d7-f84f-40ec-8a06-d7de78f5b1ab] Design Load (3.7ms) SELECT "designs".* FROM "designs" ORDER BY created_at DESC
66
+ Mar 5 12:37:40 PM D, [2023-03-05T03:37:40.756537 #68] DEBUG -- : [e1f699d7-f84f-40ec-8a06-d7de78f5b1ab] ActiveStorage::Attachment Load (1.1ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 59], ["record_type", "Design"], ["name", "image"], ["LIMIT", 1]]
67
+ Mar 5 12:37:40 PM D, [2023-03-05T03:37:40.758089 #68] DEBUG -- : [e1f699d7-f84f-40ec-8a06-d7de78f5b1ab] ActiveStorage::Blob Load (0.9ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]]
68
+ Mar 5 12:37:40 PM I, [2023-03-05T03:37:40.758877 #68] INFO -- : [e1f699d7-f84f-40ec-8a06-d7de78f5b1ab] Rendered designs/_design.html.erb (Duration: 5.8ms | Allocations: 1220)
69
+ Mar 5 12:37:40 PM D, [2023-03-05T03:37:40.841014 #68] DEBUG -- : [e1f699d7-f84f-40ec-8a06-d7de78f5b1ab] ActiveStorage::Attachment Load (81.3ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 58], ["record_type", "Design"], ["name", "image"], ["LIMIT", 1]]
70
+ Mar 5 12:37:40 PM D, [2023-03-05T03:37:40.847695 #68] DEBUG -- : [e1f699d7-f84f-40ec-8a06-d7de78f5b1ab] ActiveStorage::Blob Load (5.8ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", 58], ["LIMIT", 1]]
71
+ ```
72
+
73
+
56
74
  ### 試したこと
57
75
 
58
76
  web検索し、上記にたどり着いたのですが、ここから