# 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/194137>\
**Category:** Ruby\
**Created:** [August 30, 2010, 11:42pm UTC](https://www.ruby-forum.com/t/stuck-on-no-route-matches-when-porting-to-rails-3-0/194137 "2010-08-30T23:42:34Z")\
**Posts on this page:** 2\
**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 30, 2010, 11:42pm UTC](https://www.ruby-forum.com/t/stuck-on-no-route-matches-when-porting-to-rails-3-0/194137/1 "2010-08-30T23:42:34Z")

</div>

I don’t do anything special. This 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 so I don’t know if  
any other changes should be done in controllers in order to work.

by  
TheR

---

<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 30, 2010, 11:43pm UTC](https://www.ruby-forum.com/t/stuck-on-no-route-matches-when-porting-to-rails-3-0/194137/2 "2010-08-30T23:43:59Z")

</div>

Sorry guys this should go to Rails.

by  
TheR
