Forum: Ruby on Rails Truncate and textilize

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
5533357293ba87befa4fa55450753ccc?d=identicon&s=25 Dave A. (Guest)
on 2007-02-17 21:26
Hi, this is probably an obvious question, but I want to textilize and
truncate the same thing. Nesting them in parenthesis didn't seem to work
for me. Here is what I have:

<%= truncate(friend.about_me, length = 140, truncate_string = "...") %>

How do I get it to recognize textile as well?

This topic is locked and can not be replied to.