I’d like to wrap all partial
calls with “begin” and “end” HTML comments. This would allow for ‘breadcrumbs’ to help debugging/understanding of the built code. Any ideas on how to proceed?
Am I correct that partial
is in the domain of Padrino? (I found partial
defined in Padrino::Helpers::RenderHelpers.)
Could this be done cleanly via an extension? Or would there be some monkey-patching required to override/alias methods?
Any pointers or leads would be appreciated. Thanks!