aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/form_options_helper.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2019-01-10 18:08:54 -0500
committerGitHub <noreply@github.com>2019-01-10 18:08:54 -0500
commit7d7a952c6f8149edbebf0c2293dbeed08717dd19 (patch)
treed59485f026398d7a0e87fcf2a85d12695f7db3bf /actionview/lib/action_view/helpers/form_options_helper.rb
parentfd21b590d1e4e8dfd79748235f49d03dbe0e7eba (diff)
parent985580906a7ec10f669486c861e9351a2a1e232b (diff)
downloadrails-7d7a952c6f8149edbebf0c2293dbeed08717dd19.tar.gz
rails-7d7a952c6f8149edbebf0c2293dbeed08717dd19.tar.bz2
rails-7d7a952c6f8149edbebf0c2293dbeed08717dd19.zip
Merge pull request #34919 from albertoalmagro/fix-typo-collection-radio-buttons-spec
Fix typo in collection_radio_buttons spec
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,