/partial_annotation

A rails plugin which annotates beginning and end of partial by inserting a pair of comments.

Primary LanguageRubyMIT LicenseMIT

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