forms_jinny is a gem which allows to push forms validation to browser side transparently for rails developer
This project rocks and uses MIT-LICENSE.