I have a model named User. When running this application from the
console I can call User.find_by_id(nil) and it returns nil. When running
this application during testing or through WEBrick or Mongrel calling
User.find_by_id(nil) returns the newest record in the database. But it
only does this the first time you call it with nil. The second time you
call User.find_by_id(nil) it returns nil.
I know this is how it works running against Edge Revision 4599. But I
think I was seeing the same behavior against Rails 1.1.2
Is this expected? Is this a known issue?