質問編集履歴
1
ログの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -354,6 +354,10 @@
|
|
354
354
|
|
355
355
|
|
356
356
|
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
357
361
|
丸一日使ってしまいましたがどうしても解決せず...
|
358
362
|
|
359
363
|
|
@@ -365,3 +369,71 @@
|
|
365
369
|
|
366
370
|
|
367
371
|
どうぞよろしくお願いします。
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
[追記]
|
376
|
+
|
377
|
+
update実行時のサーバーログです。
|
378
|
+
|
379
|
+
```
|
380
|
+
|
381
|
+
Started GET "/users/edit" for ::1 at 2019-09-01 07:51:37 +0900
|
382
|
+
|
383
|
+
Processing by Users::RegistrationsController#edit as HTML
|
384
|
+
|
385
|
+
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
|
386
|
+
|
387
|
+
Rendering devise/registrations/edit.html.erb within layouts/application
|
388
|
+
|
389
|
+
Rendered devise/shared/_error_messages.html.erb (Duration: 0.2ms | Allocations: 15)
|
390
|
+
|
391
|
+
Rendered devise/registrations/edit.html.erb within layouts/application (Duration: 3.8ms | Allocations: 591)
|
392
|
+
|
393
|
+
Rendered layouts/_header.html.erb (Duration: 3.3ms | Allocations: 1255)
|
394
|
+
|
395
|
+
Rendered layouts/_flash.html.erb (Duration: 0.1ms | Allocations: 17)
|
396
|
+
|
397
|
+
Rendered layouts/_footer.html.erb (Duration: 5.9ms | Allocations: 2169)
|
398
|
+
|
399
|
+
Completed 200 OK in 65ms (Views: 58.7ms | ActiveRecord: 0.4ms | Allocations: 12682)
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
Started PUT "/users" for ::1 at 2019-09-01 07:52:08 +0900
|
406
|
+
|
407
|
+
Processing by Users::RegistrationsController#update as HTML
|
408
|
+
|
409
|
+
Parameters: {"authenticity_token"=>"86/7SxntwXMG/OAbh+AAn68awpo1aVR+Od0jVNX6Y5dZxZYA5w3+Y0AG48nsNXeTZ9vPd2UFersMQvdCwHJt5A==", "user"=>{"name"=>"新しいユーザー", "email"=>"hogehoge2@gmail.com", "d"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update"}
|
410
|
+
|
411
|
+
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
|
412
|
+
|
413
|
+
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
|
414
|
+
|
415
|
+
DEPRECATION WARNING: update_attributes is deprecated and will be removed from Rails 6.1 (please, use update instead) (called from update_without_current_password at /Users/#name/environment/products/book_give_app/app/models/user.rb:20)
|
416
|
+
|
417
|
+
(0.1ms) begin transaction
|
418
|
+
|
419
|
+
↳ app/models/user.rb:20:in `update_without_current_password'
|
420
|
+
|
421
|
+
User Update (0.6ms) UPDATE "users" SET "encrypted_password" = ?, "updated_at" = ? WHERE "users"."id" = ? [["encrypted_password", "$2a$11$1ZxOSTLooRXB7jAj4xyV1eyYUG1NZPQ93It8.AKYsVQvgGhgX22YG"], ["updated_at", "2019-08-31 22:52:08.883913"], ["id", 3]]
|
422
|
+
|
423
|
+
↳ app/models/user.rb:20:in `update_without_current_password'
|
424
|
+
|
425
|
+
(2.0ms) commit transaction
|
426
|
+
|
427
|
+
↳ app/models/user.rb:20:in `update_without_current_password'
|
428
|
+
|
429
|
+
Redirected to http://localhost:3000/
|
430
|
+
|
431
|
+
Completed 302 Found in 547ms (ActiveRecord: 3.2ms | Allocations: 187586)
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
```
|
436
|
+
|
437
|
+
パラメーターのところを見ると、passwordのところが何故か、"```d"=>"[FILTERED]"```になっていますが全く心当たりがありません。
|
438
|
+
|
439
|
+
何かご教授頂けますと幸いです。
|