I'm having an issue in my Prod environment where some sets of Ajax code are not working correctly
Going to JbcManagement.com is for sale | HugeDomains and clicking Add a Step executes the following code:
<p><%= link_to_function "Add a Step" do |page| page.insert_html :bottom, :chaka, :partial => 'test_script', :object => TestScript.new end%><p>
In my development environment, this code works correctly, it adds an additional data entry line for an additional test step on the page. In production I am not getting any action.
The only indication I see of an error is in my production.log :
ActionController::RoutingError (No route matches "/javascripts/effects.js" with {:method=>:get}):
effects.js exists in my Project/public/javascripts folder.
Here is my routes.rb
map.connect ':controller/:action/:id' map.connect ':controller/:action/:id.:format'