1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Warning removed (...) interpreted as grouped expression

This commit is contained in:
Arun Agrawal 2014-03-20 21:01:00 +05:30
parent a2a7f8bf20
commit 886fcb0f77

View file

@ -42,7 +42,7 @@ module ActionView
':variant. Please update your code to pass a Hash argument. ' \
'Support for the old method signature will be removed in Rails 5.0.'
_options_for_digest (deprecated_args[2] || {}).merge \
_options_for_digest(deprecated_args[2] || {}).merge \
name: options_or_deprecated_name,
format: deprecated_args[0],
finder: deprecated_args[1]