Devguru
Truncate string preserving only full words (Ruby, RoR)

Easy method to cut string to a defined length without leaving words cut in half.

Have fun using it :)