Ruby on Rails Guides docrails Table of Contents Introduction Welcome Copyright & License <% play_order = 4 %> <% documents_by_section.each_with_index do |section, section_no| %> <%= section['name'] %> <% section['documents'].each_with_index do |document, document_no| %> <%= document['name'] %> <% end %> <% end %>