# Getting routing errors

**URL:** <https://www.ruby-forum.com/t/getting-routing-errors/172177>\
**Category:** Rails\
**Created:** [July 16, 2009, 8:44am UTC](https://www.ruby-forum.com/t/getting-routing-errors/172177 "2009-07-16T08:44:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![santoshturamari](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@santoshturamari](https://www.ruby-forum.com/u/santoshturamari)\
**Post date:** [July 16, 2009, 8:44am UTC](https://www.ruby-forum.com/t/getting-routing-errors/172177/1 "2009-07-16T08:44:41Z")

</div>

Hi guys,

I am getting some routing errors which, I have not mentioned in  
routing.rb, these are somewhat like js,css or some xml files missing.  
The sample error is

ActionController::RoutingError (no route found to match  
“/reviews-ratings/rss.xml” with {:method=\>:get}):

Here as these are not in our website, nobody can encounter these, but  
still we are getting errors. Please help me, if anybody come across,  
this kind of errors.

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![santoshturamari](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@santoshturamari](https://www.ruby-forum.com/u/santoshturamari)\
**Post date:** [July 16, 2009, 2:44pm UTC](https://www.ruby-forum.com/t/getting-routing-errors/172177/2 "2009-07-16T14:44:11Z")

</div>

Hi I had tht error to (many times)!!  
In my case it normaly was bec i didn’t write the correct URL so have a  
look if u did so…  
an i think u donot need the .xml !! so good luck with ur problem!

---

<div class="post-metadata">

**Author:** ![santoshturamari](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@santoshturamari](https://www.ruby-forum.com/u/santoshturamari)\
**Post date:** [July 16, 2009, 8:36pm UTC](https://www.ruby-forum.com/t/getting-routing-errors/172177/3 "2009-07-16T20:36:08Z")

</div>

I’d check to see if you’re defining paths to things like stylesheets  
absolutely - ie linking to /style.css rather than style.css (no  
slash). The helpers do this automatically, but double check that your  
code is correct.

That causes problems because, when you’re in a controller /some-  
controller, the relative URL will be looking for the CSS at /some-  
controller/style.css if the path is relative.

–Matt J.

On Jul 16, 2:44 am, Santosh T. \<rails-mailing-l…@andreas-
