formaweb/parsley_simple_form
ParsleyJS together with SimpleForm. This very simple gem join both and putting Parsley attributes in your inputs as defined Rails validations! Just validate your models and the attributes will appear in the inputs.
RubyMIT