<%= day.day %>
<%= @shifts.select{|i| i.shift_date.to_date == day.to_date}.map{|i| i.employee_nic}.join(', ')%>