If you are looking for a good solution for syntax highlighting, we though we would try out Alex G's Syntax Highlighter.
It is a pretty comprehensive solution with minimal fuss.
All you need to do onece you include the neccessary files is set the class on the pre tags.
You can use plain, ruby, css, etc.
@posts.each do |post|
<%= post.name %>end