Archive of Ruby on Rails
jQuery Validation in Ruby on Rails
Posted on Aug 17 in jQuery, Ruby on Rails, Tutorials | (40) CommentsThis post shows how you can use the jQuery Validation plugin to validate RESTful rails forms and how to use the remote method for powerful AJAX-backed validation.
In this post you will see how to do client side validation with jQuery in a Ruby on Rails application. The post assumes you have some knowledge of Ruby on Rails views and jQuery selectors.
We will validate a typical user registration form using the jQuery Validation plugin.