i have a problem. i have table. and i want to make td in table to be a links
i was trying to do like this
=link_to " ", message
%td
From:
=link_to message.sender.name,message.sender
%br
Theme:
=message.theme
%br
Content:
=message.content
but it writes an error
syntax error, unexpected keyword_ensure, expecting $end
but i dont know about what “end” it is talking about.
So how to solve this problem? Thanks in advance!
According to the docs you can do this:
which should yield markup like this:
This is AFAIK not valid HTML. So you might want to do this: