From e6fe814bbe5bb025e0489d3999b872bd936acd94 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 31 Jan 2012 17:29:55 -0200 Subject: [PATCH] We are appending the hidden field now, not prepending --- lib/simple_form/action_view_extensions/builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simple_form/action_view_extensions/builder.rb b/lib/simple_form/action_view_extensions/builder.rb index 63cd0726..f6b63436 100644 --- a/lib/simple_form/action_view_extensions/builder.rb +++ b/lib/simple_form/action_view_extensions/builder.rb @@ -138,7 +138,7 @@ module SimpleForm end end - # Prepend a hidden field to make sure something will be sent back to the + # Append a hidden field to make sure something will be sent back to the # server if all checkboxes are unchecked. hidden = template.hidden_field_tag("#{object_name}[#{attribute}][]", "", :id => nil)