diff --git a/railties/guides/source/index.html.erb b/railties/guides/source/index.html.erb index 84e25dd0e9..e6d327168a 100644 --- a/railties/guides/source/index.html.erb +++ b/railties/guides/source/index.html.erb @@ -3,7 +3,7 @@ Ruby on Rails Guides <% end %> <% content_for :header_section do %> -

Ruby on Rails Guides

+

Ruby on Rails Guides (<%= ENV['RAILS_VERSION'] || 'edge' %>)

<% if @edge %>

@@ -14,8 +14,12 @@ Ruby on Rails Guides If you are looking for the ones for the stable version please check http://guides.rubyonrails.org instead.

+<% else %> +

+ These are the new guides for Rails 3. The guides for Rails 2.3 are still available + at http://guides.rubyonrails.org/v2.3.8/. +

<% end %> -

These guides are designed to make you immediately productive with Rails, and to help you understand how all of the pieces fit together.