mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c2d96d14ec
As discussed in #15304, we need to automate this process but for now, having out-of-date versions is not ideal. Since master targets 4.2.0, let's also update references to the last 4.1 version to 4.2.0. Finally, let's remove mentions to versions when this is not needed. The guides cover the features of the current version anyway. [Juanito Fatas + Robin Dupret]
19 lines
1,009 B
Text
19 lines
1,009 B
Text
<h2>Ruby on Rails Guides (<%= @edge ? @version[0, 7] : @version %>)</h2>
|
|
|
|
<% if @edge %>
|
|
<p>
|
|
These are <b>Edge Guides</b>, based on the current <a href="https://github.com/rails/rails/tree/<%= @version %>">master</a> branch.
|
|
</p>
|
|
<p>
|
|
If you are looking for the ones for the stable version, please check
|
|
<a href="http://guides.rubyonrails.org">http://guides.rubyonrails.org</a> instead.
|
|
</p>
|
|
<% else %>
|
|
<p>
|
|
These are the new guides for Rails 4.2 based on <a href="https://github.com/rails/rails/tree/<%= @version %>"><%= @version %></a>.
|
|
These guides are designed to make you immediately productive with Rails, and to help you understand how all of the pieces fit together.
|
|
</p>
|
|
<% end %>
|
|
<p>
|
|
The guides for earlier releases: <a href="http://guides.rubyonrails.org/v4.1.4/">Rails 4.1.4</a>, <a href="http://guides.rubyonrails.org/v4.0.8/">Rails 4.0.8</a>, <a href="http://guides.rubyonrails.org/v3.2.19/">Rails 3.2.19</a> and <a href="http://guides.rubyonrails.org/v2.3.11/">Rails 2.3.11</a>.
|
|
</p>
|