A rails plugin which annotates beginning and end of partial by inserting a pair of comments.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
MIT-LICENSE
README
Rakefile
init.rb

README

PartialAnnotation
=================

A rails plugin which annotates begnining and end of partial by inserting a pair of comments. See example below.

Example
=======
<%= render :partial => "/foo" %>

may become:

<!-- begin partial "_foo.html.erb" -->
  ... contents of foo
<!-- end partial "_foo.html.erb" -->

Install
=======
 $ script/plugin install git://github.com/hiroshi/partial_annotation.git

Todo
====
* Support templates other than html (e.g. Javascript commnets begin with "//")


Copyright (c) 2009 Hiroshi Saito (yakitara.com), released under the MIT license