diff options
author | utilum <oz@utilum.com> | 2018-04-04 11:05:07 +0200 |
---|---|---|
committer | utilum <oz@utilum.com> | 2018-04-04 11:05:14 +0200 |
commit | 73e9b854d87f52b1028636100ae8aecf45540fd0 (patch) | |
tree | 60009e6ded185fb23b7f920c7464cfe4ce0c2606 /actionview/lib | |
parent | a07d0680787ced3c04b362fa7a238c918211ac70 (diff) | |
download | rails-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/lib')
-rw-r--r-- | actionview/lib/action_view/helpers/form_helper.rb | 2 |
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 |