With active_storage_validations 0.9.6, we can use the %{max_size} variable directly in the error message.