Add begin/end html comments for rendered partials for debugging purposes
Ruby
Pull request Compare This branch is 2 commits ahead of avvo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
README
Rakefile
init.rb
install.rb
uninstall.rb

README

render_partial_comments
=======================

Simple plugin for adding begin/end partial html comments to render output in development mode.

install
=======

ruby script/plugin install git://github.com/avvo/render_partial_comments.git

Add the following you to config/environments/development.rb (or whichever env you like)

$render_partial_comments = true

usage
=====

It should add something like the following to your rendered pages (in development mode).

<!-- render_begin 'user/view' -->
...
<!-- render_end 'user/view' -->

about
=====

ben vandenbos 9.23.08