> My main concern when adding this method is naming.  What should the method 
> and exception names be
>

Add a  '!' to the end of the existing method name to indicate that this 
method can raise an exception.

Model.find will return nil if nothing is found
Model.find! will raise a Seqel::RecordNotFound exception

Farrel

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to