ActionController::Responder patch for https://github.com/rails/rails/issues/12253