{"action":"created","comment":{"url":"https://api.github.com/repos/falonofthetower/myflix/pulls/comments/28654523","id":28654523,"diff_hunk":"@@ -0,0 +1,11 @@\n+require 'spec_helper'\n+\n+describe Category do\n+  it \"saves itself\" do\n+    first_category = Category.create name: \"The category of love\"","path":"spec/models/category_spec.rb","position":5,"original_position":5,"commit_id":"4266392023af6187f517c142bcab4c96713493ad","original_commit_id":"4266392023af6187f517c142bcab4c96713493ad","user":{"login":"alagram","id":3409684,"avatar_url":"https://avatars.githubusercontent.com/u/3409684?v=3","gravatar_id":"","url":"https://api.github.com/users/alagram","html_url":"https://github.com/alagram","followers_url":"https://api.github.com/users/alagram/followers","following_url":"https://api.github.com/users/alagram/following{/other_user}","gists_url":"https://api.github.com/users/alagram/gists{/gist_id}","starred_url":"https://api.github.com/users/alagram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alagram/subscriptions","organizations_url":"https://api.github.com/users/alagram/orgs","repos_url":"https://api.github.com/users/alagram/repos","events_url":"https://api.github.com/users/alagram/events{/privacy}","received_events_url":"https://api.github.com/users/alagram/received_events","type":"User","site_admin":false},"body":"Not a big deal but you can use parens after `create`; imo it makes your code more readable. `first_category = Category.create(name: \"The category of love\"`)","created_at":"2015-04-19T16:58:16Z","updated_at":"2015-04-19T16:58:16Z","html_url":"https://github.com/falonofthetower/myflix/pull/1#discussion_r28654523","pull_request_url":"https://api.github.com/repos/falonofthetower/myflix/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/falonofthetower/myflix/pulls/comments/28654523"},"html":{"href":"https://github.com/falonofthetower/myflix/pull/1#discussion_r28654523"},"pull_request":{"href":"https://api.github.com/repos/falonofthetower/myflix/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/falonofthetower/myflix/pulls/1","id":33621153,"html_url":"https://github.com/falonofthetower/myflix/pull/1","diff_url":"https://github.com/falonofthetower/myflix/pull/1.diff","patch_url":"https://github.com/falonofthetower/myflix/pull/1.patch","issue_url":"https://api.github.com/repos/falonofthetower/myflix/issues/1","number":1,"state":"open","locked":false,"title":"Mod0","user":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"body":"My code floats like a butterfly, stings like a bee!","created_at":"2015-04-19T16:10:42Z","updated_at":"2015-04-19T16:58:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"899c0084ff1db39b8d6fc7d5b4ca8f8e33a6e267","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/falonofthetower/myflix/pulls/1/commits","review_comments_url":"https://api.github.com/repos/falonofthetower/myflix/pulls/1/comments","review_comment_url":"https://api.github.com/repos/falonofthetower/myflix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/falonofthetower/myflix/issues/1/comments","statuses_url":"https://api.github.com/repos/falonofthetower/myflix/statuses/4266392023af6187f517c142bcab4c96713493ad","head":{"label":"falonofthetower:mod0","ref":"mod0","sha":"4266392023af6187f517c142bcab4c96713493ad","user":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"repo":{"id":28207266,"name":"myflix","full_name":"falonofthetower/myflix","owner":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/falonofthetower/myflix","description":"","fork":false,"url":"https://api.github.com/repos/falonofthetower/myflix","forks_url":"https://api.github.com/repos/falonofthetower/myflix/forks","keys_url":"https://api.github.com/repos/falonofthetower/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/falonofthetower/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/falonofthetower/myflix/teams","hooks_url":"https://api.github.com/repos/falonofthetower/myflix/hooks","issue_events_url":"https://api.github.com/repos/falonofthetower/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/falonofthetower/myflix/events","assignees_url":"https://api.github.com/repos/falonofthetower/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/falonofthetower/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/falonofthetower/myflix/tags","blobs_url":"https://api.github.com/repos/falonofthetower/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/falonofthetower/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/falonofthetower/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/falonofthetower/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/falonofthetower/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/falonofthetower/myflix/languages","stargazers_url":"https://api.github.com/repos/falonofthetower/myflix/stargazers","contributors_url":"https://api.github.com/repos/falonofthetower/myflix/contributors","subscribers_url":"https://api.github.com/repos/falonofthetower/myflix/subscribers","subscription_url":"https://api.github.com/repos/falonofthetower/myflix/subscription","commits_url":"https://api.github.com/repos/falonofthetower/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/falonofthetower/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/falonofthetower/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/falonofthetower/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/falonofthetower/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/falonofthetower/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/falonofthetower/myflix/merges","archive_url":"https://api.github.com/repos/falonofthetower/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/falonofthetower/myflix/downloads","issues_url":"https://api.github.com/repos/falonofthetower/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/falonofthetower/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/falonofthetower/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/falonofthetower/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/falonofthetower/myflix/labels{/name}","releases_url":"https://api.github.com/repos/falonofthetower/myflix/releases{/id}","created_at":"2014-12-19T00:10:03Z","updated_at":"2015-04-14T13:43:36Z","pushed_at":"2015-04-19T16:10:42Z","git_url":"git://github.com/falonofthetower/myflix.git","ssh_url":"git@github.com:falonofthetower/myflix.git","clone_url":"https://github.com/falonofthetower/myflix.git","svn_url":"https://github.com/falonofthetower/myflix","homepage":null,"size":304,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"falonofthetower:master","ref":"master","sha":"6f15372f2de3edc1a39df4dad269b986d7cdae2e","user":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"repo":{"id":28207266,"name":"myflix","full_name":"falonofthetower/myflix","owner":{"login":"falonofthetower","id":6103923,"avatar_url":"https://avatars.githubusercontent.com/u/6103923?v=3","gravatar_id":"","url":"https://api.github.com/users/falonofthetower","html_url":"https://github.com/falonofthetower","followers_url":"https://api.github.com/users/falonofthetower/followers","following_url":"https://api.github.com/users/falonofthetower/following{/other_user}","gists_url":"https://api.github.com/users/falonofthetower/gists{/gist_id}","starred_url":"https://api.github.com/users/falonofthetower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falonofthetower/subscriptions","organizations_url":"https://api.github.com/users/falonofthetower/orgs","repos_url":"https://api.github.com/users/falonofthetower/repos","events_url":"https://api.github.com/users/falonofthetower/events{/privacy}","received_events_url":"https://api.github.com/users/falonofthetower/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/falonofthetower/myflix","description":"","fork":false,"url":"https://api.github.com/repos/falonofthetower/myflix","forks_url":"https://api.github.com/repos/falonofthetower/myflix/forks","keys_url":"https://api.github.com/repos/falonofthetower/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/falonofthetower/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/falonofthetower/myflix/teams","hooks_url":"https://api.github.com/repos/falonofthetower/myflix/hooks","issue_events_url":"https://api.github.com/repos/falonofthetower/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/falonofthetower/myflix/events","assignees_url":"https://api.github.com/repos/falonofthetower/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/falonofthetower/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/falonofthetower/myflix/tags","blobs_url":"https://api.github.com/repos/falonofthetower/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/falonofthetower/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/falonofthetower/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/falonofthetower/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/falonofthetower/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/falonofthetower/myflix/languages","stargazers_url":"https://api.github.com/repos/falonofthetower/myflix/stargazers","contributors_url":"https://api.github.com/repos/falonofthetower/myflix/contributors","subscribers_url":"https://api.github.com/repos/falonofthetower/myflix/subscribers","subscription_url":"https://api.github.com/repos/falonofthetower/myflix/subscription","commits_url":"https://api.github.com/repos/falonofthetower/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/falonofthetower/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/falonofthetower/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/falonofthetower/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/falonofthetower/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/falonofthetower/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/falonofthetower/myflix/merges","archive_url":"https://api.github.com/repos/falonofthetower/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/falonofthetower/myflix/downloads","issues_url":"https://api.github.com/repos/falonofthetower/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/falonofthetower/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/falonofthetower/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/falonofthetower/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/falonofthetower/myflix/labels{/name}","releases_url":"https://api.github.com/repos/falonofthetower/myflix/releases{/id}","created_at":"2014-12-19T00:10:03Z","updated_at":"2015-04-14T13:43:36Z","pushed_at":"2015-04-19T16:10:42Z","git_url":"git://github.com/falonofthetower/myflix.git","ssh_url":"git@github.com:falonofthetower/myflix.git","clone_url":"https://github.com/falonofthetower/myflix.git","svn_url":"https://github.com/falonofthetower/myflix","homepage":null,"size":304,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/falonofthetower/myflix/pulls/1"},"html":{"href":"https://github.com/falonofthetower/myflix/pull/1"},"issue":{"href":"https://api.github.com/repos/falonofthetower/myflix/issues/1"},"comments":{"href":"https://api.github.com/repos/falonofthetower/myflix/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/falonofthetower/myflix/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/falonofthetower/myflix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/falonofthetower/myflix/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/falonofthetower/myflix/statuses/4266392023af6187f517c142bcab4c96713493ad"}}}}