The current version supports Simple Form >= 3. For Simple Form 2 support use
'judge-simple_form', ~> '0.4'.
Do this in your Gemfile:
Remember to setup Judge in your SimpleForm initializer. Put
b.use :judge above
b.use :input or
config.wrappers do |b| b.use :judge end
:validate => true to the input options in your views. That's all.
<%= simple_form_for(@user) do |f| %> <%= f.input :name, :validate => true %> <% end %>
Judge is a client-side validation gem for Rails.