{"action":"created","issue":{"url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/issues/222","repository_url":"https://api.github.com/repos/colinxfleming/dcaf_case_management","labels_url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/issues/222/comments","events_url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/issues/222/events","html_url":"https://github.com/colinxfleming/dcaf_case_management/issues/222","id":147065555,"number":222,"title":"Saving information via edit pregnancy form","user":{"login":"ajohnson052","id":14868930,"avatar_url":"https://avatars.githubusercontent.com/u/14868930?v=3","gravatar_id":"","url":"https://api.github.com/users/ajohnson052","html_url":"https://github.com/ajohnson052","followers_url":"https://api.github.com/users/ajohnson052/followers","following_url":"https://api.github.com/users/ajohnson052/following{/other_user}","gists_url":"https://api.github.com/users/ajohnson052/gists{/gist_id}","starred_url":"https://api.github.com/users/ajohnson052/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajohnson052/subscriptions","organizations_url":"https://api.github.com/users/ajohnson052/orgs","repos_url":"https://api.github.com/users/ajohnson052/repos","events_url":"https://api.github.com/users/ajohnson052/events{/privacy}","received_events_url":"https://api.github.com/users/ajohnson052/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/labels/backend","name":"backend","color":"c7def8"},{"url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/milestones/5","html_url":"https://github.com/colinxfleming/dcaf_case_management/milestones/Sprint%204:%20Menstrual%20period%20entry%20and%20notes","labels_url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/milestones/5/labels","id":1667915,"number":5,"title":"Sprint 4: Menstrual period entry and notes","description":"","creator":{"login":"colinxfleming","id":3866868,"avatar_url":"https://avatars.githubusercontent.com/u/3866868?v=3","gravatar_id":"","url":"https://api.github.com/users/colinxfleming","html_url":"https://github.com/colinxfleming","followers_url":"https://api.github.com/users/colinxfleming/followers","following_url":"https://api.github.com/users/colinxfleming/following{/other_user}","gists_url":"https://api.github.com/users/colinxfleming/gists{/gist_id}","starred_url":"https://api.github.com/users/colinxfleming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinxfleming/subscriptions","organizations_url":"https://api.github.com/users/colinxfleming/orgs","repos_url":"https://api.github.com/users/colinxfleming/repos","events_url":"https://api.github.com/users/colinxfleming/events{/privacy}","received_events_url":"https://api.github.com/users/colinxfleming/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":5,"state":"open","created_at":"2016-03-27T23:27:47Z","updated_at":"2016-04-10T05:46:58Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-04-08T23:44:45Z","updated_at":"2016-04-10T12:36:18Z","closed_at":null,"body":"When I am on the pregnancies edit form, and I use the “TEMP: Save Information” button, the request is not being completed. Although the button correctly directs to the pregnancies#update method, the data is not saving and it returns 400 Bad Request.\r\n\r\nThe “TEMP: Save Information” button should save all pregnancy information and redirect to the edit pregnancy page."},"comment":{"url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/issues/comments/207978879","html_url":"https://github.com/colinxfleming/dcaf_case_management/issues/222#issuecomment-207978879","issue_url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/issues/222","id":207978879,"user":{"login":"ajohnson052","id":14868930,"avatar_url":"https://avatars.githubusercontent.com/u/14868930?v=3","gravatar_id":"","url":"https://api.github.com/users/ajohnson052","html_url":"https://github.com/ajohnson052","followers_url":"https://api.github.com/users/ajohnson052/followers","following_url":"https://api.github.com/users/ajohnson052/following{/other_user}","gists_url":"https://api.github.com/users/ajohnson052/gists{/gist_id}","starred_url":"https://api.github.com/users/ajohnson052/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajohnson052/subscriptions","organizations_url":"https://api.github.com/users/ajohnson052/orgs","repos_url":"https://api.github.com/users/ajohnson052/repos","events_url":"https://api.github.com/users/ajohnson052/events{/privacy}","received_events_url":"https://api.github.com/users/ajohnson052/received_events","type":"User","site_admin":false},"created_at":"2016-04-10T12:36:18Z","updated_at":"2016-04-10T12:36:18Z","body":"Well now I feel very silly - that seems to have fixed the problem!\n\n\n> On Apr 10, 2016, at 2:02 AM, Colin <notifications@github.com> wrote:\n> \n> @ajohnson052 <https://github.com/ajohnson052> Did some digging and I think this is caused by trying to save over a non-whitelisted field -- we were experiencing this issue on the case manager demo site. I managed to resolve by re-running the seed file, which is an okay solution for now since the DB is still in flux.\n> \n> Will you run rake db:seed to refresh your fake data and let me know if you continue to experience this issue?\n> \n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly or view it on GitHub <https://github.com/colinxfleming/dcaf_case_management/issues/222#issuecomment-207925643>\n\n"}}