Use Hevents (https://github.com/yarmand/hevents) to create JS init function for Rails controllers and views. Provide helper to setup handlers in your Rails code
yann ARMAND
May 5, 2012 10:36pm
N/A