質問編集履歴
2
モデルを追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -31,6 +31,12 @@
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
```
|
34
|
+
###モデルはこんな感じです
|
35
|
+
```ruby
|
36
|
+
class User < ApplicationRecord
|
37
|
+
has_secure_password
|
38
|
+
end
|
39
|
+
```
|
34
40
|
### 発生している問題・エラーメッセージ
|
35
41
|
|
36
42
|
```
|
1
表記を変えました
title
CHANGED
File without changes
|
body
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
```
|
37
37
|
Started POST "/create/" for ::1 at 2019-10-29 15:28:23 +0900
|
38
38
|
(3.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
|
39
|
-
↳ /Users/
|
39
|
+
↳ /Users/ts21/.rbenv/versions/2.6.4/lib/ruby/gems/2.6.0/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
|
40
40
|
Processing by UsersController#create as */*
|
41
41
|
Parameters: {"user_name"=>"abc", "email"=>"abc@exsample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>{"email"=>"abc@exsample.com", "user_name"=>"abc"}}
|
42
42
|
(1.3ms) BEGIN
|