<% @activities.each do |activity| %> <%= activity.member_profile.name %> <%= activity.year %> <%= activity.activity_name %> <%= activity.activity_organizer %> <% end %>