{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/238","repository_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project","labels_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/238/comments","events_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/238/events","html_url":"https://github.com/ga-wdi-boston/full-stack-project/issues/238","id":151879878,"number":238,"title":"Using a patch to update items through a joined table.","user":{"login":"louarnos","id":17519351,"avatar_url":"https://avatars.githubusercontent.com/u/17519351?v=3","gravatar_id":"","url":"https://api.github.com/users/louarnos","html_url":"https://github.com/louarnos","followers_url":"https://api.github.com/users/louarnos/followers","following_url":"https://api.github.com/users/louarnos/following{/other_user}","gists_url":"https://api.github.com/users/louarnos/gists{/gist_id}","starred_url":"https://api.github.com/users/louarnos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louarnos/subscriptions","organizations_url":"https://api.github.com/users/louarnos/orgs","repos_url":"https://api.github.com/users/louarnos/repos","events_url":"https://api.github.com/users/louarnos/events{/privacy}","received_events_url":"https://api.github.com/users/louarnos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-29T14:26:22Z","updated_at":"2016-04-29T14:55:48Z","closed_at":null,"body":"In my database users have many meals. Meals have many foods through a meal_items joined table. I want to the user to be able to patch their meal.foods array once they have decided what food to add to a meal, and I am unsure on how to approach this. Any advice would be appreciated. "},"comment":{"url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/comments/215744119","html_url":"https://github.com/ga-wdi-boston/full-stack-project/issues/238#issuecomment-215744119","issue_url":"https://api.github.com/repos/ga-wdi-boston/full-stack-project/issues/238","id":215744119,"user":{"login":"gaand","id":10064043,"avatar_url":"https://avatars.githubusercontent.com/u/10064043?v=3","gravatar_id":"","url":"https://api.github.com/users/gaand","html_url":"https://github.com/gaand","followers_url":"https://api.github.com/users/gaand/followers","following_url":"https://api.github.com/users/gaand/following{/other_user}","gists_url":"https://api.github.com/users/gaand/gists{/gist_id}","starred_url":"https://api.github.com/users/gaand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaand/subscriptions","organizations_url":"https://api.github.com/users/gaand/orgs","repos_url":"https://api.github.com/users/gaand/repos","events_url":"https://api.github.com/users/gaand/events{/privacy}","received_events_url":"https://api.github.com/users/gaand/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T14:55:48Z","updated_at":"2016-04-29T14:55:48Z","body":"Yes.  So, you'd be updating the meal by adding foods to it, perhaps by sending an array of foods to add?"}}