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