Permalink
Browse files

Skip association validation for now

  • Loading branch information...
1 parent 709ee57 commit cf64975f0ad5674298e7a6224f9a7a7f37491cf7 @snusnu snusnu committed Feb 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/data_mapper/validation/resource_extensions.rb
@@ -66,8 +66,8 @@ def update(attributes = {}, context_name = default_validation_context)
# @api public
def validate(context_name = default_validation_context)
super
- validate_parents # if model.validation_rules.validate_parents?
- validate_children # if model.validation_rules.validate_children?
+ #validate_parents # if model.validation_rules.validate_parents?
+ #validate_children # if model.validation_rules.validate_children?
self
end

0 comments on commit cf64975

Please sign in to comment.