Note that truncations that you presumably use with DatabaseCleaner are much slower than transactions with rollback. In my personal benchmarks they were 70x slower. This can very quickly add up in your tests, so I suggest you use DatabaseCleaner only if there is no other way.
On Friday, August 28, 2015 at 7:04:41 PM UTC+2, Jon Whitcraft wrote: > > I found the DatabaseCleaner gem and switched to using that instead of > transactions and resolved my problems. > > Jon > -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
