You need to but dynamic_states.js in your public/javascripts folder. --Lasse
2010/2/15 Tom Mac <[email protected]> > Hi > > Ryan Bates got a railscasts episode that deals with this exact case: > > http://railscasts.com/episodes/88-dynamic-select-menus > Thanks for your reply. I have tried this But is not working My rails > version is 2.3.5 I have added map.connect > ':controller/:action/:id.:format' > to routes.r as suggested. But in any way I cant access > http://localhost:3001/javascripts/dynamic_states.js > I am getting > > Routing Error > > No route matches "/javascripts/dynamic_states.js" with {:method=>:get} > > > Tom > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

