<% if badge_version = @edge ? "edge" : @version %>
<%= badge_version %>
<% end %>
More at rubyonrails.org: More Ruby on Rails

<%= yield :header_section %> <%= yield :index_section %>
<%= yield %>

Feedback

You're encouraged to help improve the quality of this guide.

Please contribute if you see any typos or factual errors. To get started, you can read our <%= link_to 'documentation contributions', 'https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#contributing-to-the-rails-documentation' %> section.

You may also find incomplete content or stuff that is not up to date. Please do add any missing documentation for master. Make sure to check <%= link_to 'Edge Guides', 'https://edgeguides.rubyonrails.org' %> first to verify if the issues are already fixed or not on the master branch. Check the <%= link_to 'Ruby on Rails Guides Guidelines', 'ruby_on_rails_guides_guidelines.html' %> for style and conventions.

If for whatever reason you spot something to fix but cannot patch it yourself, please <%= link_to 'open an issue', 'https://github.com/rails/rails/issues' %>.

And last but not least, any kind of discussion regarding Ruby on Rails documentation is very welcome on the <%= link_to 'rubyonrails-docs mailing list', 'https://discuss.rubyonrails.org/c/rubyonrails-docs' %>.