Topic: Fixed Length Random Integer
I did an hour of google searching on this, and could not find anything. How do I generate a random number of fixed length in Ruby on Rails ? random numbers such as:
12324, 76889, 44323, 10973, 33200
all are of length 5, but are random.
I would greatly appreciate any help.