Hello,
I have model which has a property named "name", I want to append a
number to the end of the name when there is similar name in db.

name, name1, name2...

Is there a ready to use method in ruby and/or rails for doing so?

Thanks in advance,
- Dunnil