John Yerhot wrote: > <%= post.body, :class=> "body_text" %> > > On Aug 10, 11:40�am, Philip Gavrilos <rails-mailing-l...@andreas-
I have been tried this but dint work :/ error: SyntaxError in Posts#show compile error /Users/webstic/Sites/weblog2/app/views/posts/_post.html.erb:6: syntax error, unexpected tASSOC, expecting tCOLON2 or '[' or '.' ...r.concat(( post.body, :class=> "body_text" ).to_s); @output_... ^ -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---