Annotate HTML output with template names
November, 2020
If you have ever opened your HTML source in the browser and wondered which templates were rendering which part of the page, this feature is for you.
# Render template filenames as comments in HTML
config.action_view.annotate_template_file_names = true