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

Merge pull request #14436 from arunagw/aa-warning-removed-grouped-expression

Warning removed (...) interpreted as grouped expression
This commit is contained in:
Rafael Mendonça França 2014-03-20 12:06:15 -05:00
commit f522aebb6a

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]