<h4> <%= !@beer || @ingredient.beers.count > 1 ? "Also found in:" : "#{@beer.name} is our only beer with this ingredient." %> </h4>
<% @ingredient.beers.each do |beer| %>
  <% if beer != @beer %>
    <%= render partial: 'beers/beer', locals: {beer: beer} %>
  <% end %>
<% end %>

<h4>
  <% if @ingredient.beers.count > 0 %>
    <% if @beer %>
      <%= @ingredient.beers.count > 1 ? "Also found in:" : "#{@beer.name} is our only beer with this ingredient." %>
    <% else %>
      <%= "Found in:" %>
    <% end %>
  <% else %>
    <%= "None of our current beers use this ingredient." %>
  <% end %>
   </h4>
<% @ingredient.beers.each do |beer| %>
  <% if beer != @beer %>
    <%= render partial: 'beers/beer', locals: {beer: beer} %>
  <% end %>
<% end %>

Modify other beers shown on Ingredient show page
Modify other beers shown on Ingredient show page
