Permalink
Browse files

Fix typo in collection_radio_buttons spec [ci skip]

  • Loading branch information...
albertoalmagro committed Jan 10, 2019
1 parent fd21b59 commit 985580906a7ec10f669486c861e9351a2a1e232b
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionview/lib/action_view/helpers/form_options_helper.rb
@@ -654,7 +654,7 @@ def time_zone_options_for_select(selected = nil, priority_zones = nil, model = :
#
# ==== Gotcha
#
# The HTML specification says when nothing is select on a collection of radio buttons
# The HTML specification says when nothing is selected on a collection of radio buttons
# web browsers do not send any value to server.
# Unfortunately this introduces a gotcha:
# if a +User+ model has a +category_id+ field and in the form no category is selected, no +category_id+ parameter is sent. So,

0 comments on commit 9855809

Please sign in to comment.