質問編集履歴
1
エラーに関するログの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,61 @@
|
|
6
6
|
|
7
7
|
```
|
8
8
|
|
9
|
+
Started PUT "/__web_console/repl_sessions/db9f799215cc6c438ac454364e2c021f" for ::1 at 2019-12-19 10:38:03 +0900
|
10
|
+
|
11
|
+
Started PUT "/__web_console/repl_sessions/db9f799215cc6c438ac454364e2c021f" for ::1 at 2019-12-19 10:38:06 +0900
|
12
|
+
|
13
|
+
Started GET "/admin/articles/new" for ::1 at 2019-12-19 10:51:08 +0900
|
14
|
+
|
15
|
+
(0.2ms) SELECT sqlite_version(*)
|
16
|
+
|
17
|
+
Processing by Admin::ArticlesController#new as HTML
|
18
|
+
|
19
|
+
Member Load (1.7ms) SELECT "members".* FROM "members" WHERE "members"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
|
20
|
+
|
21
|
+
↳ app/controllers/application_controller.rb:4:in `current_member'
|
22
|
+
|
23
|
+
Rendering admin/articles/new.html.erb within layouts/application
|
24
|
+
|
25
|
+
Rendered shared/_errors.html.erb (Duration: 2.1ms | Allocations: 178)
|
26
|
+
|
27
|
+
Rendered admin/articles/_form.html.erb (Duration: 10.4ms | Allocations: 2231)
|
28
|
+
|
29
|
+
Rendered admin/articles/new.html.erb within layouts/application (Duration: 14.7ms | Allocations: 2694)
|
30
|
+
|
31
|
+
Completed 500 Internal Server Error in 33ms (ActiveRecord: 1.7ms | Allocations: 5065)
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
|
9
|
-
undefined method `youtube_url' for #<Article:0x00007fa286
|
39
|
+
ActionView::Template::Error (undefined method `youtube_url' for #<Article:0x00007fa285c73768>):
|
40
|
+
|
41
|
+
7: </tr>
|
42
|
+
|
43
|
+
8: <tr>
|
44
|
+
|
45
|
+
9: <th><%= form.label :youtube_url %></th>
|
46
|
+
|
47
|
+
10: <td><%= form.url_field :youtube_url, size: 20 %></td>
|
48
|
+
|
49
|
+
11: </tr>
|
50
|
+
|
51
|
+
12: <tr>
|
52
|
+
|
53
|
+
13: <th><%= form.label :body %></th>
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
app/views/admin/articles/_form.html.erb:10
|
58
|
+
|
59
|
+
app/views/admin/articles/new.html.erb:5
|
60
|
+
|
61
|
+
app/views/admin/articles/new.html.erb:4
|
62
|
+
|
63
|
+
|
10
64
|
|
11
65
|
```
|
12
66
|
|