I'm writing a form with nested attributes in Rails 4. I need to add an existing record to a list within a nested form, but I don't know how to preserve the f builder from the parent form, after the ajax call. Is there a way to write this into the session?
Please, for clarity, I am not adding a new empty record, but an existing record, which the user can proceed to modify.