aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/form_options_helper.rb
diff options
context:
space:
mode:
authorAlberto Almagro <albertoalmagro@gmail.com>2019-01-11 00:06:25 +0100
committerAlberto Almagro <albertoalmagro@gmail.com>2019-01-11 00:06:25 +0100
commit985580906a7ec10f669486c861e9351a2a1e232b (patch)
treed59485f026398d7a0e87fcf2a85d12695f7db3bf /actionview/lib/action_view/helpers/form_options_helper.rb
parentfd21b590d1e4e8dfd79748235f49d03dbe0e7eba (diff)
downloadrails-985580906a7ec10f669486c861e9351a2a1e232b.tar.gz
rails-985580906a7ec10f669486c861e9351a2a1e232b.tar.bz2
rails-985580906a7ec10f669486c861e9351a2a1e232b.zip
Fix typo in collection_radio_buttons spec [ci skip]
Diffstat (limited to 'actionview/lib/action_view/helpers/form_options_helper.rb')
-rw-r--r--actionview/lib/action_view/helpers/form_options_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/form_options_helper.rb b/actionview/lib/action_view/helpers/form_options_helper.rb
index ebdd96f570..a7747456a4 100644
--- a/actionview/lib/action_view/helpers/form_options_helper.rb
+++ b/actionview/lib/action_view/helpers/form_options_helper.rb
@@ -654,7 +654,7 @@ module ActionView
#
# ==== 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,