YesPaste! is a pastebin application written with Ruby On Rails. It allows you to add a comment to the paste, and allows user comments. Comments can be formatted with BBCode syntax (with [code][/code] possibilities). CodeRay is used for code highlighting.
It also permit paste editing.