{"action":"created","issue":{"url":"https://api.github.com/repos/tryshoppe/shoppe/issues/305","labels_url":"https://api.github.com/repos/tryshoppe/shoppe/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/tryshoppe/shoppe/issues/305/comments","events_url":"https://api.github.com/repos/tryshoppe/shoppe/issues/305/events","html_url":"https://github.com/tryshoppe/shoppe/issues/305","id":117742303,"number":305,"title":"associate customer with user","user":{"login":"iqbalhasnan","id":794601,"avatar_url":"https://avatars.githubusercontent.com/u/794601?v=3","gravatar_id":"","url":"https://api.github.com/users/iqbalhasnan","html_url":"https://github.com/iqbalhasnan","followers_url":"https://api.github.com/users/iqbalhasnan/followers","following_url":"https://api.github.com/users/iqbalhasnan/following{/other_user}","gists_url":"https://api.github.com/users/iqbalhasnan/gists{/gist_id}","starred_url":"https://api.github.com/users/iqbalhasnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iqbalhasnan/subscriptions","organizations_url":"https://api.github.com/users/iqbalhasnan/orgs","repos_url":"https://api.github.com/users/iqbalhasnan/repos","events_url":"https://api.github.com/users/iqbalhasnan/events{/privacy}","received_events_url":"https://api.github.com/users/iqbalhasnan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-19T05:10:05Z","updated_at":"2015-11-28T20:41:14Z","closed_at":"2015-11-28T20:41:14Z","body":"is there any work in progress to associate `Customer` with `User` so we can allow customer to authenticate themselves?\r\n\r\nI read in this PR https://github.com/tryshoppe/shoppe/pull/119 that polymorphic association is favorable so that we can associate any of their models with a customer.\r\n\r\nI can start implementing this if we agree to go with this approach."},"comment":{"url":"https://api.github.com/repos/tryshoppe/shoppe/issues/comments/160334325","html_url":"https://github.com/tryshoppe/shoppe/issues/305#issuecomment-160334325","issue_url":"https://api.github.com/repos/tryshoppe/shoppe/issues/305","id":160334325,"user":{"login":"deanperry","id":425200,"avatar_url":"https://avatars.githubusercontent.com/u/425200?v=3","gravatar_id":"","url":"https://api.github.com/users/deanperry","html_url":"https://github.com/deanperry","followers_url":"https://api.github.com/users/deanperry/followers","following_url":"https://api.github.com/users/deanperry/following{/other_user}","gists_url":"https://api.github.com/users/deanperry/gists{/gist_id}","starred_url":"https://api.github.com/users/deanperry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanperry/subscriptions","organizations_url":"https://api.github.com/users/deanperry/orgs","repos_url":"https://api.github.com/users/deanperry/repos","events_url":"https://api.github.com/users/deanperry/events{/privacy}","received_events_url":"https://api.github.com/users/deanperry/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T20:41:14Z","updated_at":"2015-11-28T20:41:14Z","body":"This would be up to the user in their own apps but if you want to write the docs for it at https://github.com/tryshoppe/documentation that would be great"}}