Preamble
Recently i have started working on project for iphone, where we tried Rhodes framework as a tool for building mobile apps. As usual, every application has a registration form, and you have to validate data from it. I found myself that rhodes doesn’t give you an ability to do that the way rails does. In that moment i remember that i used Validate gem before, and started trying to adopt it with rhodes. First of all i should say that you can not just take ruby gem code and paste it to the rhodes app, it just won’t work at all :)