{"action":"created","issue":{"url":"https://api.github.com/repos/weenhanceit/autism-funding/issues/9","repository_url":"https://api.github.com/repos/weenhanceit/autism-funding","labels_url":"https://api.github.com/repos/weenhanceit/autism-funding/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/weenhanceit/autism-funding/issues/9/comments","events_url":"https://api.github.com/repos/weenhanceit/autism-funding/issues/9/events","html_url":"https://github.com/weenhanceit/autism-funding/issues/9","id":160812788,"number":9,"title":"Parent (or Guardian) Model","user":{"login":"lcreid","id":1613872,"avatar_url":"https://avatars.githubusercontent.com/u/1613872?v=3","gravatar_id":"","url":"https://api.github.com/users/lcreid","html_url":"https://github.com/lcreid","followers_url":"https://api.github.com/users/lcreid/followers","following_url":"https://api.github.com/users/lcreid/following{/other_user}","gists_url":"https://api.github.com/users/lcreid/gists{/gist_id}","starred_url":"https://api.github.com/users/lcreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcreid/subscriptions","organizations_url":"https://api.github.com/users/lcreid/orgs","repos_url":"https://api.github.com/users/lcreid/repos","events_url":"https://api.github.com/users/lcreid/events{/privacy}","received_events_url":"https://api.github.com/users/lcreid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/weenhanceit/autism-funding/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/weenhanceit/autism-funding/milestones/1","html_url":"https://github.com/weenhanceit/autism-funding/milestones/MVP","labels_url":"https://api.github.com/repos/weenhanceit/autism-funding/milestones/1/labels","id":1822617,"number":1,"title":"MVP","description":null,"creator":{"login":"lcreid","id":1613872,"avatar_url":"https://avatars.githubusercontent.com/u/1613872?v=3","gravatar_id":"","url":"https://api.github.com/users/lcreid","html_url":"https://github.com/lcreid","followers_url":"https://api.github.com/users/lcreid/followers","following_url":"https://api.github.com/users/lcreid/following{/other_user}","gists_url":"https://api.github.com/users/lcreid/gists{/gist_id}","starred_url":"https://api.github.com/users/lcreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcreid/subscriptions","organizations_url":"https://api.github.com/users/lcreid/orgs","repos_url":"https://api.github.com/users/lcreid/repos","events_url":"https://api.github.com/users/lcreid/events{/privacy}","received_events_url":"https://api.github.com/users/lcreid/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2016-06-13T03:47:04Z","updated_at":"2016-06-17T05:09:56Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-06-17T05:06:52Z","updated_at":"2016-06-17T16:13:16Z","closed_at":null,"body":"The parent needs the following attributes:\r\n\r\n* First, middle, and last name\r\n* Home phone\r\n* Work phone\r\n* Address\r\n\r\nInternally we should simply name this model \"parent\" as \"parent_or_guardian\" is going to be tedious. I suggest \"pog\" if we want to retain both concepts, as this is going to be so common in the code that it doesn't really need to be self-documenting. \r\n\r\nI'm inclined to think that we should try modelling the parent or guardian as a separate model/table than the user, and just link them. But I'm not sure I have a convincing argument versus just munging it into the User model. It's more like a gut feel that we should separate the concepts. At the very least, it's conceivable that we'd want to keep parent information even when they haven't yet registered for the system. "},"comment":{"url":"https://api.github.com/repos/weenhanceit/autism-funding/issues/comments/226812596","html_url":"https://github.com/weenhanceit/autism-funding/issues/9#issuecomment-226812596","issue_url":"https://api.github.com/repos/weenhanceit/autism-funding/issues/9","id":226812596,"user":{"login":"philcarrillo","id":15573867,"avatar_url":"https://avatars.githubusercontent.com/u/15573867?v=3","gravatar_id":"","url":"https://api.github.com/users/philcarrillo","html_url":"https://github.com/philcarrillo","followers_url":"https://api.github.com/users/philcarrillo/followers","following_url":"https://api.github.com/users/philcarrillo/following{/other_user}","gists_url":"https://api.github.com/users/philcarrillo/gists{/gist_id}","starred_url":"https://api.github.com/users/philcarrillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philcarrillo/subscriptions","organizations_url":"https://api.github.com/users/philcarrillo/orgs","repos_url":"https://api.github.com/users/philcarrillo/repos","events_url":"https://api.github.com/users/philcarrillo/events{/privacy}","received_events_url":"https://api.github.com/users/philcarrillo/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T16:13:16Z","updated_at":"2016-06-17T16:13:16Z","body":"I believe that in the general case, the Parent model should be separate from the User model, unless there was a reason to ensure that each Funded Person only could have one Parent.   There should only be one User who is able to add, delete and edit Parent or FundedPerson records.  It would cause potential security problems should we have different users (parents) able to edit FundedPerson records."}}
{"actor":{"display_login":"philcarrillo"}}