[00:46:00]
<rdesh> in a form that i have, a user enters an e-mail address and a nickname. i want to prefill the nickname field by the e-mail username, and if that username exists then to increment a suffix for the nickname by 1 until it does not exist. I have the method written to do this. basically, on blur, i need a ruby method to run. how can i do this?