Reputation: 37085
client_side_validations was a widely used gem that automatically created realtime validations for your Rails' frontend based on your models' validations. Alas, it seems to be unmaintained now. Are there any similar, maintained alternatives out there?
Upvotes: 6
Views: 2147
Reputation: 697
You can use Judge Rails Gem: https://github.com/joecorcoran/judge and there are plugins to use with FormBuilder SimpleForm https://github.com/joecorcoran/judge-simple_form
Upvotes: 5
Reputation: 6129
You can also use jQuery.validation. Although I think parsley looks a little better.
Upvotes: 0
Reputation: 3499
parsley.js is really nice -http://parsleyjs.org/ and it's been made into a gem for rails here - https://github.com/mekishizufu/parsley-rails
Upvotes: 3