Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails website documentation for an older version

Rails has beautiful documentation on their guides and their website: http://guides.rubyonrails.org/association_basics.html

I am taking on an application that uses Rails 2.2.2 but the documentation on the rails site is for the latest version. How could I find the 2.2.2 documentation?

In other words check out how Django does it: https://docs.djangoproject.com/en/dev// You can click which version it is and the documentation will adjust accordingly?

I do see that RailsBrain.com has an previous release docs, but they only display the API and I am looking for the nice site(ie. how current release site looks but for 2.2.2)

Thanks.

like image 437
Kamilski81 Avatar asked Jul 13 '11 15:07

Kamilski81


People also ask

How do I use different versions of rails?

To know all rails versions released, you check out on all rails versions. You can also do it with your terminal with the command line gem list rails --remote --all | grep "^rails " . I you want to install rails on another version of ruby, you need to switch version of ruby and re-install version of rails.


2 Answers

http://apidock.com/rails/ has a version scale to see documentation for different versions.

Also official guides have branches for any older versions, e.g. Rails 2.3: http://guides.rubyonrails.org/v2.3.11/, Rails 3.2: http://guides.rubyonrails.org/v3.2.13/

like image 88
RocketR Avatar answered Oct 06 '22 00:10

RocketR


Try this one:

http://railsguides.heroku.com/

It's a collection of the guides of each version.

Btw, Its old one is based on 2.3.5 but it will be much easier than reading the new one.

like image 43
robertodecurnex Avatar answered Oct 06 '22 00:10

robertodecurnex