SimpleDB has eventual consistency, you should read about that a bit. You can pass :consistent_read=>true to the find method to use SimpleDB's consistent read feature not without some drawbacks though. You can try sleeping for a second after the save or call find with consistent read right after the save too.
On Mar 17, 2011 7:30 AM, "dennis1600" <
dennis...@gmail.com> wrote:
> I am seeing something strange and not sure what is going on. I have
> some pretty generic rails 3 controllers/views that I am using to
> perform CRUD on objects I am storing on SimpleDB. When I create a new
> object and it is persisted the next action in the chain, either a show
> or an index action, the record that was just created is not
> displayed. However if I refresh the page everything is like it should
> be. I am not using any cacheing at the moment. Any ideas what could
> be happening?
>
> -Dennis
>
> --
> You received this message because you are subscribed to the Google Groups "SimpleRecord" group.
> To post to this group, send email to
simple...@googlegroups.com.
> To unsubscribe from this group, send email to
simple-recor...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/simple-record?hl=en.
>