Displaying 1 result from an estimated 1 matches for "m001851".
Did you mean:
1001851
2006 Jul 12
3
Most efficient way to "increment" a string?
I have members with usernames. In the event that a new member requests
an already-existing username, I''d like to automatically "increment" a
next-best string:
johnny
johnny1
johnny2
Knowing RoR, my gut tells me there''s some elegant, concise way to do
this, but I can''t think of it. Any advice?
--
Posted via http://www.ruby-forum.com/.