ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
>
<%= link_to "I'm interested", post_path(post.id), class: 'interested' %>
<%= truncate(post.title, :length => 60) %>
Posted by <%= post.user.name %>
<%= post.title %>
<%= post.content %>
<%= link_to "I'm interested", post_path(post.id), class: 'interested' %>
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
じょうきがレンダーを使わない場合
<%= truncate(post.title, :length => 60) %>
Posted by <%= post.user.name %>
<%= post.title %>
<%= post.content %>
<%= link_to "I'm interested", post_path(post.id), class: 'interested' %>
をコピーしてeach do するだけ!!
回答
>
60) %>
Posted by