(отредактировано для Rails 3 согласно комментарию ниже)
Если я понимаю вопрос, вы хотите, чтобы пользователь мог вводить HTML в своем посте.
Прежде всего, если вы вводите HTML-теги вручную, но они отображаются в виде обычного текста (например, instead of the actual image) you have to go into your view and add "raw" before the post body.
<%= @post.body %>
should be
<%= raw @post.body %>
Rails 3 by default protects you against users that try to insert HTML into unwanted parts of your site. For example without it if I leave a comment on your post, I could insert some malicious tags. But if you're the only one making posts, that's obviously not an issue, so it's safe to display the "raw" html content.
As for the HTML itself, you could conceivably make your text field interpret rails code (like the link_to or image_tag helpers) but that's bat country, unless you're really, really sure what you're doing I wouldn't go there. (And even if you do know I wouldn't recommend it.)
You can look into a simpler markup language like RedCloth , очень прост в реализации, но также несколько ограничены, или вы можете сделать полный WYSIWYG, например, CKEditor или WYMEditor
StackOverflow использует WMD-редактор , комбинацию простого механизма разметки и текстового поля WYSIWYG.
Я обычно работаю с CKE, потому что у него очень полный набор функций, и его легко использовать людям, привыкшим к MSWord-подобным редакторам.