質問編集履歴

1

情報の追加

2021/04/19 16:22

投稿

divclass123
divclass123

スコア35

test CHANGED
File without changes
test CHANGED
@@ -524,6 +524,42 @@
524
524
 
525
525
 
526
526
 
527
+ ```
528
+
529
+ @admin_user
530
+
531
+ => #<User:0x0000561921546128
532
+
533
+ id: 6,
534
+
535
+ nickname: nil,
536
+
537
+ email: "hoge@gmail.com",
538
+
539
+ created_at: nil,
540
+
541
+ updated_at: nil,
542
+
543
+ password_digest: [FILTERED],
544
+
545
+ remember_digest: nil,
546
+
547
+ activation_digest: nil,
548
+
549
+ activated: true,
550
+
551
+ activated_at: nil>
552
+
553
+
554
+
555
+ ```
556
+
557
+ @admin_userもしっかり定義されてるように感じます。
558
+
559
+
560
+
561
+
562
+
527
563
 
528
564
 
529
565