Hi,
I have written a littel rails application with rails 1.x , and used
something like
redirect_to :controller => "aaa" , :action => "bbb" , :id => 123
within a controller to jump into a different controller's action. It
worked.
Since upgrade to Rails 2.0 it does not work anymore, but generates an
error message like
Couldn't find SomeModelClass with ID=bbb
As far as I can see the URL structure has changed from rails 1.3 to
2.0
it was /controller/action/id
but now is /controller/id/action
where e.g. /controller is mapped to 'index' and /controller/
id is mapped to 'show'
Does anybody know why this was changed and how to use redirect_to
right now?
regards