Modyfikujemy views/posts/index  dodajemy:  <th>User</th>,  <td><%= post.user %></td>, <% if is_my_post?(post) %> ,  <td><%= link_to 'Edit', edit_post_path(post) %></td>,  <td><%= link_to 'Destroy', post, method: :delete, data: { confirm: 'Are you sure?' } %></td>,   <% end %>