# ActionController::RoutingError

**URL:** <https://www.ruby-forum.com/t/actioncontroller-routingerror/187591>\
**Category:** Rails\
**Created:** [April 26, 2010, 12:49pm UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror/187591 "2010-04-26T12:49:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![felix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/aeb1de/32.png) [@felix](https://www.ruby-forum.com/u/felix)\
**Post date:** [April 26, 2010, 12:49pm UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror/187591/1 "2010-04-26T12:49:10Z")

</div>

Hi All, I am just learning Rails. I had encountered a routing error,  
though I think I have specified the correct rules in the routing.rb. I  
have attached the code. Please help

routing.rb

map.connect ‘:controller/:action’  
map.connect ‘:controller/:action/:id’  
map.connect ‘:controller/:action/:id.:format’  
Controller

class EntriesController \< ApplicationController  
def sign\_in  
@name = params[:visitor\_name]  
end  
end  
View

Hello \<%=h @name %\> \<%=h @name %\> \<% form\_tag :action =\> 'sign\_in' do %\>

Enter your name: \<%= text\_field\_tag 'visitor\_name', @name %\>

\<%= submit\_tag 'Sign in' %\> \<% end %\> Thanks
