El Viernes, 23 de enero de 2015 13:24:08 Cláudio Forain escribió: > As on this post, theoretically I can refresh after crud by using > refresh_list : > > https://vhochstein.wordpress.com/2011/01/21/activescaffold-refresh-list-afte > r-crud/ > > But what I would like to do is to refresh list for all users. For instance: > there are two different logged users that list the same records. If one > user creates a new record, I would like the other user to have the list > refreshed, so he can see the new record the first user just created. Is > that possible? Thanks in advance.
You should implement SSE events in your app, users should subscribe to this events and you have to add some controller code to send SSE events to subscribed users after create and update. Not easy but doable. Look for SSE and rails. -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/activescaffold. For more options, visit https://groups.google.com/d/optout.
