How to run page specific javascript on Rails
In Ruby on Rails, all your javascript is available everywhere, but we always want to run some javascript only on certain pages. This is how I manage to run and compartiment my javascript code based on models and actions. First you need to add to your »