I like that you broke out and completed preparatory steps ahead of actually upgrading Rails, but the blog post points out some process smells. Title Upgrading Airbnb from Rails 2.3 to Rails 3.0 Date January 4, 2012 Why are you blogging about upgrading to Rails 3.0.x when the current stable Rails has been 3.1.x for over 4 months? > Our app was running Rails 2.3.8 at the time, and the production instances were a mess.…
> Also, shouldn't these simple bugs be quickly and fully discovered by automated tests? Do you actually believe this? Tests are a nice first pass, but they'll never fully discover every bug -- especially with a huge change like this.
Upgrading Airbnb from Rails 2.3 to Rails 3.0
21–29 of 29 posts
Re: Upgrading Airbnb from Rails 2.3 to Rails 3.0
#22I'm just as interested in knowing what happened after the upgrade. How's performance on 2.3 vs. 3.0? Are there plans to upgrade to 3.1 anytime soon? Has using 3.0 increased developer or ops productivity in any measurable way?
There is a drastic decrease in response times with switching from 1.8.7 MRI or 1.8.7 REE to 1.9.x MRI.
Re: Upgrading Airbnb from Rails 2.3 to Rails 3.0
#23Re: Upgrading Airbnb from Rails 2.3 to Rails 3.0
#24An amazing feat seeing that airbnb doesn't employ any programmers (I know that because the interface bugs I reported as a paying customer were handled by the PR department or simply ignored).
Re: Upgrading Airbnb from Rails 2.3 to Rails 3.0
#25Earlier quoted context omitted.
If timezones aren't good enough to display the time, what good are they? If Mexico is calling PST/PDT a different time than everyone else, shouldn't they be using new values instead?
The timezone names most countries use are not unique or entirely stable as time goes by. E.g., America and Australia disagree about what "Eastern Standard Time" means. That's why the Olson/Eggert database names zones for major cities, those are most stable and well known. http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
EST = Eastern Standard Time (East US)
AEST = Australian Eastern Standard Time (East Aus)
Occasionally we use "EST" as a shortened form of "AEST", but it's rare.
Re: Upgrading Airbnb from Rails 2.3 to Rails 3.0
#26I like that you broke out and completed preparatory steps ahead of actually upgrading Rails, but the blog post points out some process smells. Title Upgrading Airbnb from Rails 2.3 to Rails 3.0 Date January 4, 2012 Why are you blogging about upgrading to Rails 3.0.x when the current stable Rails has been 3.1.x for over 4 months? > Our app was running Rails 2.3.8 at the time, and the production instances were a mess.…
> Clone the rails3 branch into a separate directory from the usual working directory (instead of simply switching branches)
What does this accomplish?
Re: Upgrading Airbnb from Rails 2.3 to Rails 3.0
#27An amazing feat seeing that airbnb doesn't employ any programmers (I know that because the interface bugs I reported as a paying customer were handled by the PR department or simply ignored).
Sometimes at a startup you just don't have the resources to do everything. Upgrading to Rails 3 pays down their technical debt substantially and will help prevent interface bugs like the ones you encountered in the future.
Re: Upgrading Airbnb from Rails 2.3 to Rails 3.0
#28I like that you broke out and completed preparatory steps ahead of actually upgrading Rails, but the blog post points out some process smells. Title Upgrading Airbnb from Rails 2.3 to Rails 3.0 Date January 4, 2012 Why are you blogging about upgrading to Rails 3.0.x when the current stable Rails has been 3.1.x for over 4 months? > Our app was running Rails 2.3.8 at the time, and the production instances were a mess.…
Furthermore: > Clone the rails3 branch into a separate directory from the usual working directory (instead of simply switching branches) What does this accomplish?
Re: Upgrading Airbnb from Rails 2.3 to Rails 3.0
#29Earlier quoted context omitted.
Furthermore: > Clone the rails3 branch into a separate directory from the usual working directory (instead of simply switching branches) What does this accomplish?
When I've done similar upgrades, I've often found it quicker to have the previous code available to me in another checked out repo rather than switch branches and have to deal with any possible uncommitted changes issues.