> After some further thought I'm rewriting the whole thing again and
> will also build an errors class. you'll probably see a solution later
> today.

Sharon,

Two things that would be great to see as you rewrite validations are:

1) Make update(...) check for validations like save(...)
2) obj.errors.on(:col) returns an empty array currently if there are
no errors.  This is ok but I think returning nil would be nicer and
would make sequel models play well with form helpers built into merb.

Best,

Zack

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" 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/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to