<%- headers = ['nickname', 'schulden'] -%>
<%= CSV.generate_line headers -%>
<% @users.each do |user| %><%= CSV.generate_line([user.nickname, user.debt]) %><% end %>