teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

文字修正

2021/12/23 05:38

投稿

kokosi1062
kokosi1062

スコア39

title CHANGED
File without changes
body CHANGED
@@ -14,8 +14,8 @@
14
14
  ```
15
15
  controller
16
16
 
17
- helper_method :password_gen
17
+ helper_method :password_new
18
- def password_gen(length = 8)
18
+ def password_new(length = 8)
19
19
  numbers = [*0..9]
20
20
  alpha_bigs = [*'A'..'Z']
21
21
  alpha_smalls = [*'a'..'z']