While reading through another question here, on creating a URL shortening service, it was suggested to take the ID of the row, and then convert it to base 62 (0 to 9, a to z, and A to Z). Is there a standard function to accomplish this in Ruby?
Edit: Not sure if I was clear enough.
Something like this: 123456.radix(62)
should give the base 62 of 123456.
I'm thinking of writing one, if it isn't already there.