On E, 2007-07-30 at 15:45 +0700, Hendy Irawan wrote: > Do you know any plugin which provide this behavior (i.e. disable > constraints in Mysql/postgres/etc before fixture load, and enable them > after fixture load successful, for every test case?) > > Or you have one? > > It'd be deadly useful!!!
As I said in the other mail, I currently only have a hotpatch: http://groups.google.com/group/rubyonrails-core/tree/browse_frm/thread/e010a554e3eb7971/b3af060589805d20?rnum=11&hl=id&_done=%2Fgroup%2Frubyonrails-core%2Fbrowse_frm%2Fthread%2Fe010a554e3eb7971%3Fhl%3Did%26#doc_15fa682aa603d5e5 I am planning to make this into a plugin but haven't done so yet. > thanks > > (BTW I posted your solution on Ruby Indonesia Wiki at > http://wiki.ruby-id.web.id/wiki/Rails_test_fixtures_dengan_referential_integrity > , with credits of course. once we have enough content we're planning to > release these as a community [CC] licensed book ) Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
