Stuck on "No route matches" when porting to rails 3.0

I don't do anything special. This default route setting should work. But it doesn't.

Portal::Application.routes.draw do |map|   map.root :controller => "portal", :action => "logout"   map.connect ':controller/:action/:id'   map.connect ':controller/:action/:id.:format' end

I am also not able to install rails_upgrade plugin due to some problems with gem versions so I don't know if any other changes should be done to controllers in order to work.

by TheR