Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RenderSync is not defined #236

Open
Sashkan opened this issue Sep 16, 2016 · 1 comment
Open

RenderSync is not defined #236

Sashkan opened this issue Sep 16, 2016 · 1 comment

Comments

@Sashkan
Copy link

Sashkan commented Sep 16, 2016

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 ?

@patrickemuller
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants