# Catch-all(?) route problem

**URL:** <https://www.ruby-forum.com/t/catch-all-route-problem/130564>\
**Category:** Rails\
**Created:** [February 29, 2008, 12:16pm UTC](https://www.ruby-forum.com/t/catch-all-route-problem/130564 "2008-02-29T12:16:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![splattael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@splattael](https://www.ruby-forum.com/u/splattael)\
**Post date:** [February 29, 2008, 12:16pm UTC](https://www.ruby-forum.com/t/catch-all-route-problem/130564/1 "2008-02-29T12:16:32Z")

</div>

Hey guys,

I am still having some difficulties grasping some parts of Rails 2.0.2  
routing… For example, I have a route like this:

map.connect ‘\*path’, :controller =\> ‘search’

so how come I keep getting this:

No route matches {:action=\>“auto\_complete\_for\_stock\_company\_name”}  
Any ideas?  
Cheers,  
Peter
