Hello I have put together some code to auto-validate associations, so when creating a tree of objects if any children are invalid the parent will be invalid also. This is consistent with #save (it returns false if any children do not save). Currently #valid? will return true in this instance, which is misleading.
For more details and the patch, please jump on to this pull request: https://github.com/datamapper/dm-validations/pull/9 If there are no grievances, I will be pulling this in to master after the 1.1 release. Cheers, Xavier -- 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.
