ruby-rcade/RubyGameDev.com

View on GitHub
app/views/posts/_tags.html.erb

Summary

Maintainability
Test Coverage
<div class="tags">
  <% post.tags.each do |tag| %>
    <span><%= link_to tag.title, tag %></span>
  <% end %>
</div>