[Rails] any quick way to flush a table?

Dick Davies rasputnik at hellooperator.net
Tue Feb 1 15:35:48 GMT 2005


* Dick Davies <rasputnik at hellooperator.net> [0213 15:13]:
> 
> I need something to stick in a teardown to flush the tables,
> it doesn't seem to be getting done after each test.

duh, second time today I posted too soon, if I pass an empty fixtures
file for the dependant table it gets flushed fine...
 

-- 
'You were doing well until everyone died'
		-- God
Rasputin :: Jack of All Trades - Master of Nuns


More information about the Rails mailing list