Reminder about JS assets by Vivien Leroy and wrote 27 August 2012

Maybe you ever experienced the awful situation in which you find some JS methods called twice on your website when in development environment.

I just did and forgot how I got it fixed last time so after some search I remembered why !

It's because you called this on your dev environment, but it's not necessary if you use assets pipeline magic :

rake assets:precompile

So just remove the precompiled assets via (make sure you're in project root folder) :

rm -rf public/assets