{"action":"created","comment":{"url":"https://api.github.com/repos/kenwmak/bloccit/pulls/comments/36696491","id":36696491,"diff_hunk":"@@ -40,7 +40,7 @@\n  posts = Post.all","path":"db/seeds.rb","position":28,"original_position":28,"commit_id":"0bbd0d29b10acf4937ec91252c45e8f2b9cedfea","original_commit_id":"0bbd0d29b10acf4937ec91252c45e8f2b9cedfea","user":{"login":"droberts84","id":4960334,"avatar_url":"https://avatars.githubusercontent.com/u/4960334?v=3","gravatar_id":"","url":"https://api.github.com/users/droberts84","html_url":"https://github.com/droberts84","followers_url":"https://api.github.com/users/droberts84/followers","following_url":"https://api.github.com/users/droberts84/following{/other_user}","gists_url":"https://api.github.com/users/droberts84/gists{/gist_id}","starred_url":"https://api.github.com/users/droberts84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droberts84/subscriptions","organizations_url":"https://api.github.com/users/droberts84/orgs","repos_url":"https://api.github.com/users/droberts84/repos","events_url":"https://api.github.com/users/droberts84/events{/privacy}","received_events_url":"https://api.github.com/users/droberts84/received_events","type":"User","site_admin":false},"body":"A cool trick is you can do\r\n\r\n    posts = 1_000.times.map do\r\n      # code to create a single post\r\n    end\r\n\r\n`1_000.times` provide an [Enumerator](http://devdocs.io/ruby/enumerator), which you can then call `map` on to return an array of every `post` you create.","created_at":"2015-08-10T23:20:03Z","updated_at":"2015-08-10T23:20:03Z","html_url":"https://github.com/kenwmak/bloccit/pull/13#discussion_r36696491","pull_request_url":"https://api.github.com/repos/kenwmak/bloccit/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/kenwmak/bloccit/pulls/comments/36696491"},"html":{"href":"https://github.com/kenwmak/bloccit/pull/13#discussion_r36696491"},"pull_request":{"href":"https://api.github.com/repos/kenwmak/bloccit/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/kenwmak/bloccit/pulls/13","id":41978572,"html_url":"https://github.com/kenwmak/bloccit/pull/13","diff_url":"https://github.com/kenwmak/bloccit/pull/13.diff","patch_url":"https://github.com/kenwmak/bloccit/pull/13.patch","issue_url":"https://api.github.com/repos/kenwmak/bloccit/issues/13","number":13,"state":"open","locked":false,"title":"assignment 45 pagination completed","user":{"login":"kenwmak","id":13318701,"avatar_url":"https://avatars.githubusercontent.com/u/13318701?v=3","gravatar_id":"","url":"https://api.github.com/users/kenwmak","html_url":"https://github.com/kenwmak","followers_url":"https://api.github.com/users/kenwmak/followers","following_url":"https://api.github.com/users/kenwmak/following{/other_user}","gists_url":"https://api.github.com/users/kenwmak/gists{/gist_id}","starred_url":"https://api.github.com/users/kenwmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenwmak/subscriptions","organizations_url":"https://api.github.com/users/kenwmak/orgs","repos_url":"https://api.github.com/users/kenwmak/repos","events_url":"https://api.github.com/users/kenwmak/events{/privacy}","received_events_url":"https://api.github.com/users/kenwmak/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-09T22:46:14Z","updated_at":"2015-08-10T23:20:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7790bff77d0cf2ed0521c29259ab9deb337c814e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kenwmak/bloccit/pulls/13/commits","review_comments_url":"https://api.github.com/repos/kenwmak/bloccit/pulls/13/comments","review_comment_url":"https://api.github.com/repos/kenwmak/bloccit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kenwmak/bloccit/issues/13/comments","statuses_url":"https://api.github.com/repos/kenwmak/bloccit/statuses/0bbd0d29b10acf4937ec91252c45e8f2b9cedfea","head":{"label":"kenwmak:assignment-45-Pagination","ref":"assignment-45-Pagination","sha":"0bbd0d29b10acf4937ec91252c45e8f2b9cedfea","user":{"login":"kenwmak","id":13318701,"avatar_url":"https://avatars.githubusercontent.com/u/13318701?v=3","gravatar_id":"","url":"https://api.github.com/users/kenwmak","html_url":"https://github.com/kenwmak","followers_url":"https://api.github.com/users/kenwmak/followers","following_url":"https://api.github.com/users/kenwmak/following{/other_user}","gists_url":"https://api.github.com/users/kenwmak/gists{/gist_id}","starred_url":"https://api.github.com/users/kenwmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenwmak/subscriptions","organizations_url":"https://api.github.com/users/kenwmak/orgs","repos_url":"https://api.github.com/users/kenwmak/repos","events_url":"https://api.github.com/users/kenwmak/events{/privacy}","received_events_url":"https://api.github.com/users/kenwmak/received_events","type":"User","site_admin":false},"repo":{"id":39590499,"name":"bloccit","full_name":"kenwmak/bloccit","owner":{"login":"kenwmak","id":13318701,"avatar_url":"https://avatars.githubusercontent.com/u/13318701?v=3","gravatar_id":"","url":"https://api.github.com/users/kenwmak","html_url":"https://github.com/kenwmak","followers_url":"https://api.github.com/users/kenwmak/followers","following_url":"https://api.github.com/users/kenwmak/following{/other_user}","gists_url":"https://api.github.com/users/kenwmak/gists{/gist_id}","starred_url":"https://api.github.com/users/kenwmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenwmak/subscriptions","organizations_url":"https://api.github.com/users/kenwmak/orgs","repos_url":"https://api.github.com/users/kenwmak/repos","events_url":"https://api.github.com/users/kenwmak/events{/privacy}","received_events_url":"https://api.github.com/users/kenwmak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kenwmak/bloccit","description":"","fork":false,"url":"https://api.github.com/repos/kenwmak/bloccit","forks_url":"https://api.github.com/repos/kenwmak/bloccit/forks","keys_url":"https://api.github.com/repos/kenwmak/bloccit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kenwmak/bloccit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kenwmak/bloccit/teams","hooks_url":"https://api.github.com/repos/kenwmak/bloccit/hooks","issue_events_url":"https://api.github.com/repos/kenwmak/bloccit/issues/events{/number}","events_url":"https://api.github.com/repos/kenwmak/bloccit/events","assignees_url":"https://api.github.com/repos/kenwmak/bloccit/assignees{/user}","branches_url":"https://api.github.com/repos/kenwmak/bloccit/branches{/branch}","tags_url":"https://api.github.com/repos/kenwmak/bloccit/tags","blobs_url":"https://api.github.com/repos/kenwmak/bloccit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kenwmak/bloccit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kenwmak/bloccit/git/refs{/sha}","trees_url":"https://api.github.com/repos/kenwmak/bloccit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kenwmak/bloccit/statuses/{sha}","languages_url":"https://api.github.com/repos/kenwmak/bloccit/languages","stargazers_url":"https://api.github.com/repos/kenwmak/bloccit/stargazers","contributors_url":"https://api.github.com/repos/kenwmak/bloccit/contributors","subscribers_url":"https://api.github.com/repos/kenwmak/bloccit/subscribers","subscription_url":"https://api.github.com/repos/kenwmak/bloccit/subscription","commits_url":"https://api.github.com/repos/kenwmak/bloccit/commits{/sha}","git_commits_url":"https://api.github.com/repos/kenwmak/bloccit/git/commits{/sha}","comments_url":"https://api.github.com/repos/kenwmak/bloccit/comments{/number}","issue_comment_url":"https://api.github.com/repos/kenwmak/bloccit/issues/comments{/number}","contents_url":"https://api.github.com/repos/kenwmak/bloccit/contents/{+path}","compare_url":"https://api.github.com/repos/kenwmak/bloccit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kenwmak/bloccit/merges","archive_url":"https://api.github.com/repos/kenwmak/bloccit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kenwmak/bloccit/downloads","issues_url":"https://api.github.com/repos/kenwmak/bloccit/issues{/number}","pulls_url":"https://api.github.com/repos/kenwmak/bloccit/pulls{/number}","milestones_url":"https://api.github.com/repos/kenwmak/bloccit/milestones{/number}","notifications_url":"https://api.github.com/repos/kenwmak/bloccit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kenwmak/bloccit/labels{/name}","releases_url":"https://api.github.com/repos/kenwmak/bloccit/releases{/id}","created_at":"2015-07-23T20:24:40Z","updated_at":"2015-07-23T20:31:06Z","pushed_at":"2015-08-10T06:04:58Z","git_url":"git://github.com/kenwmak/bloccit.git","ssh_url":"git@github.com:kenwmak/bloccit.git","clone_url":"https://github.com/kenwmak/bloccit.git","svn_url":"https://github.com/kenwmak/bloccit","homepage":null,"size":392,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"kenwmak:master","ref":"master","sha":"f2433fea71316a3fb7a9c19d52671b44b956da9f","user":{"login":"kenwmak","id":13318701,"avatar_url":"https://avatars.githubusercontent.com/u/13318701?v=3","gravatar_id":"","url":"https://api.github.com/users/kenwmak","html_url":"https://github.com/kenwmak","followers_url":"https://api.github.com/users/kenwmak/followers","following_url":"https://api.github.com/users/kenwmak/following{/other_user}","gists_url":"https://api.github.com/users/kenwmak/gists{/gist_id}","starred_url":"https://api.github.com/users/kenwmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenwmak/subscriptions","organizations_url":"https://api.github.com/users/kenwmak/orgs","repos_url":"https://api.github.com/users/kenwmak/repos","events_url":"https://api.github.com/users/kenwmak/events{/privacy}","received_events_url":"https://api.github.com/users/kenwmak/received_events","type":"User","site_admin":false},"repo":{"id":39590499,"name":"bloccit","full_name":"kenwmak/bloccit","owner":{"login":"kenwmak","id":13318701,"avatar_url":"https://avatars.githubusercontent.com/u/13318701?v=3","gravatar_id":"","url":"https://api.github.com/users/kenwmak","html_url":"https://github.com/kenwmak","followers_url":"https://api.github.com/users/kenwmak/followers","following_url":"https://api.github.com/users/kenwmak/following{/other_user}","gists_url":"https://api.github.com/users/kenwmak/gists{/gist_id}","starred_url":"https://api.github.com/users/kenwmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenwmak/subscriptions","organizations_url":"https://api.github.com/users/kenwmak/orgs","repos_url":"https://api.github.com/users/kenwmak/repos","events_url":"https://api.github.com/users/kenwmak/events{/privacy}","received_events_url":"https://api.github.com/users/kenwmak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kenwmak/bloccit","description":"","fork":false,"url":"https://api.github.com/repos/kenwmak/bloccit","forks_url":"https://api.github.com/repos/kenwmak/bloccit/forks","keys_url":"https://api.github.com/repos/kenwmak/bloccit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kenwmak/bloccit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kenwmak/bloccit/teams","hooks_url":"https://api.github.com/repos/kenwmak/bloccit/hooks","issue_events_url":"https://api.github.com/repos/kenwmak/bloccit/issues/events{/number}","events_url":"https://api.github.com/repos/kenwmak/bloccit/events","assignees_url":"https://api.github.com/repos/kenwmak/bloccit/assignees{/user}","branches_url":"https://api.github.com/repos/kenwmak/bloccit/branches{/branch}","tags_url":"https://api.github.com/repos/kenwmak/bloccit/tags","blobs_url":"https://api.github.com/repos/kenwmak/bloccit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kenwmak/bloccit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kenwmak/bloccit/git/refs{/sha}","trees_url":"https://api.github.com/repos/kenwmak/bloccit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kenwmak/bloccit/statuses/{sha}","languages_url":"https://api.github.com/repos/kenwmak/bloccit/languages","stargazers_url":"https://api.github.com/repos/kenwmak/bloccit/stargazers","contributors_url":"https://api.github.com/repos/kenwmak/bloccit/contributors","subscribers_url":"https://api.github.com/repos/kenwmak/bloccit/subscribers","subscription_url":"https://api.github.com/repos/kenwmak/bloccit/subscription","commits_url":"https://api.github.com/repos/kenwmak/bloccit/commits{/sha}","git_commits_url":"https://api.github.com/repos/kenwmak/bloccit/git/commits{/sha}","comments_url":"https://api.github.com/repos/kenwmak/bloccit/comments{/number}","issue_comment_url":"https://api.github.com/repos/kenwmak/bloccit/issues/comments{/number}","contents_url":"https://api.github.com/repos/kenwmak/bloccit/contents/{+path}","compare_url":"https://api.github.com/repos/kenwmak/bloccit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kenwmak/bloccit/merges","archive_url":"https://api.github.com/repos/kenwmak/bloccit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kenwmak/bloccit/downloads","issues_url":"https://api.github.com/repos/kenwmak/bloccit/issues{/number}","pulls_url":"https://api.github.com/repos/kenwmak/bloccit/pulls{/number}","milestones_url":"https://api.github.com/repos/kenwmak/bloccit/milestones{/number}","notifications_url":"https://api.github.com/repos/kenwmak/bloccit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kenwmak/bloccit/labels{/name}","releases_url":"https://api.github.com/repos/kenwmak/bloccit/releases{/id}","created_at":"2015-07-23T20:24:40Z","updated_at":"2015-07-23T20:31:06Z","pushed_at":"2015-08-10T06:04:58Z","git_url":"git://github.com/kenwmak/bloccit.git","ssh_url":"git@github.com:kenwmak/bloccit.git","clone_url":"https://github.com/kenwmak/bloccit.git","svn_url":"https://github.com/kenwmak/bloccit","homepage":null,"size":392,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kenwmak/bloccit/pulls/13"},"html":{"href":"https://github.com/kenwmak/bloccit/pull/13"},"issue":{"href":"https://api.github.com/repos/kenwmak/bloccit/issues/13"},"comments":{"href":"https://api.github.com/repos/kenwmak/bloccit/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/kenwmak/bloccit/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/kenwmak/bloccit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kenwmak/bloccit/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/kenwmak/bloccit/statuses/0bbd0d29b10acf4937ec91252c45e8f2b9cedfea"}}}}