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

**URL:** <https://www.ruby-forum.com/t/stuck-on-no-route-matches-when-porting-to-rails-3-0/194162>\
**Category:** Rails\
**Created:** [August 31, 2010, 12:16pm UTC](https://www.ruby-forum.com/t/stuck-on-no-route-matches-when-porting-to-rails-3-0/194162 "2010-08-31T12:16:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ther](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/977dab/32.png) [@ther](https://www.ruby-forum.com/u/ther)\
**Post date:** [August 31, 2010, 12:16pm UTC](https://www.ruby-forum.com/t/stuck-on-no-route-matches-when-porting-to-rails-3-0/194162/1 "2010-08-31T12:16:49Z")

</div>

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
