News for hackers. Stuff that matters.
Re:Upgrading GitHub to Rails 3 with Zero Downtime by dazonic on Tuesday September 16, 2014 @09:39AM (#8324395)
In the multi-version, how would they handle the different DSLs in things like route mapping?

map.resources :users

vs.

resources :users

Re:Upgrading GitHub to Rails 3 with Zero Downtime by charliesome on Tuesday September 16, 2014 @10:00AM (#8324478)
Rails 3.0 has a legacy routing mapper that lets us continue using the Rails 2.3 routing syntax. The legacy routing mapper is also available as a gem [1] for Rails 3.1 and 3.2.

We plan on gradually upgrading our routes file to use the new syntax now that we're on Rails 3, but as you can imagine it's something that we're going to need to be slow and careful about.

[1]: https://github.com/pixeltrix/rails_legacy_mapper