Repository is archived
No commit activity in last 3 years
No release in over 3 years
Wraps rendered templates with html comments showing the template path. Also throws in some meta tags which are easier to copy/paste in devtools. To use, call `RailsTemplateDebugger.debug_templates`, e.g. in config/environments/development.rb
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 5.0
~> 10.0

Runtime

 Project Readme

RailsTemplateDebugger

Wraps rendered templates with html comments showing the template path. Also throws in some meta tags which are easier to copy/paste in devtools.

Installation

Add this line to your application's Gemfile:

gem 'rails_template_debugger'

and initialize the gem somewhere, e.g.

# config/environments/development.rb
RailsTemplateDebugger.debug_templates

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the RailsTemplateDebugger project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.