{"action":"created","issue":{"url":"https://api.github.com/repos/c-noonan/AirBnweee/issues/6","repository_url":"https://api.github.com/repos/c-noonan/AirBnweee","labels_url":"https://api.github.com/repos/c-noonan/AirBnweee/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/c-noonan/AirBnweee/issues/6/comments","events_url":"https://api.github.com/repos/c-noonan/AirBnweee/issues/6/events","html_url":"https://github.com/c-noonan/AirBnweee/issues/6","id":294626196,"number":6,"title":"PA Review - Reviews","user":{"login":"c-noonan","id":26209114,"avatar_url":"https://avatars3.githubusercontent.com/u/26209114?v=4","gravatar_id":"","url":"https://api.github.com/users/c-noonan","html_url":"https://github.com/c-noonan","followers_url":"https://api.github.com/users/c-noonan/followers","following_url":"https://api.github.com/users/c-noonan/following{/other_user}","gists_url":"https://api.github.com/users/c-noonan/gists{/gist_id}","starred_url":"https://api.github.com/users/c-noonan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-noonan/subscriptions","organizations_url":"https://api.github.com/users/c-noonan/orgs","repos_url":"https://api.github.com/users/c-noonan/repos","events_url":"https://api.github.com/users/c-noonan/events{/privacy}","received_events_url":"https://api.github.com/users/c-noonan/received_events","type":"User","site_admin":false},"labels":[{"id":819671444,"url":"https://api.github.com/repos/c-noonan/AirBnweee/labels/core%20feature","name":"core feature","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"c-noonan","id":26209114,"avatar_url":"https://avatars3.githubusercontent.com/u/26209114?v=4","gravatar_id":"","url":"https://api.github.com/users/c-noonan","html_url":"https://github.com/c-noonan","followers_url":"https://api.github.com/users/c-noonan/followers","following_url":"https://api.github.com/users/c-noonan/following{/other_user}","gists_url":"https://api.github.com/users/c-noonan/gists{/gist_id}","starred_url":"https://api.github.com/users/c-noonan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-noonan/subscriptions","organizations_url":"https://api.github.com/users/c-noonan/orgs","repos_url":"https://api.github.com/users/c-noonan/repos","events_url":"https://api.github.com/users/c-noonan/events{/privacy}","received_events_url":"https://api.github.com/users/c-noonan/received_events","type":"User","site_admin":false},"assignees":[{"login":"c-noonan","id":26209114,"avatar_url":"https://avatars3.githubusercontent.com/u/26209114?v=4","gravatar_id":"","url":"https://api.github.com/users/c-noonan","html_url":"https://github.com/c-noonan","followers_url":"https://api.github.com/users/c-noonan/followers","following_url":"https://api.github.com/users/c-noonan/following{/other_user}","gists_url":"https://api.github.com/users/c-noonan/gists{/gist_id}","starred_url":"https://api.github.com/users/c-noonan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-noonan/subscriptions","organizations_url":"https://api.github.com/users/c-noonan/orgs","repos_url":"https://api.github.com/users/c-noonan/repos","events_url":"https://api.github.com/users/c-noonan/events{/privacy}","received_events_url":"https://api.github.com/users/c-noonan/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/c-noonan/AirBnweee/milestones/7","html_url":"https://github.com/c-noonan/AirBnweee/milestone/7","labels_url":"https://api.github.com/repos/c-noonan/AirBnweee/milestones/7/labels","id":3069931,"number":7,"title":"Reviews","description":"Complete reviews functionality","creator":{"login":"c-noonan","id":26209114,"avatar_url":"https://avatars3.githubusercontent.com/u/26209114?v=4","gravatar_id":"","url":"https://api.github.com/users/c-noonan","html_url":"https://github.com/c-noonan","followers_url":"https://api.github.com/users/c-noonan/followers","following_url":"https://api.github.com/users/c-noonan/following{/other_user}","gists_url":"https://api.github.com/users/c-noonan/gists{/gist_id}","starred_url":"https://api.github.com/users/c-noonan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-noonan/subscriptions","organizations_url":"https://api.github.com/users/c-noonan/orgs","repos_url":"https://api.github.com/users/c-noonan/repos","events_url":"https://api.github.com/users/c-noonan/events{/privacy}","received_events_url":"https://api.github.com/users/c-noonan/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2018-01-29T05:05:43Z","updated_at":"2018-02-06T04:09:10Z","due_on":"2018-02-06T08:00:00Z","closed_at":null},"comments":1,"created_at":"2018-02-06T04:09:10Z","updated_at":"2018-02-06T19:23:03Z","closed_at":null,"author_association":"OWNER","body":" - [x] Backend: DB, model, controller, views\r\n - [x] Redux Loop: ajax, actions, reducer\r\n - [ ] Presentational Components\r\n - [ ] Styling\r\n - [ ] Smooth, bug-free navigation\r\n - [x] Adequate and appropriate seeds to demonstrate the feature\r\n - [ ] Users can leave reviews; reviews can have comments, ratings, and dates"},"comment":{"url":"https://api.github.com/repos/c-noonan/AirBnweee/issues/comments/363535482","html_url":"https://github.com/c-noonan/AirBnweee/issues/6#issuecomment-363535482","issue_url":"https://api.github.com/repos/c-noonan/AirBnweee/issues/6","id":363535482,"user":{"login":"anastassia-b","id":26614978,"avatar_url":"https://avatars0.githubusercontent.com/u/26614978?v=4","gravatar_id":"","url":"https://api.github.com/users/anastassia-b","html_url":"https://github.com/anastassia-b","followers_url":"https://api.github.com/users/anastassia-b/followers","following_url":"https://api.github.com/users/anastassia-b/following{/other_user}","gists_url":"https://api.github.com/users/anastassia-b/gists{/gist_id}","starred_url":"https://api.github.com/users/anastassia-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anastassia-b/subscriptions","organizations_url":"https://api.github.com/users/anastassia-b/orgs","repos_url":"https://api.github.com/users/anastassia-b/repos","events_url":"https://api.github.com/users/anastassia-b/events{/privacy}","received_events_url":"https://api.github.com/users/anastassia-b/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T19:23:03Z","updated_at":"2018-02-06T19:23:03Z","author_association":"COLLABORATOR","body":"Good question. Based on your database schema, a review knows its user_id and its spot_id. If you wanted to easily fetch the dates of the stay, you could have reviews belong_to a booking (just keep track of a booking_id). Either way would work (your associations would just be a little different). The body and the rating are definitely primary though. "}}
{"actor":{"display_login":"anastassia-b"}}