Rob, kudos to your insight and brevity to convert that question into a
rails response.

Sincerely,

Dave Woodall

davewoodall.com

On Sun, Sep 16, 2018 at 7:33 AM, Rob Jonson <rob.jon...@gmail.com> wrote:

> The rails way to do this (update page when stuff happens at the server) is
> ActionCable
> https://guides.rubyonrails.org/action_cable_overview.html
>
> It runs on websockets and allows the server to push information to the
> browser. Your javascript on the page then needs to know what to do with
> that information.
>
> It is typically slightly more complex to host than a 'regular' site as you
> probably need Redis running.
>
>
>
> On Sunday, 16 September 2018 08:34:38 UTC+1, fugee ohu wrote:
>>
>> how does gmail make new messages appear in your browser as they arrive?
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/rubyonrails-talk/b89e6508-ea6a-4347-a42a-
> bcc0f73717fe%40googlegroups.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/b89e6508-ea6a-4347-a42a-bcc0f73717fe%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAJusp5F26JpV8LK8eZxfD-05uft%3DorTaYvYicM2Nuti5kE5Haw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to