Skip to main content

How do I Update a child object, while Creating a Parent object with Fields_for

Rails • Asked by Logan Houston

I currently am creating an object with jQuery file upload, and than inserting a fields_for into the form with the new object.

However, I am unable to update the existing object while creating the other object. I can create a hack around this, but would prefer not to if there is a rails way to achieve this.

Help is apprecaited.


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.