This project is archived and is in readonly mode.
Namespaces routes and deprecation warnings
-
David Trasbo
- Assigned user set to Ryan Bigg
It's a problem with your routes file. You simply need to move the
manage.resources :events do |event|block above theeditionsresource.Versions prior to Rails 3.0 would look through the entire routes file every time it had to generate a URL and find the "best" match. "Best" basically means that if there are two options, one with query strings and one without, the one without is preferred.
In your case it hits it hits the
manage.resources :editionsand goes "hey, this route matches if we put anevent_idquery string at the end", where old Rails would hit theevent.resources :editionsline and go "hey, this is a perfect match, no query strings!"This ticket can be closed.
-
Rohit Arondekar
- State changed from new to invalid