small medium large xlarge

Generic-user-small
02 Feb 2012, 21:14
Ahsan Sharafuddin (3 posts)

[Chapter 10 of rails 3.2 version] On both http://localhost:3000/products and http://localhost:3000/carts/?? screens deleting a record prompts for confirmation twice. Having trouble fixing it. Any help will be greatly appreciated. Thanks.

Generic-user-small
03 Feb 2012, 05:53
Ahsan Sharafuddin (3 posts)

Removing “//= require_tree .” from app/assets/javascripts/application.js fixed it. Found the tip at:

http://stackoverflow.com/questions/7084087/rails-3-1-with-asset-pipeline-link-to-confirm-message-showing-twice

But strangely, after I put the line back, it is still working fine now. Wondering if anyone can explain.

You must be logged in to comment