Re: [DataMapper] raise_on_save_failure

2010-07-20 Thread Philip Silva
Very interesting point. So in the end you are recommending to raise only in order to prevent further damage right? In my current project there are quite a lot .saves and failing saves can lead there in a lot of cases to unpredictable/unwanted behaviour. (And also did in the recent time...) But

Re: [DataMapper] raise_on_save_failure

2010-07-18 Thread Philip Silva
Nice... Actually the default behaviour (not raising even though .save failed) also made me think dm is broken. Anyways: It would be nice to mention which class is thrown, i.e. SaveFailureError right? And that it has an attribute @resource... Regards, Philip 2010/7/17 Martin Gamsjaeger

Re: [DataMapper] raise_on_save_failure

2010-07-18 Thread Philip Silva
gets raised, in case #raise_on_save_failure has been turned on. cheers snusnu On Sun, Jul 18, 2010 at 18:51, Philip Silva psilva...@googlemail.com wrote: Nice... Actually the default behaviour (not raising even though .save failed) also made me think dm is broken. Anyways: It would