<% content_for :page_title, "Ruby on Rails Guides" %> <% content_for :description, "Ruby on Rails Guides" %> <% content_for :header_section do %> <%= render 'welcome' %> <% end %> <% content_for :index_section do %>
<% unless @edge -%>
Rails Guides are also available for <%= link_to 'Kindle', @mobi %>.
<% end -%>
Guides marked with this icon are currently being worked on and will not be available in the Guides Index menu. While still useful, they may contain incomplete information and even errors. You can help by reviewing them and posting your comments and corrections.
<% end %> <% documents_by_section.each do |section| %>

<%= section['name'] %>

<% section['documents'].each do |document| %> <%= guide(document['name'], document['url'], work_in_progress: document['work_in_progress']) do %>

<%= document['description'] %>

<% end %> <% end %>
<% end %>