anchor.diff: +<%  def choose_thump (post) %>
  +<%    rating = post.get_upvotes.size - post.get_downvotes.size %>	
  +<%  if rating > 0 %>
  +<%	  image = 'like.svg' %>
  +<%  else %>
  +<%	  image = 'like.svg' %>
  +<%  end%> 
  +<%  return rating, image %>
  +<%  end%>	 
  +
   <ul class="small-block-grid-1 medium-block-grid-3 large-block-grid-4">
   	<% @posts.each do |post| %>
   		<li>	
  
positive.code: 		</li>
  	<% end %>
  </ul>
  
negative.code: 				<%= link_to post_path(post) do %>
  				<%= image_tag post.image.url(:medium) %>
  				<% end %>
  				<% @rating, @image = choose_thump(post) %>
  				<div>
  					<%= image_tag @image %>	    
  					<span> 
  					  <%= @rating %>
  				  </span>
  