Skip to content Skip to sidebar Skip to footer

Heroku/cedar Javascript Not Working

Somehow can't get javascript to run: Am trying to use rails 3.2.2, Heroku, Cedar stack. The application works fine locally, and seems to be deploying fine to Heroku, but the javasc

Solution 1:

i figured out my problem. I had a few other files (the script.aculo.us files (controls.js, dragdrop.js, effects.js) and prototype.js in my app/assets/javascripts/ folder (leftovers from a previous iteration of the program) that were getting included in the asset pipeline together with the application.js through the //= require_tree . call. The sciprt.aculo.us files seem to have been messing up things

I've now managed to get my program to work. I am assuming i don't need script.aculo.us anymore (does similar stuff as jquery-ui) nor prototype.js (jquery used now), am i wrong?

Dogbert thx for your help.

Post a Comment for "Heroku/cedar Javascript Not Working"