Hi Railers, My app went through a spin-cycle just then because the page it was loading had several images like /public/images/icons/important.gif Each time it tried to load the image, I could see in the Webrick output that it was reloading the app (or whatever it does). The images don''t exist yet, and I''d like to see Rails just treat the "/public/images/icons/important.gif" URL as a static file (that doesn''t exist), rather than thinking it''s a dynamic URL. That would make the page load faster while I''m in development. Any pointers? Gavin
On Saturday, April 30, 2005, 7:22:59 PM, Gavin wrote:> Hi Railers,> My app went through a spin-cycle just then because the page it was > loading had several images like> /public/images/icons/important.gif> Each time it tried to load the image, I could see in the Webrick > output that it was reloading the app (or whatever it does).Just to add some info, development.log has several instances of ActionController::RoutingError (No route for path: "public/images/icons/important.gif") (each instance has a different path because it''s a different image). I''ve created those files now, but it still gives the routing errors. Gavin
On Saturday, April 30, 2005, 7:22:59 PM, Gavin wrote:> Hi Railers,> My app went through a spin-cycle just then because the page it was > loading had several images like> /public/images/icons/important.gif...but when I changed them to /images/icons/important.gif everything was fine. Thank you to bryanh on IRC. Gavin