<% content_for :page_title do %> Ruby on Rails Guides <% end %>

Table of Contents

<% documents_by_section.each_with_index do |section, i| %>

<%= "#{i + 1}." %> <%= section['name'] %>

<% end %>