aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorutilum <oz@utilum.com>2018-04-04 11:05:07 +0200
committerutilum <oz@utilum.com>2018-04-04 11:05:14 +0200
commit73e9b854d87f52b1028636100ae8aecf45540fd0 (patch)
tree60009e6ded185fb23b7f920c7464cfe4ce0c2606 /actionview
parenta07d0680787ced3c04b362fa7a238c918211ac70 (diff)
downloadrails-73e9b854d87f52b1028636100ae8aecf45540fd0.tar.gz
rails-73e9b854d87f52b1028636100ae8aecf45540fd0.tar.bz2
rails-73e9b854d87f52b1028636100ae8aecf45540fd0.zip
passing splat keyword arguments as a single Hash
Ruby 2.6.0 warns about this.
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/form_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb
index afd49286e6..2d5c5684c1 100644
--- a/actionview/lib/action_view/helpers/form_helper.rb
+++ b/actionview/lib/action_view/helpers/form_helper.rb
@@ -1970,7 +1970,7 @@ module ActionView
convert_to_legacy_options(options)
- fields_for(scope || model, model, **options, &block)
+ fields_for(scope || model, model, options, &block)
end
# Returns a label tag tailored for labelling an input field for a specified attribute (identified by +method+) on an object