2009/3/7 Thomas Preymesser <[email protected]>:

> <td><%=h user.kommentar[0..20] %></td>

[0..19]

natürlich, wenn es die ersten 20 Zeichen sein sollen.

-Thomas

-- 
Thomas Preymesser
[email protected]
http://thopre.googlepages.com/
http://thopre.wordpress.com/
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/listinfo/rubyonrails-ug

Antwort per Email an