It's probably best to ensure. Because as stated in https://github.com/rails/rails/pull/15178/files#r12805499 there should be an assertion after adding the renderer.