質問編集履歴
1
文字修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
```
|
15
15
|
controller
|
16
16
|
|
17
|
-
helper_method :
|
17
|
+
helper_method :password_new
|
18
|
-
def
|
18
|
+
def password_new(length = 8)
|
19
19
|
numbers = [*0..9]
|
20
20
|
alpha_bigs = [*'A'..'Z']
|
21
21
|
alpha_smalls = [*'a'..'z']
|