Hacker News new | ask | show | jobs
by dazonic 4293 days ago
In the multi-version, how would they handle the different DSLs in things like route mapping?

map.resources :users

vs.

resources :users

1 comments

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