質問編集履歴

8

ターミナルのコードを増やしました

2020/11/24 11:59

投稿

0W5E8fPq1EOm4yE
0W5E8fPq1EOm4yE

スコア13

test CHANGED
File without changes
test CHANGED
@@ -200,7 +200,57 @@
200
200
 
201
201
  ```
202
202
 
203
-
203
+ ```
204
+
205
+ ターミナル
206
+
207
+
208
+
209
+ app/views/prototypes/_prototype.html.erb:2
210
+
211
+ app/views/prototypes/index.html.erb:11
212
+
213
+ Started GET "/" for ::1 at 2020-11-24 20:58:09 +0900
214
+
215
+ Processing by PrototypesController#index as HTML
216
+
217
+ Rendering prototypes/index.html.erb within layouts/application
218
+
219
+ User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 ORDER BY `users`.`id` ASC LIMIT 1
220
+
221
+ ↳ app/views/prototypes/index.html.erb:4
222
+
223
+ Rendered prototypes/_prototype.html.erb (Duration: 13.8ms | Allocations: 5048)
224
+
225
+ Rendered prototypes/index.html.erb within layouts/application (Duration: 16.0ms | Allocations: 6122)
226
+
227
+ Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.4ms | Allocations: 7008)
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+ ActionView::Template::Error (The asset "プロトタイプの画像" is not present in the asset pipeline.
236
+
237
+ ):
238
+
239
+ 1: <div class="card">
240
+
241
+ 2: <%= link_to image_tag("プロトタイプの画像", class: :card__img ), root_path %>
242
+
243
+ 3:
244
+
245
+ 4: <div class="card__body">
246
+
247
+ 5: <%= link_to "プロトタイプのタイトル", root_path, class: :card__title %>
248
+
249
+
250
+
251
+ app/views/prototypes/_prototype.html.erb:2
252
+
253
+ ```
204
254
 
205
255
 
206
256
 

7

2020/11/24 11:59

投稿

0W5E8fPq1EOm4yE
0W5E8fPq1EOm4yE

スコア13

test CHANGED
File without changes
test CHANGED
File without changes

6

2020/11/24 09:44

投稿

0W5E8fPq1EOm4yE
0W5E8fPq1EOm4yE

スコア13

test CHANGED
File without changes
test CHANGED
File without changes

5

2020/11/24 09:44

投稿

0W5E8fPq1EOm4yE
0W5E8fPq1EOm4yE

スコア13

test CHANGED
File without changes
test CHANGED
@@ -14,7 +14,11 @@
14
14
 
15
15
  ### 該当のソースコード
16
16
 
17
+ ```
18
+
17
- ```_prototype.html.erb
19
+ _prototype.html.erb
20
+
21
+
18
22
 
19
23
  <div class="card">
20
24
 
@@ -48,7 +52,9 @@
48
52
 
49
53
  ```
50
54
 
55
+ ```
56
+
51
- ```config.rotes
57
+ config.rotes
52
58
 
53
59
 
54
60
 
@@ -64,7 +70,9 @@
64
70
 
65
71
  ```
66
72
 
73
+ ```
74
+
67
- ```prototype_controller.rb
75
+ prototype_controller.rb
68
76
 
69
77
 
70
78
 

4

2020/11/24 09:43

投稿

0W5E8fPq1EOm4yE
0W5E8fPq1EOm4yE

スコア13

test CHANGED
File without changes
test CHANGED
@@ -48,7 +48,7 @@
48
48
 
49
49
  ```
50
50
 
51
- config.rotes
51
+ ```config.rotes
52
52
 
53
53
 
54
54
 
@@ -64,11 +64,7 @@
64
64
 
65
65
  ```
66
66
 
67
-
68
-
69
- ```
70
-
71
- prototype_controller.rb
67
+ ```prototype_controller.rb
72
68
 
73
69
 
74
70
 

3

2020/11/24 09:42

投稿

0W5E8fPq1EOm4yE
0W5E8fPq1EOm4yE

スコア13

test CHANGED
File without changes
test CHANGED
@@ -14,9 +14,7 @@
14
14
 
15
15
  ### 該当のソースコード
16
16
 
17
- ```
18
-
19
- _prototype.html.erb
17
+ ```_prototype.html.erb
20
18
 
21
19
  <div class="card">
22
20
 
@@ -48,7 +46,11 @@
48
46
 
49
47
 
50
48
 
49
+ ```
50
+
51
- ```config.rotes
51
+ config.rotes
52
+
53
+
52
54
 
53
55
  Rails.application.routes.draw do
54
56
 
@@ -64,7 +66,11 @@
64
66
 
65
67
 
66
68
 
69
+ ```
70
+
67
- ```prototypesController
71
+ prototype_controller.rb
72
+
73
+
68
74
 
69
75
  class PrototypesController < ApplicationController
70
76
 

2

2020/11/24 09:37

投稿

0W5E8fPq1EOm4yE
0W5E8fPq1EOm4yE

スコア13

test CHANGED
File without changes
test CHANGED
@@ -62,6 +62,8 @@
62
62
 
63
63
  ```
64
64
 
65
+
66
+
65
67
  ```prototypesController
66
68
 
67
69
  class PrototypesController < ApplicationController

1

2020/11/24 03:44

投稿

0W5E8fPq1EOm4yE
0W5E8fPq1EOm4yE

スコア13

test CHANGED
File without changes
test CHANGED
@@ -48,7 +48,7 @@
48
48
 
49
49
 
50
50
 
51
- config.routes
51
+ ```config.rotes
52
52
 
53
53
  Rails.application.routes.draw do
54
54
 
@@ -60,9 +60,9 @@
60
60
 
61
61
  end
62
62
 
63
-
63
+ ```
64
-
64
+
65
- prototypesController
65
+ ```prototypesController
66
66
 
67
67
  class PrototypesController < ApplicationController
68
68
 
@@ -186,9 +186,9 @@
186
186
 
187
187
  end
188
188
 
189
-
190
-
191
- ```
189
+ ```
190
+
191
+
192
192
 
193
193
 
194
194