Ruby doesn't seem to have any method to convert my text to HTML before putting it on the page, so newlines do not appear. What am I missing?
+4
A:
The simple_format view helper is typically a good starting point for this sort of thing.
Dave Pirotte
2010-09-18 14:27:12
Thanks; it works great, but what do you mean by saying it's a starting point?
Josh
2010-09-18 17:24:19
When you will come to the point, where newlines aren't enough for formatting, then check stuph like RedCloth, BlueCloth, RDiscount, etc.
mdrozdziel
2010-09-18 18:59:07