Hello,

My messages model got a "status" field. What i would like to do is wrap <strong> around the link if message.status = new. How should such a task be sovled in RoR?

VIEW:
Code Ruby:
<% for message in @messages %>
	<li>
		<%= link_to message.subject, {:action => 'show',:id => message.id} %>
	</li>
 
<% end %>

Best regards.
Asbjørn Morell