I am trying to make a javascripts controller work. The only resource I can find on this is here : http://railscasts.com/episodes/88 I have tried everything in the tutorial and the comments including May 22 08 comment by "pi_p master" for respond_to do format etc. and here is my predicament; my application works on my development machine just fine; when I transport the application to my production environment it does not call the javascripts controller; I have the following error : <script type="text/javascript" src="/javascripts/dynamic_units.js"> 1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 2<html><head> 3<title>404 Not Found</title> 4</head><body> 5<h1>Not Found</h1> 6<p>The requested URL /javascripts/dynamic_units.js was not found on this server.</p> 7</body></html> Now I have even tried putting in explicitly map.connect '':controller/:action.:format'' as well as : map.js ''/javascripts/ dynamic_units.js'' , :controller=>''javascripts'', :action =>''dynamic_units'' and whatever permutation I could fathom but to no avail. I know the dynamic_units method in javascripts_controller is not called because the logger never outputs any lines. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---