Rails - Nested form data not appearing in “edit” page despite showing in “show” page
问题 I have a rails app in which I have a Project model, a Team model and a User model. I am trying to create a nested form within the Project form using the Team model, and in this nested form I have a collection_select field which allows the user to select an existing User's email (from the User model) and input the data retrieved in a column called :member within the Team model. The issue at hand is that that after saving the form, the fields from the nested form appear in the show page,