Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (7 sloc) 739 Bytes
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
Tested with rails 2.2.2 and 2.3.2
Copyright (c) 2009 [Frederick Cheung], released under the MIT license
Something went wrong with that request. Please try again.