fcheung / tattler

This URL has Read+Write access

name age message
file MIT-LICENSE Fri Apr 03 10:46:42 -0700 2009 Initial import [fcheung]
file README Fri Apr 03 10:49:08 -0700 2009 clarify rails version [fcheung]
file Rakefile Fri Apr 03 10:46:42 -0700 2009 Initial import [fcheung]
file init.rb Fri Apr 03 10:46:42 -0700 2009 Initial import [fcheung]
directory lib/ Sat Apr 11 06:07:33 -0700 2009 don't add comments if the template isn't html o... [fcheung]
directory test/ Sat Apr 11 06:07:33 -0700 2009 don't add comments if the template isn't html o... [fcheung]
README
Tattler
=======

A dinky little plugin that you may find helpful if you work with designers or when getting to grips with a new codebase.


It's common task to split views up into nice reusable partials. However this can sometimes make it hard to pin down what 
file produced the html that you are looking at (especially if you are a non rails-savvy designer who is not familiar 
with rails' conventions). This plugin inserts an HTML comment every time a file is rendered with the path to the 
template.

Inspired by 
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/9629e034c58c4d70/dba61934489544ff#dba61934489544ff


Tested with rails 2.2.2 and 2.3.2

Copyright (c) 2009 [Frederick Cheung], released under the MIT license