Philip Gavrilos wrote: > Marnen Laibow-Koser wrote: >> Philip Gavrilos wrote: >>> 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 >> >> Remove the comma. >> >> Best, >> -- >> Marnen Laibow-Koser >> http://www.marnen.org >> mar...@marnen.org > > > when i remove the comma im getting this:
Yeah, sorry, that was a mistake on my part. You will probably have to wrap post.body in a div or span to specify the appropriate class. Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- 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 -~----------~----~----~----~------~----~------~--~---