On Friday, June 5, 2015 at 11:40:17 AM UTC-7, John Feminella wrote: > > Thanks for the input, Jeremy. Do you have any recommendations for a > situation where: > > * models are predominantly ActiveRecord; > * each test case is wrapped in an AR::Transaction; and > * we want to use Sequel selectively in some models, but Sequel can't see > records created by the AR side since during tests it's still inside a > transaction >
It sucks, but switching to non-transactional testing for those tests is probably the best way to handle that. Thanks, Jeremy -- 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.
