I don't think you need the '-' symbol. What is it used for?

<% @pieces.each do |p| %> works for me