Re: Save then FindAll misses recently saved?

2007-01-24 Thread mk
I should have tried the IRC channel first, I guess but didn't think folks would be on it. Regardless, the problem was that I was getting a cached version of a previous findall(). The issue was resolved by setting var $cacheQueries = false; in my model. This way the findall() fetches the most re

Save then FindAll misses recently saved?

2007-01-24 Thread mk
My problem is pretty simple. I add a new item to the database via the model->save() method. I then try to retrieve the full list of items including the one that I just saved via model->findall() so I can make an ajax update. The first time I add something, the add is made in the database, but t