ActionController::RoutingError?


#1

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

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


#2

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