render_sync
render_sync copied to clipboard
RenderSync is not defined
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 ?
Same here @Sashkan can't make the JS hooks work