rails/rails — pull request #6031 by lellisga (2012-04-28 06:55:22+00:00)
Title: Truncate now has the ability to receive a html option that allows it to call rails helpers.

This way if my text is long I don't have to do something like this:

.text
= truncate(@text, :length => 27)
- if @text.size >= 27
= link_to "continue", notes_path, .....