Hi,
Taking a look to this site seems you need to do something like:
1. Selecting all events not displayed
2. Update the vertical slide with the first event from the list you obtain
in the Step 1.
3. Mark this event was displayed
4. Back to Step 1

May be you should have some "state" and "created_at" fields in you events
table ir order do the detalide steps:
1. Select all events with state = "not displayed" order them by the
"created_at" field
2. Read the first Event from the list. If the list is empty, waste some time
(configured ?) and Back to Step 1.
3. Display it in the vertical slide.
4. Update the state field to "duisplayed"
5. Write the event.
6. Back to the Step 1.


If you like this logic....then let´s Rails IT !!!

FF



2009/9/8 puneetpandey85 <[email protected]>

>
> Hi Everyone,
>
> I have a page where I would like to implement something like this:
> http://livingsocial.com/
> I tried periodically_call_remote ajax helper, but it's not working. It
> is giving me all the records at a time, whereas I want records one by
> one.
>
> I need suggestions, please reply
>
> Thanks
> Puneet
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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