Closed joel closed 8 years ago
When you use default_scope -> { where(deleted_at: nil) } you can reach the parent from children and if you use validate_presence_of on the child you can't revive children.
default_scope -> { where(deleted_at: nil) }
validate_presence_of
When you use
default_scope -> { where(deleted_at: nil) }
you can reach the parent from children and if you usevalidate_presence_of
on the child you can't revive children.