From: Gaspard Bucher Date: 2007-09-16T04:22:16+09:00 Subject: Re: Slow RAILS testing I tried this, but HEAP does not support transactions either. From what I see, it feels like it's going to be much slower to reload the fixtures then to do a ROLLBACK... 2007/9/15, Phlip : > Travis D Warlick Jr wrote: > > > ALTER TABLE tablename TYPE=HEAP; > > Ain't that ENGINE=HEAP? > > > Gaspard Bucher wrote: > > > HEAP does not support TEXT columns... Too bad. > > Suppose one wrote a rake task db:heap_mode, to switch the test environment > DB to the faster system. Could that task programmatically access schema.rb, > find the TEXT columns, and downgrade them to long strings? > > -- > Phlip > http://www.oreilly.com/catalog/9780596510657/ > "Test Driven Ajax (on Rails)" > assert_xpath, assert_javascript, & assert_ajax > > >