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