I think he means that RecordInvalid is _one_ of the exceptions that might be raised. Another for the case of a save could be DuplicateRecord.
Jon On Nov 26, 7:51 pm, Michael Klishin <[EMAIL PROTECTED]> wrote: > On 26.11.2008, at 12:25, Alex Neth wrote: > > > Right now I can stop execution with an "if user.save," but I need to > > probe the object for the reason - is it invalid? is there some other > > issue? > > What other issues can it be? If RecordInvalid-like exceptions would be > raised, don't you face the same problem? > > MK --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
