Rails 4 Not Updating Nested Attributes Via JSON
问题 I've scoured related questions and still have a problem updating nested attributes in rails 4 through JSON returned from my AngularJS front-end. Question: The code below outlines JSON passed from AngularJS to the Candidate model in my Rails4 app. The Candidate model has many Works, and I'm trying to update the Works model through the Candidate model. For some reason the Works model fails to update, and I'm hoping someone can point out what I'm missing. Thanks for your help. Here's the json in