aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorokuramasafumi <masafumi.o1988@gmail.com>2019-04-29 11:32:49 +0900
committerokuramasafumi <masafumi.o1988@gmail.com>2019-04-29 14:11:13 +0900
commitfd205edd7dacc832dd6298531702dbea00aba8dd (patch)
treee316a2841ccbc16f71484b0e4063f2b0704826f9 /activesupport/test
parent3c823271af52a61e825123def170fe2187057577 (diff)
downloadrails-fd205edd7dacc832dd6298531702dbea00aba8dd.tar.gz
rails-fd205edd7dacc832dd6298531702dbea00aba8dd.tar.bz2
rails-fd205edd7dacc832dd6298531702dbea00aba8dd.zip
Improve error message of ActiveSupport delegate
ActiveSupport `delegate` has `to` option, but it's not a option hash anymore and now it's a keyword argument. When `to` argument is not given, it raises an ArgumentError but the message suggests supplying "options hash", which is now wrong. Now it's fixed to provide correct suggestion to supply a keyword argument.
Diffstat (limited to 'activesupport/test')
0 files changed, 0 insertions, 0 deletions