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}
You need to but dynamic_states.js in your public/javascripts folder.
--Lasse
But how is it possible? In screencast it is dynamic_states.js.erb
that contains both ruby and javascript code. So how can i put that to
public/javascripts?