Skip to content

Commit

Permalink
Fix typo in collection_radio_buttons spec [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoalmagro committed Jan 10, 2019
1 parent fd21b59 commit 9855809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/lib/action_view/helpers/form_options_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9855809

Please sign in to comment.