ryanb/railscasts — pull request #55 by sindrenm (2012-03-14 18:54:16+00:00)
Title: Added button to discard a reply to a comment.

Hey!

I've created a button on your New Comment form which is visible only when the form is being used for replying to another comment. The button unobtrusively removes the form from the page (actually removes it from the DOM, it's not just hiding it). It's a small commit, but a feature I think should be available in those cases where you figure you really don't want to reply anyway, when you clicked the wrong reply link or whatever.

Hope you find it useful. :-)