[rspec-users] RailsExampleGroup

Ashley Moran ashley.moran at patchspace.co.uk
Fri May 23 15:20:59 EDT 2008

On 23 May 2008, at 19:53, Yi Wen wrote:

> It's not in the database. It looks to me the data is not actually  
> inserted into the DB at all, just somehow buffered somewhere.

It's stored in a transaction, so the only place you can see the data  
is from the same connection.  Make another connection (by  
reconnecting) and you are protected from seeing that data.

Why do you want to see this intermediate state of the database from  
another connection anyway?  It's an unusual thing to want to do.



More information about the rspec-users mailing list