Отчет №: <%= @report.id %> Дата: <%= @report.date %> Логин: <%= @report.name %> Изменения внес: <%= @audits.first.employee.login if @audits && @audits.size > 0 && @audits.first.employee %> Измененные данные: <% for audit in @audits do %> ================== Параметр: <%= audit.comment%> Было: <%= audit.old_value%> Стало: <%= audit.new_value%> ================== <% end %> http://sdelka.rinet.net/private/<%= @report.id%>/edit