I user Rails 4 and Cocoon gem. In fact, I know the problem - cocoon.js is not compiled into application.js as I can see in the browser. I do require cocoon in application.js and have the gem installed.
I do not use turbolinks. What else might cause this?