osaka menu rake
This commit is contained in:
@@ -61,8 +61,7 @@ class SeedGenerator < ApplicationRecord
|
||||
end
|
||||
|
||||
padding_len = 5 - prefix.length
|
||||
next_code = prefix +"-"+ seed.current.to_s.to_s.rjust((4-prefix.length)+1,'0')
|
||||
next_code = prefix + seed.current.to_s.to_s.rjust((4-prefix.length)+1,'0')
|
||||
return next_code
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user