<%= @user.name %>

<% @user.transactions.each do |transaction| %> <% end %>
ID Debtor Creditor Amount Origin Message Time
<%= transaction.id %> <%= transaction.debtor.name %> <%= transaction.creditor.name %> <%= transaction.amount %> <%= transaction.origin %> <%= transaction.message %> <%= transaction.created_at %>