Updating nested forms with existing data in inner form using rails 3
问题 I'm trying to get a nested form view to update properly. This is however causing problems when the second form has existing data. I'm using accepts_nested_attributes_for and nested_form_for. The second which only purpose is to dynamically add the form element using js. See github for more The error I'm getting is: Couldn't find Muscle with ID=3685340 for Exercise with ID=212831413 I've tried to manually do the updating but my code didnt really work and I'm under the impression that it