diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-14 23:39:55 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-14 23:39:55 +0530 |
commit | 5f2a35604e8180c916796abc93189bd1e0f7987f (patch) | |
tree | 81d0f44ea9c59a09fe9335763331c885c2e94adc | |
parent | dcd70773fc66f84555cf55de0c0c2b8cd8ae8cc1 (diff) | |
download | rails-5f2a35604e8180c916796abc93189bd1e0f7987f.tar.gz rails-5f2a35604e8180c916796abc93189bd1e0f7987f.tar.bz2 rails-5f2a35604e8180c916796abc93189bd1e0f7987f.zip |
Mention that old fixes are to be done on 3-0-stable
-rw-r--r-- | railties/guides/source/contributing_to_ruby_on_rails.textile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/guides/source/contributing_to_ruby_on_rails.textile b/railties/guides/source/contributing_to_ruby_on_rails.textile index 90eab150a1..86e31d79ee 100644 --- a/railties/guides/source/contributing_to_ruby_on_rails.textile +++ b/railties/guides/source/contributing_to_ruby_on_rails.textile @@ -200,11 +200,11 @@ You can also invoke +test_jdbcmysql+, +test_jdbcsqlite3+ or +test_jdbcpostgresql h4. Older versions of Ruby on Rails -If you want to add a fix to older versions of Ruby on Rails, you'll need to set up and switch to your own local tracking branch. Here is an example to switch to the 2-3-stable branch: +If you want to add a fix to older versions of Ruby on Rails, you'll need to set up and switch to your own local tracking branch. Here is an example to switch to the 3-0-stable branch: <shell> -$ git branch --track 2-3-stable origin/2-3-stable -$ git checkout 2-3-stable +$ git branch --track 3-0-stable origin/3-0-stable +$ git checkout 3-0-stable </shell> TIP: You may want to "put your git branch name in your shell prompt":http://qugstart.com/blog/git-and-svn/add-colored-git-branch-name-to-your-shell-prompt/ to make it easier to remember which version of the code you're working with. |