search for: 2568fd6b

Displaying 1 result from an estimated 1 matches for "2568fd6b".

2006 Apr 27
6
How to trim a string?
This must be really simple but I have looked everywhere. I have a <%= item.description -% in my view and I want to trim it to 10 words. The description can be long and I want to trim this in my preview? -- Posted via http://www.ruby-forum.com/.