質問編集履歴
3
試したことを書き加えました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,6 +16,10 @@
|
|
16
16
|
|
17
17
|
paramsが引数という訳でしょうか?
|
18
18
|
|
19
|
+
ググりましたが、rubyでの引数に関する事しかヒットしませんでした。
|
20
|
+
|
21
|
+
エラーメッセージをググり結果から近い解決策を自分の理解に沿って試しましたがわかりませんでした。
|
22
|
+
|
19
23
|
![イメージ説明](84b09c979d0143afce1b234541d4586f.png)
|
20
24
|
|
21
25
|
|
2
Full traceにかかれている内容をテキスト形式で貼り付けました。何卒よろしくお願いします。
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,6 +20,148 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
+
###Full trace
|
24
|
+
|
25
|
+
activerecord (5.2.0) lib/active_record/persistence.rb:423:in `update'
|
26
|
+
|
27
|
+
app/controllers/messages_controller.rb:41:in `archive'
|
28
|
+
|
29
|
+
actionpack (5.2.0) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
|
30
|
+
|
31
|
+
actionpack (5.2.0) lib/abstract_controller/base.rb:194:in `process_action'
|
32
|
+
|
33
|
+
actionpack (5.2.0) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
34
|
+
|
35
|
+
actionpack (5.2.0) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
|
36
|
+
|
37
|
+
activesupport (5.2.0) lib/active_support/callbacks.rb:132:in `run_callbacks'
|
38
|
+
|
39
|
+
actionpack (5.2.0) lib/abstract_controller/callbacks.rb:41:in `process_action'
|
40
|
+
|
41
|
+
actionpack (5.2.0) lib/action_controller/metal/rescue.rb:22:in `process_action'
|
42
|
+
|
43
|
+
actionpack (5.2.0) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
|
44
|
+
|
45
|
+
activesupport (5.2.0) lib/active_support/notifications.rb:168:in `block in instrument'
|
46
|
+
|
47
|
+
activesupport (5.2.0) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
|
48
|
+
|
49
|
+
activesupport (5.2.0) lib/active_support/notifications.rb:168:in `instrument'
|
50
|
+
|
51
|
+
actionpack (5.2.0) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
|
52
|
+
|
53
|
+
actionpack (5.2.0) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
|
54
|
+
|
55
|
+
activerecord (5.2.0) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
|
56
|
+
|
57
|
+
actionpack (5.2.0) lib/abstract_controller/base.rb:134:in `process'
|
58
|
+
|
59
|
+
actionview (5.2.0) lib/action_view/rendering.rb:32:in `process'
|
60
|
+
|
61
|
+
actionpack (5.2.0) lib/action_controller/metal.rb:191:in `dispatch'
|
62
|
+
|
63
|
+
actionpack (5.2.0) lib/action_controller/metal.rb:252:in `dispatch'
|
64
|
+
|
65
|
+
actionpack (5.2.0) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
|
66
|
+
|
67
|
+
actionpack (5.2.0) lib/action_dispatch/routing/route_set.rb:34:in `serve'
|
68
|
+
|
69
|
+
actionpack (5.2.0) lib/action_dispatch/journey/router.rb:52:in `block in serve'
|
70
|
+
|
71
|
+
actionpack (5.2.0) lib/action_dispatch/journey/router.rb:35:in `each'
|
72
|
+
|
73
|
+
actionpack (5.2.0) lib/action_dispatch/journey/router.rb:35:in `serve'
|
74
|
+
|
75
|
+
actionpack (5.2.0) lib/action_dispatch/routing/route_set.rb:840:in `call'
|
76
|
+
|
77
|
+
warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
|
78
|
+
|
79
|
+
warden (1.2.7) lib/warden/manager.rb:35:in `catch'
|
80
|
+
|
81
|
+
warden (1.2.7) lib/warden/manager.rb:35:in `call'
|
82
|
+
|
83
|
+
rack (2.0.5) lib/rack/tempfile_reaper.rb:15:in `call'
|
84
|
+
|
85
|
+
rack (2.0.5) lib/rack/etag.rb:25:in `call'
|
86
|
+
|
87
|
+
rack (2.0.5) lib/rack/conditional_get.rb:38:in `call'
|
88
|
+
|
89
|
+
rack (2.0.5) lib/rack/head.rb:12:in `call'
|
90
|
+
|
91
|
+
actionpack (5.2.0) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
|
92
|
+
|
93
|
+
rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context'
|
94
|
+
|
95
|
+
rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call'
|
96
|
+
|
97
|
+
actionpack (5.2.0) lib/action_dispatch/middleware/cookies.rb:670:in `call'
|
98
|
+
|
99
|
+
activerecord (5.2.0) lib/active_record/migration.rb:559:in `call'
|
100
|
+
|
101
|
+
actionpack (5.2.0) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
102
|
+
|
103
|
+
activesupport (5.2.0) lib/active_support/callbacks.rb:98:in `run_callbacks'
|
104
|
+
|
105
|
+
actionpack (5.2.0) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
|
106
|
+
|
107
|
+
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
108
|
+
|
109
|
+
actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
|
110
|
+
|
111
|
+
web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app'
|
112
|
+
|
113
|
+
web-console (3.6.2) lib/web_console/middleware.rb:22:in `block in call'
|
114
|
+
|
115
|
+
web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch'
|
116
|
+
|
117
|
+
web-console (3.6.2) lib/web_console/middleware.rb:20:in `call'
|
118
|
+
|
119
|
+
actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
120
|
+
|
121
|
+
railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
122
|
+
|
123
|
+
railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
|
124
|
+
|
125
|
+
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
126
|
+
|
127
|
+
activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
|
128
|
+
|
129
|
+
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
|
130
|
+
|
131
|
+
railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
|
132
|
+
|
133
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
134
|
+
|
135
|
+
actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
136
|
+
|
137
|
+
actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
138
|
+
|
139
|
+
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
|
140
|
+
|
141
|
+
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
|
142
|
+
|
143
|
+
activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
144
|
+
|
145
|
+
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
146
|
+
|
147
|
+
actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
|
148
|
+
|
149
|
+
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
|
150
|
+
|
151
|
+
railties (5.2.0) lib/rails/engine.rb:524:in `call'
|
152
|
+
|
153
|
+
puma (3.12.0) lib/puma/configuration.rb:225:in `call'
|
154
|
+
|
155
|
+
puma (3.12.0) lib/puma/server.rb:658:in `handle_request'
|
156
|
+
|
157
|
+
puma (3.12.0) lib/puma/server.rb:472:in `process_client'
|
158
|
+
|
159
|
+
puma (3.12.0) lib/puma/server.rb:332:in `block in run'
|
160
|
+
|
161
|
+
puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread'
|
162
|
+
|
163
|
+
|
164
|
+
|
23
165
|
|
24
166
|
|
25
167
|
### 該当のソースコード
|
1
疑問点を明確に記入しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -11,6 +11,10 @@
|
|
11
11
|
|
12
12
|
|
13
13
|
### 発生している問題・エラーメッセージ
|
14
|
+
|
15
|
+
アップデートのとき、引数が不足しているとエラーが表示されてしまっているのですが、Railsの場合、引数がどこにあるのかわからないです。
|
16
|
+
|
17
|
+
paramsが引数という訳でしょうか?
|
14
18
|
|
15
19
|
![イメージ説明](84b09c979d0143afce1b234541d4586f.png)
|
16
20
|
|