You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 25, 2018. It is now read-only.
client = new Faye.Client('/faye')
client.subscribe '/publications', (payload)->
console.log "Client subscribe"
Route.rb:
resources :publications
faye_server '/faye', timeout: 25 do
map '/publications' => RealtimePublicationsController
map default: :block
end
After that i start console and write Publication.create({:title => "test"}), and ... get nothing in browser console.
What i am doing wrong? Help, please...
The text was updated successfully, but these errors were encountered:
Hello. I am trying to make an applications with faye-rails 1.0.7. (with model observers)
I created observer controller RealtimePublicationsController (in app/realtime) with:
Some test clientside JS code:
Route.rb:
After that i start console and write Publication.create({:title => "test"}), and ... get nothing in browser console.
What i am doing wrong? Help, please...
The text was updated successfully, but these errors were encountered: