I finally made my first contribution to rails, although it’s not a big fix nor anything like that, is a way to get started.
If you have read my last posts, you will see how to install and works with rails edge, but now I’ll explain how to setup a good rails environment to live in the edge and to help ruby on rails community by checking the issues posted on lighthouseapp.com to see if they are a real bug or not, to create patches for bugs, or why not, to create a new functionality for the rails framework.
Supposing that you already installed the last version of rails, you will need to get the rails code checked out from github, and make your demo project to use that version, so you can modify that version to create fixes, to test fixes, etc.
git checkout http://github.com/rails/rails.git
Now that you just create an application for doing test/development
rails new my_app
Edit the Gemfile of my_app (my_app/Gemfile) to use the rails code you are going to work with, by giving the rails gem a parameter :path where your code of ruby on rails is installed
gem 'rails', :path => File.expand_path('../../rails', __FILE__)
And that’s all, now you can follow this guide to know how to work with git in order to post valid patches.