> Take a look at this for an example of doing something very simply without
> exceptions:  http://gist.github.com/31904

Jon,

That example is quite the beast! :)

Here's how I would handle that action: http://pastie.org/330980.

Simple, clear, and -- most importantly -- takes the most advantage of
DM: validations, named scopes, etc. Seems to me that exceptions would
clutter up this action.

Bernerd Schaefer

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to