{"action":"created","comment":{"url":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls/comments/35451653","id":35451653,"diff_hunk":"@@ -6,10 +6,35 @@\n #   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])\n #   Mayor.create(name: 'Emanuel', city: cities.first)\n \n-ArtType.create(name: \"visual art\")\n-ArtType.create(name: \"writing\")\n-ArtType.create(name: \"music\")\n-ArtType.create(name: \"dance\")\n-ArtType.create(name: \"theater\")\n-ArtType.create(name: \"filmmaking\")\n-ArtType.create(name: \"photography\")\n+ArtType.find_or_create_by(name: \"visual art\")\n+ArtType.find_or_create_by(name: \"writing\")\n+ArtType.find_or_create_by(name: \"music\")\n+ArtType.find_or_create_by(name: \"dance\")\n+ArtType.find_or_create_by(name: \"theater\")\n+ArtType.find_or_create_by(name: \"filmmaking\")\n+\n+50.times do |n|\n+    a = User.new\n+    a.first_name =  Faker::Name.first_name\n+    a.last_name = Faker::Name.last_name\n+    a.email =  Faker::Internet.email\n+    a.password = \"password\"\n+    a.password_confirmation = \"password\"\n+    a.city = Faker::Address.city\n+    a.state = Faker::Address.state\n+    a.description =  Faker::Lorem.paragraph\n+    a.profile_photo = Faker::Avatar.image\n+    a.username  = Faker::Internet.user_name\n+    a.website = Faker::Internet.url\n+    a.admin = false\n+\n+    a.save\n+end\n+\n+50.times do |n|","path":"db/seeds.rb","position":36,"original_position":36,"commit_id":"69d88f0e6ba2a79abc1f62568e62b5094803ae18","original_commit_id":"42282ff0e01dfd1ee8179eab37eb4df29eaf2307","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Unused block argument - `n`. You can omit the argument if you don't care about it.","created_at":"2015-07-24T18:27:26Z","updated_at":"2015-07-24T18:27:26Z","html_url":"https://github.com/NoraDelaney/make-with-me/pull/17#discussion_r35451653","pull_request_url":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls/comments/35451653"},"html":{"href":"https://github.com/NoraDelaney/make-with-me/pull/17#discussion_r35451653"},"pull_request":{"href":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls/17","id":40774567,"html_url":"https://github.com/NoraDelaney/make-with-me/pull/17","diff_url":"https://github.com/NoraDelaney/make-with-me/pull/17.diff","patch_url":"https://github.com/NoraDelaney/make-with-me/pull/17.patch","issue_url":"https://api.github.com/repos/NoraDelaney/make-with-me/issues/17","number":17,"state":"closed","locked":false,"title":"stuff","user":{"login":"NoraDelaney","id":11383263,"avatar_url":"https://avatars.githubusercontent.com/u/11383263?v=3","gravatar_id":"","url":"https://api.github.com/users/NoraDelaney","html_url":"https://github.com/NoraDelaney","followers_url":"https://api.github.com/users/NoraDelaney/followers","following_url":"https://api.github.com/users/NoraDelaney/following{/other_user}","gists_url":"https://api.github.com/users/NoraDelaney/gists{/gist_id}","starred_url":"https://api.github.com/users/NoraDelaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoraDelaney/subscriptions","organizations_url":"https://api.github.com/users/NoraDelaney/orgs","repos_url":"https://api.github.com/users/NoraDelaney/repos","events_url":"https://api.github.com/users/NoraDelaney/events{/privacy}","received_events_url":"https://api.github.com/users/NoraDelaney/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-24T13:28:15Z","updated_at":"2015-07-24T18:27:26Z","closed_at":"2015-07-24T13:37:21Z","merged_at":"2015-07-24T13:37:21Z","merge_commit_sha":"ff607c898f37fec68a7f2fd63c552c1d66a36a8c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls/17/commits","review_comments_url":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls/17/comments","review_comment_url":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NoraDelaney/make-with-me/issues/17/comments","statuses_url":"https://api.github.com/repos/NoraDelaney/make-with-me/statuses/69d88f0e6ba2a79abc1f62568e62b5094803ae18","head":{"label":"NoraDelaney:test_mailer","ref":"test_mailer","sha":"69d88f0e6ba2a79abc1f62568e62b5094803ae18","user":{"login":"NoraDelaney","id":11383263,"avatar_url":"https://avatars.githubusercontent.com/u/11383263?v=3","gravatar_id":"","url":"https://api.github.com/users/NoraDelaney","html_url":"https://github.com/NoraDelaney","followers_url":"https://api.github.com/users/NoraDelaney/followers","following_url":"https://api.github.com/users/NoraDelaney/following{/other_user}","gists_url":"https://api.github.com/users/NoraDelaney/gists{/gist_id}","starred_url":"https://api.github.com/users/NoraDelaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoraDelaney/subscriptions","organizations_url":"https://api.github.com/users/NoraDelaney/orgs","repos_url":"https://api.github.com/users/NoraDelaney/repos","events_url":"https://api.github.com/users/NoraDelaney/events{/privacy}","received_events_url":"https://api.github.com/users/NoraDelaney/received_events","type":"User","site_admin":false},"repo":{"id":38657895,"name":"make-with-me","full_name":"NoraDelaney/make-with-me","owner":{"login":"NoraDelaney","id":11383263,"avatar_url":"https://avatars.githubusercontent.com/u/11383263?v=3","gravatar_id":"","url":"https://api.github.com/users/NoraDelaney","html_url":"https://github.com/NoraDelaney","followers_url":"https://api.github.com/users/NoraDelaney/followers","following_url":"https://api.github.com/users/NoraDelaney/following{/other_user}","gists_url":"https://api.github.com/users/NoraDelaney/gists{/gist_id}","starred_url":"https://api.github.com/users/NoraDelaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoraDelaney/subscriptions","organizations_url":"https://api.github.com/users/NoraDelaney/orgs","repos_url":"https://api.github.com/users/NoraDelaney/repos","events_url":"https://api.github.com/users/NoraDelaney/events{/privacy}","received_events_url":"https://api.github.com/users/NoraDelaney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NoraDelaney/make-with-me","description":"","fork":false,"url":"https://api.github.com/repos/NoraDelaney/make-with-me","forks_url":"https://api.github.com/repos/NoraDelaney/make-with-me/forks","keys_url":"https://api.github.com/repos/NoraDelaney/make-with-me/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NoraDelaney/make-with-me/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NoraDelaney/make-with-me/teams","hooks_url":"https://api.github.com/repos/NoraDelaney/make-with-me/hooks","issue_events_url":"https://api.github.com/repos/NoraDelaney/make-with-me/issues/events{/number}","events_url":"https://api.github.com/repos/NoraDelaney/make-with-me/events","assignees_url":"https://api.github.com/repos/NoraDelaney/make-with-me/assignees{/user}","branches_url":"https://api.github.com/repos/NoraDelaney/make-with-me/branches{/branch}","tags_url":"https://api.github.com/repos/NoraDelaney/make-with-me/tags","blobs_url":"https://api.github.com/repos/NoraDelaney/make-with-me/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NoraDelaney/make-with-me/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NoraDelaney/make-with-me/git/refs{/sha}","trees_url":"https://api.github.com/repos/NoraDelaney/make-with-me/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NoraDelaney/make-with-me/statuses/{sha}","languages_url":"https://api.github.com/repos/NoraDelaney/make-with-me/languages","stargazers_url":"https://api.github.com/repos/NoraDelaney/make-with-me/stargazers","contributors_url":"https://api.github.com/repos/NoraDelaney/make-with-me/contributors","subscribers_url":"https://api.github.com/repos/NoraDelaney/make-with-me/subscribers","subscription_url":"https://api.github.com/repos/NoraDelaney/make-with-me/subscription","commits_url":"https://api.github.com/repos/NoraDelaney/make-with-me/commits{/sha}","git_commits_url":"https://api.github.com/repos/NoraDelaney/make-with-me/git/commits{/sha}","comments_url":"https://api.github.com/repos/NoraDelaney/make-with-me/comments{/number}","issue_comment_url":"https://api.github.com/repos/NoraDelaney/make-with-me/issues/comments{/number}","contents_url":"https://api.github.com/repos/NoraDelaney/make-with-me/contents/{+path}","compare_url":"https://api.github.com/repos/NoraDelaney/make-with-me/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NoraDelaney/make-with-me/merges","archive_url":"https://api.github.com/repos/NoraDelaney/make-with-me/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NoraDelaney/make-with-me/downloads","issues_url":"https://api.github.com/repos/NoraDelaney/make-with-me/issues{/number}","pulls_url":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls{/number}","milestones_url":"https://api.github.com/repos/NoraDelaney/make-with-me/milestones{/number}","notifications_url":"https://api.github.com/repos/NoraDelaney/make-with-me/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NoraDelaney/make-with-me/labels{/name}","releases_url":"https://api.github.com/repos/NoraDelaney/make-with-me/releases{/id}","created_at":"2015-07-07T02:07:00Z","updated_at":"2015-07-19T01:37:42Z","pushed_at":"2015-07-24T17:59:26Z","git_url":"git://github.com/NoraDelaney/make-with-me.git","ssh_url":"git@github.com:NoraDelaney/make-with-me.git","clone_url":"https://github.com/NoraDelaney/make-with-me.git","svn_url":"https://github.com/NoraDelaney/make-with-me","homepage":null,"size":4748,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"NoraDelaney:master","ref":"master","sha":"b62bdd041da1a1c8c558e9d5c43628fd09526a0b","user":{"login":"NoraDelaney","id":11383263,"avatar_url":"https://avatars.githubusercontent.com/u/11383263?v=3","gravatar_id":"","url":"https://api.github.com/users/NoraDelaney","html_url":"https://github.com/NoraDelaney","followers_url":"https://api.github.com/users/NoraDelaney/followers","following_url":"https://api.github.com/users/NoraDelaney/following{/other_user}","gists_url":"https://api.github.com/users/NoraDelaney/gists{/gist_id}","starred_url":"https://api.github.com/users/NoraDelaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoraDelaney/subscriptions","organizations_url":"https://api.github.com/users/NoraDelaney/orgs","repos_url":"https://api.github.com/users/NoraDelaney/repos","events_url":"https://api.github.com/users/NoraDelaney/events{/privacy}","received_events_url":"https://api.github.com/users/NoraDelaney/received_events","type":"User","site_admin":false},"repo":{"id":38657895,"name":"make-with-me","full_name":"NoraDelaney/make-with-me","owner":{"login":"NoraDelaney","id":11383263,"avatar_url":"https://avatars.githubusercontent.com/u/11383263?v=3","gravatar_id":"","url":"https://api.github.com/users/NoraDelaney","html_url":"https://github.com/NoraDelaney","followers_url":"https://api.github.com/users/NoraDelaney/followers","following_url":"https://api.github.com/users/NoraDelaney/following{/other_user}","gists_url":"https://api.github.com/users/NoraDelaney/gists{/gist_id}","starred_url":"https://api.github.com/users/NoraDelaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoraDelaney/subscriptions","organizations_url":"https://api.github.com/users/NoraDelaney/orgs","repos_url":"https://api.github.com/users/NoraDelaney/repos","events_url":"https://api.github.com/users/NoraDelaney/events{/privacy}","received_events_url":"https://api.github.com/users/NoraDelaney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NoraDelaney/make-with-me","description":"","fork":false,"url":"https://api.github.com/repos/NoraDelaney/make-with-me","forks_url":"https://api.github.com/repos/NoraDelaney/make-with-me/forks","keys_url":"https://api.github.com/repos/NoraDelaney/make-with-me/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NoraDelaney/make-with-me/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NoraDelaney/make-with-me/teams","hooks_url":"https://api.github.com/repos/NoraDelaney/make-with-me/hooks","issue_events_url":"https://api.github.com/repos/NoraDelaney/make-with-me/issues/events{/number}","events_url":"https://api.github.com/repos/NoraDelaney/make-with-me/events","assignees_url":"https://api.github.com/repos/NoraDelaney/make-with-me/assignees{/user}","branches_url":"https://api.github.com/repos/NoraDelaney/make-with-me/branches{/branch}","tags_url":"https://api.github.com/repos/NoraDelaney/make-with-me/tags","blobs_url":"https://api.github.com/repos/NoraDelaney/make-with-me/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NoraDelaney/make-with-me/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NoraDelaney/make-with-me/git/refs{/sha}","trees_url":"https://api.github.com/repos/NoraDelaney/make-with-me/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NoraDelaney/make-with-me/statuses/{sha}","languages_url":"https://api.github.com/repos/NoraDelaney/make-with-me/languages","stargazers_url":"https://api.github.com/repos/NoraDelaney/make-with-me/stargazers","contributors_url":"https://api.github.com/repos/NoraDelaney/make-with-me/contributors","subscribers_url":"https://api.github.com/repos/NoraDelaney/make-with-me/subscribers","subscription_url":"https://api.github.com/repos/NoraDelaney/make-with-me/subscription","commits_url":"https://api.github.com/repos/NoraDelaney/make-with-me/commits{/sha}","git_commits_url":"https://api.github.com/repos/NoraDelaney/make-with-me/git/commits{/sha}","comments_url":"https://api.github.com/repos/NoraDelaney/make-with-me/comments{/number}","issue_comment_url":"https://api.github.com/repos/NoraDelaney/make-with-me/issues/comments{/number}","contents_url":"https://api.github.com/repos/NoraDelaney/make-with-me/contents/{+path}","compare_url":"https://api.github.com/repos/NoraDelaney/make-with-me/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NoraDelaney/make-with-me/merges","archive_url":"https://api.github.com/repos/NoraDelaney/make-with-me/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NoraDelaney/make-with-me/downloads","issues_url":"https://api.github.com/repos/NoraDelaney/make-with-me/issues{/number}","pulls_url":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls{/number}","milestones_url":"https://api.github.com/repos/NoraDelaney/make-with-me/milestones{/number}","notifications_url":"https://api.github.com/repos/NoraDelaney/make-with-me/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NoraDelaney/make-with-me/labels{/name}","releases_url":"https://api.github.com/repos/NoraDelaney/make-with-me/releases{/id}","created_at":"2015-07-07T02:07:00Z","updated_at":"2015-07-19T01:37:42Z","pushed_at":"2015-07-24T17:59:26Z","git_url":"git://github.com/NoraDelaney/make-with-me.git","ssh_url":"git@github.com:NoraDelaney/make-with-me.git","clone_url":"https://github.com/NoraDelaney/make-with-me.git","svn_url":"https://github.com/NoraDelaney/make-with-me","homepage":null,"size":4748,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls/17"},"html":{"href":"https://github.com/NoraDelaney/make-with-me/pull/17"},"issue":{"href":"https://api.github.com/repos/NoraDelaney/make-with-me/issues/17"},"comments":{"href":"https://api.github.com/repos/NoraDelaney/make-with-me/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NoraDelaney/make-with-me/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/NoraDelaney/make-with-me/statuses/69d88f0e6ba2a79abc1f62568e62b5094803ae18"}}}}