質問編集履歴

2

修正

2021/10/08 06:42

投稿

kwtkwt
kwtkwt

スコア21

test CHANGED
File without changes
test CHANGED
@@ -50,25 +50,31 @@
50
50
 
51
51
  ```
52
52
 
53
- Started GET "/resumes/show" for 127.0.0.1 at 2021-10-08 15:26:32 +0900
53
+ Started GET "/resumes/show.pdf" for 127.0.0.1 at 2021-10-08 15:41:33 +0900
54
-
54
+
55
- Processing by ResumesController#show as HTML
55
+ Processing by ResumesController#show as PDF
56
-
56
+
57
- UserDevise Load (7.2ms) SELECT "user_devises".* FROM "user_devises" WHERE "user_devises"."id" = ? ORDER BY "user_devises"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]]
57
+ UserDevise Load (6.9ms) SELECT "user_devises".* FROM "user_devises" WHERE "user_devises"."id" = ? ORDER BY "user_devises"."id" ASC LIMIT ? [["id", 5], ["LIMIT", 1]]
58
-
58
+
59
- Resume Load (0.3ms) SELECT "resumes".* FROM "resumes" WHERE "resumes"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
59
+ Resume Load (0.5ms) SELECT "resumes".* FROM "resumes" WHERE "resumes"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
60
60
 
61
61
  UserDevise Load (0.4ms) SELECT "user_devises".* FROM "user_devises" WHERE "user_devises"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]]
62
62
 
63
- Rendering resumes/show.html.erb within layouts/application
64
-
65
- Rendered resumes/show.html.erb within layouts/application (10.3ms)
66
-
67
- Rendered shared/_header.html.erb (1.9ms)
68
-
69
- Rendered shared/_footer.html.erb (0.4ms)
70
-
71
- Completed 200 OK in 650ms (Views: 565.1ms | ActiveRecord: 8.0ms)
63
+ Rendering resumes/show.html.erb
64
+
65
+ Rendered resumes/show.html.erb (5.3ms)
66
+
67
+ [wicked_pdf]: ["/Users/rk/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/wkhtmltopdf-binary-0.12.6.5/bin/wkhtmltopdf", "--orientation", "Landscape", "--page-size", "A4", "file:////var/folders/fr/9n6gyk5j0rl7jml3cskzmnxr0000gn/T/wicked_pdf20211008-50602-8n3mcs.html", "/var/folders/fr/9n6gyk5j0rl7jml3cskzmnxr0000gn/T/wicked_pdf_generated_file20211008-50602-njdv6x.pdf"]
68
+
69
+ Rendering text template
70
+
71
+ Rendered text template (0.0ms)
72
+
73
+ Sent data filename.pdf (10.4ms)
74
+
75
+ Completed 200 OK in 6860ms (Views: 9.3ms | ActiveRecord: 7.8ms)
76
+
77
+
72
78
 
73
79
  ```
74
80
 

1

修正

2021/10/08 06:42

投稿

kwtkwt
kwtkwt

スコア21

test CHANGED
File without changes
test CHANGED
@@ -10,14 +10,6 @@
10
10
 
11
11
 
12
12
 
13
- ここに質問の内容を詳しく書いてください。
14
-
15
- (例)PHP(CakePHP)で●●なシステムを作っています。
16
-
17
- ■■な機能を実装中に以下のエラーメッセージが発生しました。
18
-
19
-
20
-
21
13
  ### 発生している問題・エラーメッセージ・ログ
22
14
 
23
15
  ログをみると、ローカルでは正常にレンダリングされていることがわかります。