[ci-skip] Allow a string value

The value for activerecord.errors.messages.restrict_dependent_destroy
can be an array or a string.

See 094e3494cc9a39596d84f6cde94537e2b37e51b0