Set the @parent to the parent record for nested records

This allows for contextual validation, such as:

validates :my_attr, presence: true, if: -> { @parent.other_attr }