1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

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

  1. Clicks today:
  2. Clicks this month:
  3. Overall rating:

Ruby on Rails » Basics — over 11 years ago
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.


avatarholman (administrator and creator)over 11 years ago

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:


Your Comment

You must be logged in to post a comment.