{"action":"created","comment":{"url":"https://api.github.com/repos/nogdacosta/etikette/pulls/comments/73807787","id":73807787,"diff_hunk":"@@ -14,7 +15,21 @@ class User < ApplicationRecord\n \n   validate :avatar_size_validation, on: :update\n \n+\n+\n   private\n+\n+  def generate_default_collection\n+    collection = Collection.new\n+    collection.name = \"default\"\n+    collection.description = \"default desc\"\n+    collection.tags = \"default\"\n+    collection.categories = \"default\"\n+    collection.parent_type = User\n+    collection.parent_id = self.id","path":"app/models/user.rb","position":24,"original_position":24,"commit_id":"472ced8b54aa05aaeebc914843b8cdaf7dcddd4a","original_commit_id":"472ced8b54aa05aaeebc914843b8cdaf7dcddd4a","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Redundant `self` detected.","created_at":"2016-08-07T19:35:59Z","updated_at":"2016-08-07T19:35:59Z","html_url":"https://github.com/nogdacosta/etikette/pull/3#discussion_r73807787","pull_request_url":"https://api.github.com/repos/nogdacosta/etikette/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/nogdacosta/etikette/pulls/comments/73807787"},"html":{"href":"https://github.com/nogdacosta/etikette/pull/3#discussion_r73807787"},"pull_request":{"href":"https://api.github.com/repos/nogdacosta/etikette/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/nogdacosta/etikette/pulls/3","id":80375643,"html_url":"https://github.com/nogdacosta/etikette/pull/3","diff_url":"https://github.com/nogdacosta/etikette/pull/3.diff","patch_url":"https://github.com/nogdacosta/etikette/pull/3.patch","issue_url":"https://api.github.com/repos/nogdacosta/etikette/issues/3","number":3,"state":"open","locked":false,"title":"On user creation we need to create a default collection","user":{"login":"nogdacosta","id":4239608,"avatar_url":"https://avatars.githubusercontent.com/u/4239608?v=3","gravatar_id":"","url":"https://api.github.com/users/nogdacosta","html_url":"https://github.com/nogdacosta","followers_url":"https://api.github.com/users/nogdacosta/followers","following_url":"https://api.github.com/users/nogdacosta/following{/other_user}","gists_url":"https://api.github.com/users/nogdacosta/gists{/gist_id}","starred_url":"https://api.github.com/users/nogdacosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nogdacosta/subscriptions","organizations_url":"https://api.github.com/users/nogdacosta/orgs","repos_url":"https://api.github.com/users/nogdacosta/repos","events_url":"https://api.github.com/users/nogdacosta/events{/privacy}","received_events_url":"https://api.github.com/users/nogdacosta/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-07T19:35:55Z","updated_at":"2016-08-07T19:35:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3a1b189c8234ac210a4c613d98a1d772eb01d1d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nogdacosta/etikette/pulls/3/commits","review_comments_url":"https://api.github.com/repos/nogdacosta/etikette/pulls/3/comments","review_comment_url":"https://api.github.com/repos/nogdacosta/etikette/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nogdacosta/etikette/issues/3/comments","statuses_url":"https://api.github.com/repos/nogdacosta/etikette/statuses/472ced8b54aa05aaeebc914843b8cdaf7dcddd4a","head":{"label":"nogdacosta:fix/user_creation","ref":"fix/user_creation","sha":"472ced8b54aa05aaeebc914843b8cdaf7dcddd4a","user":{"login":"nogdacosta","id":4239608,"avatar_url":"https://avatars.githubusercontent.com/u/4239608?v=3","gravatar_id":"","url":"https://api.github.com/users/nogdacosta","html_url":"https://github.com/nogdacosta","followers_url":"https://api.github.com/users/nogdacosta/followers","following_url":"https://api.github.com/users/nogdacosta/following{/other_user}","gists_url":"https://api.github.com/users/nogdacosta/gists{/gist_id}","starred_url":"https://api.github.com/users/nogdacosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nogdacosta/subscriptions","organizations_url":"https://api.github.com/users/nogdacosta/orgs","repos_url":"https://api.github.com/users/nogdacosta/repos","events_url":"https://api.github.com/users/nogdacosta/events{/privacy}","received_events_url":"https://api.github.com/users/nogdacosta/received_events","type":"User","site_admin":false},"repo":{"id":56548957,"name":"etikette","full_name":"nogdacosta/etikette","owner":{"login":"nogdacosta","id":4239608,"avatar_url":"https://avatars.githubusercontent.com/u/4239608?v=3","gravatar_id":"","url":"https://api.github.com/users/nogdacosta","html_url":"https://github.com/nogdacosta","followers_url":"https://api.github.com/users/nogdacosta/followers","following_url":"https://api.github.com/users/nogdacosta/following{/other_user}","gists_url":"https://api.github.com/users/nogdacosta/gists{/gist_id}","starred_url":"https://api.github.com/users/nogdacosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nogdacosta/subscriptions","organizations_url":"https://api.github.com/users/nogdacosta/orgs","repos_url":"https://api.github.com/users/nogdacosta/repos","events_url":"https://api.github.com/users/nogdacosta/events{/privacy}","received_events_url":"https://api.github.com/users/nogdacosta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nogdacosta/etikette","description":"Bookmark manager","fork":false,"url":"https://api.github.com/repos/nogdacosta/etikette","forks_url":"https://api.github.com/repos/nogdacosta/etikette/forks","keys_url":"https://api.github.com/repos/nogdacosta/etikette/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nogdacosta/etikette/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nogdacosta/etikette/teams","hooks_url":"https://api.github.com/repos/nogdacosta/etikette/hooks","issue_events_url":"https://api.github.com/repos/nogdacosta/etikette/issues/events{/number}","events_url":"https://api.github.com/repos/nogdacosta/etikette/events","assignees_url":"https://api.github.com/repos/nogdacosta/etikette/assignees{/user}","branches_url":"https://api.github.com/repos/nogdacosta/etikette/branches{/branch}","tags_url":"https://api.github.com/repos/nogdacosta/etikette/tags","blobs_url":"https://api.github.com/repos/nogdacosta/etikette/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nogdacosta/etikette/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nogdacosta/etikette/git/refs{/sha}","trees_url":"https://api.github.com/repos/nogdacosta/etikette/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nogdacosta/etikette/statuses/{sha}","languages_url":"https://api.github.com/repos/nogdacosta/etikette/languages","stargazers_url":"https://api.github.com/repos/nogdacosta/etikette/stargazers","contributors_url":"https://api.github.com/repos/nogdacosta/etikette/contributors","subscribers_url":"https://api.github.com/repos/nogdacosta/etikette/subscribers","subscription_url":"https://api.github.com/repos/nogdacosta/etikette/subscription","commits_url":"https://api.github.com/repos/nogdacosta/etikette/commits{/sha}","git_commits_url":"https://api.github.com/repos/nogdacosta/etikette/git/commits{/sha}","comments_url":"https://api.github.com/repos/nogdacosta/etikette/comments{/number}","issue_comment_url":"https://api.github.com/repos/nogdacosta/etikette/issues/comments{/number}","contents_url":"https://api.github.com/repos/nogdacosta/etikette/contents/{+path}","compare_url":"https://api.github.com/repos/nogdacosta/etikette/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nogdacosta/etikette/merges","archive_url":"https://api.github.com/repos/nogdacosta/etikette/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nogdacosta/etikette/downloads","issues_url":"https://api.github.com/repos/nogdacosta/etikette/issues{/number}","pulls_url":"https://api.github.com/repos/nogdacosta/etikette/pulls{/number}","milestones_url":"https://api.github.com/repos/nogdacosta/etikette/milestones{/number}","notifications_url":"https://api.github.com/repos/nogdacosta/etikette/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nogdacosta/etikette/labels{/name}","releases_url":"https://api.github.com/repos/nogdacosta/etikette/releases{/id}","deployments_url":"https://api.github.com/repos/nogdacosta/etikette/deployments","created_at":"2016-04-18T23:22:11Z","updated_at":"2016-08-07T19:02:55Z","pushed_at":"2016-08-07T19:35:58Z","git_url":"git://github.com/nogdacosta/etikette.git","ssh_url":"git@github.com:nogdacosta/etikette.git","clone_url":"https://github.com/nogdacosta/etikette.git","svn_url":"https://github.com/nogdacosta/etikette","homepage":null,"size":97,"stargazers_count":4,"watchers_count":4,"language":"Ruby","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":4,"default_branch":"master"}},"base":{"label":"nogdacosta:master","ref":"master","sha":"73b7ad1c8e58178d1a349d45ebe6e6024682e68a","user":{"login":"nogdacosta","id":4239608,"avatar_url":"https://avatars.githubusercontent.com/u/4239608?v=3","gravatar_id":"","url":"https://api.github.com/users/nogdacosta","html_url":"https://github.com/nogdacosta","followers_url":"https://api.github.com/users/nogdacosta/followers","following_url":"https://api.github.com/users/nogdacosta/following{/other_user}","gists_url":"https://api.github.com/users/nogdacosta/gists{/gist_id}","starred_url":"https://api.github.com/users/nogdacosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nogdacosta/subscriptions","organizations_url":"https://api.github.com/users/nogdacosta/orgs","repos_url":"https://api.github.com/users/nogdacosta/repos","events_url":"https://api.github.com/users/nogdacosta/events{/privacy}","received_events_url":"https://api.github.com/users/nogdacosta/received_events","type":"User","site_admin":false},"repo":{"id":56548957,"name":"etikette","full_name":"nogdacosta/etikette","owner":{"login":"nogdacosta","id":4239608,"avatar_url":"https://avatars.githubusercontent.com/u/4239608?v=3","gravatar_id":"","url":"https://api.github.com/users/nogdacosta","html_url":"https://github.com/nogdacosta","followers_url":"https://api.github.com/users/nogdacosta/followers","following_url":"https://api.github.com/users/nogdacosta/following{/other_user}","gists_url":"https://api.github.com/users/nogdacosta/gists{/gist_id}","starred_url":"https://api.github.com/users/nogdacosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nogdacosta/subscriptions","organizations_url":"https://api.github.com/users/nogdacosta/orgs","repos_url":"https://api.github.com/users/nogdacosta/repos","events_url":"https://api.github.com/users/nogdacosta/events{/privacy}","received_events_url":"https://api.github.com/users/nogdacosta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nogdacosta/etikette","description":"Bookmark manager","fork":false,"url":"https://api.github.com/repos/nogdacosta/etikette","forks_url":"https://api.github.com/repos/nogdacosta/etikette/forks","keys_url":"https://api.github.com/repos/nogdacosta/etikette/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nogdacosta/etikette/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nogdacosta/etikette/teams","hooks_url":"https://api.github.com/repos/nogdacosta/etikette/hooks","issue_events_url":"https://api.github.com/repos/nogdacosta/etikette/issues/events{/number}","events_url":"https://api.github.com/repos/nogdacosta/etikette/events","assignees_url":"https://api.github.com/repos/nogdacosta/etikette/assignees{/user}","branches_url":"https://api.github.com/repos/nogdacosta/etikette/branches{/branch}","tags_url":"https://api.github.com/repos/nogdacosta/etikette/tags","blobs_url":"https://api.github.com/repos/nogdacosta/etikette/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nogdacosta/etikette/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nogdacosta/etikette/git/refs{/sha}","trees_url":"https://api.github.com/repos/nogdacosta/etikette/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nogdacosta/etikette/statuses/{sha}","languages_url":"https://api.github.com/repos/nogdacosta/etikette/languages","stargazers_url":"https://api.github.com/repos/nogdacosta/etikette/stargazers","contributors_url":"https://api.github.com/repos/nogdacosta/etikette/contributors","subscribers_url":"https://api.github.com/repos/nogdacosta/etikette/subscribers","subscription_url":"https://api.github.com/repos/nogdacosta/etikette/subscription","commits_url":"https://api.github.com/repos/nogdacosta/etikette/commits{/sha}","git_commits_url":"https://api.github.com/repos/nogdacosta/etikette/git/commits{/sha}","comments_url":"https://api.github.com/repos/nogdacosta/etikette/comments{/number}","issue_comment_url":"https://api.github.com/repos/nogdacosta/etikette/issues/comments{/number}","contents_url":"https://api.github.com/repos/nogdacosta/etikette/contents/{+path}","compare_url":"https://api.github.com/repos/nogdacosta/etikette/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nogdacosta/etikette/merges","archive_url":"https://api.github.com/repos/nogdacosta/etikette/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nogdacosta/etikette/downloads","issues_url":"https://api.github.com/repos/nogdacosta/etikette/issues{/number}","pulls_url":"https://api.github.com/repos/nogdacosta/etikette/pulls{/number}","milestones_url":"https://api.github.com/repos/nogdacosta/etikette/milestones{/number}","notifications_url":"https://api.github.com/repos/nogdacosta/etikette/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nogdacosta/etikette/labels{/name}","releases_url":"https://api.github.com/repos/nogdacosta/etikette/releases{/id}","deployments_url":"https://api.github.com/repos/nogdacosta/etikette/deployments","created_at":"2016-04-18T23:22:11Z","updated_at":"2016-08-07T19:02:55Z","pushed_at":"2016-08-07T19:35:58Z","git_url":"git://github.com/nogdacosta/etikette.git","ssh_url":"git@github.com:nogdacosta/etikette.git","clone_url":"https://github.com/nogdacosta/etikette.git","svn_url":"https://github.com/nogdacosta/etikette","homepage":null,"size":97,"stargazers_count":4,"watchers_count":4,"language":"Ruby","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":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nogdacosta/etikette/pulls/3"},"html":{"href":"https://github.com/nogdacosta/etikette/pull/3"},"issue":{"href":"https://api.github.com/repos/nogdacosta/etikette/issues/3"},"comments":{"href":"https://api.github.com/repos/nogdacosta/etikette/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/nogdacosta/etikette/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/nogdacosta/etikette/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nogdacosta/etikette/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/nogdacosta/etikette/statuses/472ced8b54aa05aaeebc914843b8cdaf7dcddd4a"}}}}
{"actor":{"display_login":"houndci-bot"}}