[Locomotive-users] Strange Caching in 2.0.7

Stephen Waits steve at waits.net
Mon Jun 26 15:52:34 GMT 2006


On Jun 25, 2006, at 3:09 AM, Andy Kent wrote:

> I can't think of anything I've changed that would have affected  
> this but any help would be great as at the moment I have to restart  
> the app everytime I make a change (very tedious!)

I've noticed this too.  Here's the case where I've seen it:

* Wipe out db..  i.e. rm db/development.sqlite3
* Migrate to recreate schema: rake migrate
* Click over to browser, refresh a view that should now have 0 records

But, it doesn't, it still shows the old data.  Refresh, refresh, no  
change.  To correct, I must do the following:

* Restart app in Loco
* Refresh in browser

Then it works properly (i.e. shows 0 records).  This app restart  
wasn't required in earlier versions.

--Steve


More information about the Locomotive-users mailing list