This does not make any sense to me:
I have a model called TypeWell along with it controller and forms. If I
form partial like shown below:
alert("Gas type changed");
It alerts the message once (correctly) as shown when I change the
gas_type drop-down. If however, I move this code from the form partial
(app/views/type_wells/_form.haml.html to the corresponding coffeescript
the form partical) as shown below:
alert "gas type changed"
then it triggers twice instead of once as expected?
This is as basic as it gets. Is there something that I do not
understand about asset pipeline that is causing this behavior?