You might be able to put the last shown message id in a hidden field
returned by the call, and then pass some JS to the :url option in
periodically_call_remote.

--Matt Jones

On Sep 9, 7:18 pm, Matt Harrison <[email protected]> wrote:
> On Wed, Sep 09, 2009 at 04:06:36PM -0700, E. Litwin wrote:
>
> > > If a user opens the display portion of the site, they should only see
> > > messages that are submitted in the future, not old ones.
>
> > Try gem install time_machine
>
> > Couldn't resist ;)
>
> Haha, I read that first line quickly and was about to go looking for this
> magical gem before I thought about it some more :D
>
> I guess really I should be looking at some messaging app sources, as that
> previous idea of mine failed miserably. It appears you can't modify the
> periodically_call_remote behaviour without reloading the whole page, which
> makes sense.
>
> Thanks
>
> Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to