I recently upgraded my ruby install, like many did (to 0.13.1), but now I appear to be having a problem with my WEBrick (I think). Everything was working just fine before I upgraded (but I don''t know if it has anything to do with it). I start the server and everything appears to be working, but five or ten minutes into development I get: WARNING: You have a nil object when you probably didn''t expect it! Odds are you want an instance of Array instead. Look in the callstack to see where you''re working with an object that could be nil. Investigate your methods and make sure the object is what you expect! : SELECT COUNT(*) FROM products And then, if I refresh the page, I get this: Invalid argument: SELECT COUNT(*) FROM products The strange thing about this problem is that the code is fine (it is a scaffold). To get rid of the error I have to restart WEBrick and then things work for another five or ten minutes. I am running Windows and have already reinstalled rails to see if that would fix the problem (and it didnt). If anyone has any ideas I would really appreciate it. Thanks, CM _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails