How should I write:
if @parent.child.grand_child.attribute.present?
do_something
without cumbersome nil checkings to avoid exception:
if @parent.child.present? && @parent.child.grandchild.present? && @parent.child.grandchild.attribute.present?
Thank you.