# ActionController::RoutingError?

**URL:** <https://www.ruby-forum.com/t/actioncontroller-routingerror/103876>\
**Category:** Rails\
**Created:** [May 11, 2007, 6:56am UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror/103876 "2007-05-11T06:56:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chirag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ecccb3/32.png) [@chirag](https://www.ruby-forum.com/u/chirag)\
**Post date:** [May 11, 2007, 6:56am UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror/103876/1 "2007-05-11T06:56:21Z")

</div>

I’m deploying a Flash chart using XML/SWF charting package from  
[http://blogs.tech-recipes.com/johnny/2006/08/29/ruby-on-rails-beautiful-charts-made-easy-using-flash-with-rails-rxml-templates](http://blogs.tech-recipes.com/johnny/2006/08/29/ruby-on-rails-beautiful-charts-made-easy-using-flash-with-rails-rxml-templates)

I get the following error

ActionController::RoutingError (no route found to match “/sandbox/  
charts.swf” with {:method=\>:get})

when I embed this HTML code

true%\>"\> true%\>" quality=high bgcolor=#666666 WIDTH="400" HEIGHT="250" NAME="charts" ALIGN="" swLiveConnect="true" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"\>

Any ideas why it thinks charts.swf is a controller?

Thanks!  
Chirag

---

<div class="post-metadata">

**Author:** ![chirag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ecccb3/32.png) [@chirag](https://www.ruby-forum.com/u/chirag)\
**Post date:** [May 12, 2007, 10:05am UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror/103876/2 "2007-05-12T10:05:10Z")

</div>

charts.swf is not a controller … its your web server trying to serve  
the html file … which is looking for charts.swf …  
make sure that id and name are set to charts in the script and  
noscript sections … that worked for me …

- Nick
