How to set a character limit for a Ruby on Rails RSS feeds

Submitted by bigimaginations » I was making a RSS feed the other day and wanted to limit the number of characters in my description. Here is how I did it.
Rating: 4.0/5 | 3,039 clicks | 1 comment | 0 saves | share | report

Comments on this tutorial

zachholmanNovember 21, 2007
creator and administrator

Fairly simplistic tutorial, but interesting nonetheless. For further exploration, this is from Rails' TextHelper module, which has a number of really, really time-saving methods:

http://api.rubyonrails.com/classes/ActionView/Helpers/TextHelper.html

Discuss this tutorial

You must be logged in to comment on a tutorial.