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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs