質問編集履歴
1
a
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,6 +14,42 @@
|
|
14
14
|
|
15
15
|
皆様のお知恵をお貸しいただけるとありがたいです。
|
16
16
|
|
17
|
+
###update時のターミナルのログ
|
18
|
+
|
19
|
+
```
|
20
|
+
|
21
|
+
Started PATCH "/users" for 36.3.213.27 at 2019-08-10 11:11:34 +0000
|
22
|
+
|
23
|
+
Cannot render console from 36.3.213.27! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
|
24
|
+
|
25
|
+
Processing by Users::RegistrationsController#update as HTML
|
26
|
+
|
27
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"D7vCZVEMy9lTHg7OsmqqscvZp0BxYir0x9RLbxPudK/+8xikcpDf0Pe2LYBUMbXv69GvOsaFYfXWY+JK1Un9Qw==", "user"=>{"username"=>"yusuke", "email"=>"yusuke@yahoo.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"更新する"}
|
28
|
+
|
29
|
+
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 93], ["LIMIT", 1]]
|
30
|
+
|
31
|
+
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 93], ["LIMIT", 1]]
|
32
|
+
|
33
|
+
(0.1ms) begin transaction
|
34
|
+
|
35
|
+
(0.0ms) rollback transaction
|
36
|
+
|
37
|
+
Rendering users/registrations/edit.html.haml within layouts/application
|
38
|
+
|
39
|
+
Rendered users/registrations/edit.html.haml within layouts/application (10.2ms)
|
40
|
+
|
41
|
+
Rendered layouts/_head.html.haml (44.2ms)
|
42
|
+
|
43
|
+
Rendered layouts/_header.html.haml (8.0ms)
|
44
|
+
|
45
|
+
Rendered layouts/_flash.html.haml (1.2ms)
|
46
|
+
|
47
|
+
Completed 200 OK in 80ms (Views: 71.6ms | ActiveRecord: 0.3ms)
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
```
|
52
|
+
|
17
53
|
### 該当のソースコード
|
18
54
|
|
19
55
|
app/controller/users/restigations_controller.rb
|