質問編集履歴

1

ターミナルのログを追加

2020/09/12 17:21

投稿

takumi_erb
takumi_erb

スコア1

test CHANGED
File without changes
test CHANGED
@@ -246,6 +246,66 @@
246
246
 
247
247
  ```
248
248
 
249
+ ```タミーナルログ
250
+
251
+ Processing by Users::RegistrationsController#new as HTML
252
+
253
+ Rendering devise/registrations/new.html.haml within layouts/application
254
+
255
+ Rendered items/_header.html.haml (243.4ms)
256
+
257
+ Rendered devise/shared/_error_messages.html.haml (2.3ms)
258
+
259
+ Rendered devise/shared/_links.html.haml (3.2ms)
260
+
261
+ Rendered items/_footer.html.haml (4.9ms)
262
+
263
+ Rendered devise/registrations/new.html.haml within layouts/application (284.3ms)
264
+
265
+ Completed 200 OK in 365ms (Views: 349.5ms | ActiveRecord: 1.9ms)
266
+
267
+
268
+
269
+
270
+
271
+ Started POST "/users" for ::1 at 2020-09-13 00:23:45 +0900
272
+
273
+ Processing by Users::RegistrationsController#create as HTML
274
+
275
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"DXkzfxg+QrpZ7ayralkIq39M4V8giKYUz7CNiIHe6wUDuuv+YGXs1HAykVR1LsaATskbOa7CV7dJapAeNB+h1A==", "user"=>{"nickname"=>"池田 匠", "email"=>"bshuge02@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "first_name"=>"池田", "last_name"=>"匠", "first_name_kana"=>"イケダ", "last_name_kana"=>"タクミ"}, "birthday"=>{"birthday(1i)"=>"1997", "birthday(2i)"=>"1", "birthday(3i)"=>"14"}, "commit"=>"新規登録"}
276
+
277
+ (0.2ms) BEGIN
278
+
279
+ ↳ /Users/crest89/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activerecord-5.2.4.3/lib/active_record/log_subscriber.rb:98
280
+
281
+ User Exists (0.2ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'bshuge02@gmail.com' LIMIT 1
282
+
283
+ ↳ /Users/crest89/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activerecord-5.2.4.3/lib/active_record/log_subscriber.rb:98
284
+
285
+ CACHE User Exists (0.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'bshuge02@gmail.com' LIMIT 1
286
+
287
+ ↳ /Users/crest89/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activerecord-5.2.4.3/lib/active_record/log_subscriber.rb:98
288
+
289
+ User Create (0.5ms) INSERT INTO `users` (`nickname`, `email`, `encrypted_password`, `first_name`, `last_name`, `first_name_kana`, `last_name_kana`, `created_at`, `updated_at`) VALUES ('池田 匠', 'bshuge02@gmail.com', '$2a$12$5ArAvrs0AjRQ.DkybFzxJuZust3y9fmXbBn/xCQiKOff6NwYsmqz6', '池田', '匠', 'イケダ', 'タクミ', '2020-09-12 15:23:46', '2020-09-12 15:23:46')
290
+
291
+ ↳ /Users/crest89/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activerecord-5.2.4.3/lib/active_record/log_subscriber.rb:98
292
+
293
+ (0.1ms) ROLLBACK
294
+
295
+ ↳ /Users/crest89/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activerecord-5.2.4.3/lib/active_record/log_subscriber.rb:98
296
+
297
+ Completed 500 Internal Server Error in 195ms (ActiveRecord: 1.0ms)
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+ ActiveRecord::NotNullViolation (Mysql2::Error: Field 'birthday' doesn't have a default value: INSERT INTO `users` (`nickname`, `email`, `encrypted_password`, `first_name`, `last_name`, `first_name_kana`, `last_name_kana`, `created_at`, `updated_at`) VALUES ('池田 匠', 'bshuge02@gmail.com', '$2a$12$5ArAvrs0AjRQ.DkybFzxJuZust3y9fmXbBn/xCQiKOff6NwYsmqz6', '池田', '匠', 'イケダ', 'タクミ', '2020-09-12 15:23:46', '2020-09-12 15:23:46')):
306
+
307
+ ```
308
+
249
309
 
250
310
 
251
311