From 7800e3bee135799df12b6f320445b78b2b8ef937 Mon Sep 17 00:00:00 2001 From: dfens Date: Wed, 8 May 2013 16:48:09 +0200 Subject: [PATCH] Remove field_error_proc doc from initializer --- .../templates/config/initializers/simple_form.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/generators/simple_form/templates/config/initializers/simple_form.rb b/lib/generators/simple_form/templates/config/initializers/simple_form.rb index f45417d6..cf9ab21d 100644 --- a/lib/generators/simple_form/templates/config/initializers/simple_form.rb +++ b/lib/generators/simple_form/templates/config/initializers/simple_form.rb @@ -136,11 +136,4 @@ SimpleForm.setup do |config| # Cache SimpleForm inputs discovery # config.cache_discovery = !Rails.env.development? - - # Override the default ActiveModelHelper behaviour of wrapping the input. - # This gets taken care of semantically by adding an error class to the wrapper tag - # containing the input. - # config.field_error_proc = proc do |html_tag, instance_tag| - # html_tag - # end end