if nested attribute is blank

HI,

I need to know if any nested attributes is blank then how it would work?
e.g -
In my case user have addresses & photos(nested attributes) but not
mandatory while adding user if i haven't added photos & submit form
then while editing that user it will not shown me photo upload field
because photo object is not exist for that user

can you explain me how should it work?