render_sync icon indicating copy to clipboard operation
render_sync copied to clipboard

RenderSync is not defined

Open Sashkan opened this issue 9 years ago • 1 comments

Hello,

I just basically followed the tutorial for a very basic application, but it seems like the JS is nowhere to be found.

After installing the gem, I configured the sync.ru file, added this


  <%= javascript_include_tag RenderSync.adapter_javascript_url %>

to application.html.erb (also tried with <%= include_sync_config %>), made sure to add

//= require sync

to my application.js, but still, doesn't sync anything, and console returns this:

 Uncaught ReferenceError: RenderSync is not defined

Did I miss something ?

Sashkan avatar Sep 16 '16 12:09 Sashkan

Same here @Sashkan can't make the JS hooks work

patrickemuller avatar Feb 18 '17 18:02 patrickemuller