diff options
Diffstat (limited to 'actionview/lib/action_view/helpers/tags/collection_helpers.rb')
-rw-r--r-- | actionview/lib/action_view/helpers/tags/collection_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/tags/collection_helpers.rb b/actionview/lib/action_view/helpers/tags/collection_helpers.rb index fb51460c8e..7607fe64d0 100644 --- a/actionview/lib/action_view/helpers/tags/collection_helpers.rb +++ b/actionview/lib/action_view/helpers/tags/collection_helpers.rb @@ -96,7 +96,7 @@ module ActionView # Prepend a hidden field to make sure something will be sent back to the # server if all radio buttons are unchecked. - if options.fetch('include_hidden', true) + if options.fetch("include_hidden", true) hidden_field + rendered_collection else rendered_collection |