David Smit
David Smit

Reputation: 111

Rails Routes Question

Did the rules for Rails Routes changes from Rails 1.2.3 to Rails 2.2.3? I recently upgraded an application and instead of redirecting to the correct page, it now redirects to the main page (or Route page) for that matter.

The only thing that I can think of is that the routing rules changed in Rails 2.2.3.

Thanks

Upvotes: 0

Views: 287

Answers (1)

Chris McCauley
Chris McCauley

Reputation: 26373

Yep there were a lot of changes as you can see here (look at the Action Pack Resources section) "This is where the bulk of the action for 2.0 has gone". If you're using the old semi-colon syntax then that could well be the problem. Do you want to post your route config and a quick description of what is not working?

Also, to diagnose routing problems I find running "rake routes" very useful (though set your terminal window to wide).

Chris

Upvotes: 5

Related Questions