質問編集履歴

1

コンソールのログを追記しました。

2020/04/05 03:24

投稿

ganbarou_nippon
ganbarou_nippon

スコア18

test CHANGED
File without changes
test CHANGED
@@ -27,3 +27,165 @@
27
27
 
28
28
 
29
29
  どのように対応すれば良いでしょうか?
30
+
31
+
32
+
33
+ 以下はコンソールのログです。
34
+
35
+
36
+
37
+ ArgumentError (wrong number of arguments (given 1, expected 0)):
38
+
39
+
40
+
41
+ devise (4.7.1) app/controllers/devise_controller.rb:49:in `resource_class'
42
+
43
+ devise_token_auth (1.1.3) app/controllers/devise_token_auth/concerns/set_user_by_token.rb:28:in `set_user_by_token'
44
+
45
+ devise_token_auth (1.1.3) lib/devise_token_auth/controllers/helpers.rb:134:in `current_user'
46
+
47
+ devise_token_auth (1.1.3) lib/devise_token_auth/controllers/helpers.rb:124:in `authenticate_user!'
48
+
49
+ activesupport (5.2.4.1) lib/active_support/callbacks.rb:426:in `block in make_lambda'
50
+
51
+ activesupport (5.2.4.1) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
52
+
53
+ actionpack (5.2.4.1) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
54
+
55
+ activesupport (5.2.4.1) lib/active_support/callbacks.rb:199:in `block in halting'
56
+
57
+ activesupport (5.2.4.1) lib/active_support/callbacks.rb:513:in `block in invoke_before'
58
+
59
+ activesupport (5.2.4.1) lib/active_support/callbacks.rb:513:in `each'
60
+
61
+ activesupport (5.2.4.1) lib/active_support/callbacks.rb:513:in `invoke_before'
62
+
63
+ activesupport (5.2.4.1) lib/active_support/callbacks.rb:131:in `run_callbacks'
64
+
65
+ actionpack (5.2.4.1) lib/abstract_controller/callbacks.rb:41:in `process_action'
66
+
67
+ actionpack (5.2.4.1) lib/action_controller/metal/rescue.rb:22:in `process_action'
68
+
69
+ actionpack (5.2.4.1) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
70
+
71
+ activesupport (5.2.4.1) lib/active_support/notifications.rb:168:in `block in instrument'
72
+
73
+ activesupport (5.2.4.1) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
74
+
75
+ activesupport (5.2.4.1) lib/active_support/notifications.rb:168:in `instrument'
76
+
77
+ actionpack (5.2.4.1) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
78
+
79
+ actionpack (5.2.4.1) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
80
+
81
+ activerecord (5.2.4.1) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
82
+
83
+ actionpack (5.2.4.1) lib/abstract_controller/base.rb:134:in `process'
84
+
85
+ actionview (5.2.4.1) lib/action_view/rendering.rb:32:in `process'
86
+
87
+ actionpack (5.2.4.1) lib/action_controller/metal.rb:191:in `dispatch'
88
+
89
+ actionpack (5.2.4.1) lib/action_controller/metal.rb:252:in `dispatch'
90
+
91
+ actionpack (5.2.4.1) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
92
+
93
+ actionpack (5.2.4.1) lib/action_dispatch/routing/route_set.rb:34:in `serve'
94
+
95
+ actionpack (5.2.4.1) lib/action_dispatch/routing/mapper.rb:18:in `block in <class:Constraints>'
96
+
97
+ actionpack (5.2.4.1) lib/action_dispatch/routing/mapper.rb:48:in `serve'
98
+
99
+ actionpack (5.2.4.1) lib/action_dispatch/journey/router.rb:52:in `block in serve'
100
+
101
+ actionpack (5.2.4.1) lib/action_dispatch/journey/router.rb:35:in `each'
102
+
103
+ actionpack (5.2.4.1) lib/action_dispatch/journey/router.rb:35:in `serve'
104
+
105
+ actionpack (5.2.4.1) lib/action_dispatch/routing/route_set.rb:840:in `call'
106
+
107
+ warden (1.2.8) lib/warden/manager.rb:36:in `block in call'
108
+
109
+ warden (1.2.8) lib/warden/manager.rb:34:in `catch'
110
+
111
+ warden (1.2.8) lib/warden/manager.rb:34:in `call'
112
+
113
+ rack (2.1.1) lib/rack/tempfile_reaper.rb:17:in `call'
114
+
115
+ rack (2.1.1) lib/rack/etag.rb:27:in `call'
116
+
117
+ rack (2.1.1) lib/rack/conditional_get.rb:27:in `call'
118
+
119
+ rack (2.1.1) lib/rack/head.rb:14:in `call'
120
+
121
+ actionpack (5.2.4.1) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
122
+
123
+ rack (2.1.1) lib/rack/session/abstract/id.rb:277:in `context'
124
+
125
+ rack (2.1.1) lib/rack/session/abstract/id.rb:271:in `call'
126
+
127
+ actionpack (5.2.4.1) lib/action_dispatch/middleware/cookies.rb:670:in `call'
128
+
129
+ activerecord (5.2.4.1) lib/active_record/migration.rb:559:in `call'
130
+
131
+ actionpack (5.2.4.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
132
+
133
+ activesupport (5.2.4.1) lib/active_support/callbacks.rb:98:in `run_callbacks'
134
+
135
+ actionpack (5.2.4.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
136
+
137
+ actionpack (5.2.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
138
+
139
+ actionpack (5.2.4.1) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
140
+
141
+ web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
142
+
143
+ web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
144
+
145
+ web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
146
+
147
+ web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
148
+
149
+ actionpack (5.2.4.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
150
+
151
+ railties (5.2.4.1) lib/rails/rack/logger.rb:38:in `call_app'
152
+
153
+ railties (5.2.4.1) lib/rails/rack/logger.rb:26:in `block in call'
154
+
155
+ activesupport (5.2.4.1) lib/active_support/tagged_logging.rb:71:in `block in tagged'
156
+
157
+ activesupport (5.2.4.1) lib/active_support/tagged_logging.rb:28:in `tagged'
158
+
159
+ activesupport (5.2.4.1) lib/active_support/tagged_logging.rb:71:in `tagged'
160
+
161
+ railties (5.2.4.1) lib/rails/rack/logger.rb:26:in `call'
162
+
163
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
164
+
165
+ actionpack (5.2.4.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
166
+
167
+ actionpack (5.2.4.1) lib/action_dispatch/middleware/request_id.rb:27:in `call'
168
+
169
+ rack (2.1.1) lib/rack/method_override.rb:24:in `call'
170
+
171
+ rack (2.1.1) lib/rack/runtime.rb:24:in `call'
172
+
173
+ activesupport (5.2.4.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
174
+
175
+ actionpack (5.2.4.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
176
+
177
+ actionpack (5.2.4.1) lib/action_dispatch/middleware/static.rb:127:in `call'
178
+
179
+ rack (2.1.1) lib/rack/sendfile.rb:113:in `call'
180
+
181
+ railties (5.2.4.1) lib/rails/engine.rb:524:in `call'
182
+
183
+ puma (3.12.2) lib/puma/configuration.rb:227:in `call'
184
+
185
+ puma (3.12.2) lib/puma/server.rb:674:in `handle_request'
186
+
187
+ puma (3.12.2) lib/puma/server.rb:476:in `process_client'
188
+
189
+ puma (3.12.2) lib/puma/server.rb:334:in `block in run'
190
+
191
+ puma (3.12.2) lib/puma/thread_pool.rb:135:in `block in spawn_thread'