質問編集履歴
1
文字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,9 +30,9 @@
|
|
30
30
|
|
31
31
|
|
32
32
|
|
33
|
-
helper_method :password_
|
33
|
+
helper_method :password_new
|
34
34
|
|
35
|
-
def password_
|
35
|
+
def password_new(length = 8)
|
36
36
|
|
37
37
|
numbers = [*0..9]
|
38
38
|
|