Closed g8d3 closed 10 years ago
In index, I keep receiving a lot of requests from faye:
See the current caveats section here: https://github.com/chrismccord/sync#current-caveats
You may need to move the tr
from the sync partial to outside in the parent view. Also please run rake tmp:clear
and restart your webserver.
After making sure my partial was right, rake tmp:clear
, and restart servers, I am getting this in browser console:
It says example, but in my sync.yml I have:
development:
server: "http://localhost:9292/faye"
...
production:
server: "http://localhost:9292/faye"
And I am trying running faye in production and development, just in case it's different, but I am having the same result.
Update
I forgot to run rake tmp:clear
after changing my sync.yml, now it's working, thanks a lot.
Hi,
I am building a chat application, and it stopped updating rows in an index view after I wrote some tests, I have:
This is my MVC:
app/views/index.html.slim
app/views/sync/messages/_row.html.slim
It is wrapping each row with this code:
Any advice to spot the problem is greatly appreciated, thanks.