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

avvo / render_partial_comments

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 5
    • 0
  • Source
  • Commits
  • Network (0)
  • 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.

Add begin/end html comments for rendered partials for debugging purposes — Read more

  cancel

http://ruby-on-the-interrails.blogspot.com/2008/09/rails-hack-adding-html-comments-to.html

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

This URL has Read+Write access

adding tests 
bvandenbos (author)
Wed Sep 24 08:41:52 -0700 2008
commit  ea3132310044315bf5adb0c479a9241fa50845fc
tree    b885ef03f5ed6e0864a031cf612ee669fde14f3f
parent  c095954b0955c7607cf752ae7c6e51d8150ea841
render_partial_comments /
name age
history
message
file README Loading commit data...
file Rakefile
file init.rb
file install.rb
directory lib/
directory test/
file uninstall.rb
README
render_partial_comments
=======================

Simple plugin for adding begin/end partial html comments to render output in development mode.

install
=======

ruby script/plugin install git://github.com/avvo/render_partial_comments.git

Add the following you to config/environments/development.rb (or whichever env you like)

$render_partial_comments = true

usage
=====

It should add something like the following to your rendered pages (in development mode).

<!-- render_begin 'user/view' -->
...
<!-- render_end 'user/view' -->

about
=====

ben vandenbos 9.23.08
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