hi everybody

the new validations implementation is in the trunk, so please give it
a whirl. i've tried to follow the validation specs as implemented in
ActiveRecord, rather than the validatable gem which is incomplete and
even wrong in a couple places.

There are some things missing, like a smarter #errors (right now it's
just a simple array of error messages), and some of the validations
are missing a few options.

Right now Model#save returns false and doesn't save if validations
fail. There's a new Model#save! method that saves regardless of
validations. Also missing is ability to inherit validations in
subclasses, but that will come real soon.

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