Divide your javascript like you divide your ruby code. Put it in controllers and actions and write clean, scalable code.
Finn-Lenanrt Heemeyer
on Oct 12, 2014
MIT