<% results.reverse_each do |result| %> <%= render partial: 'my_modules/result', locals: { result: result } %> <% end %>