5 ms·
In the multi-version, how would they handle the different DSLs in things like route mapping? map.resources :users vs. resources :users
by dazonic 12y ago
In the multi-version, how would they handle the different DSLs in things like route mapping?
map.resources :users
vs.
resources :users
- charliesome 12y agoRails 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 https://github.com/pixeltrix/rails_legacy_mapper