Add assign_single_nested_attributes to simplify code