github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

fcheung / tattler

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 11
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.
  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

don't add comments if the template isn't html or xml 
fcheung (author)
Sat Apr 11 06:07:33 -0700 2009
commit  d8fffe00199860af25665668eea171aee53f3d32
tree    05933cdcf79f8bc69dd24a44ef0bf034ffdf80f0
parent  c5d9301ed4d3bee86c19a519dcac4befae3dfb12
tattler /
name age
history
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
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server