{"action":"created","comment":{"url":"https://api.github.com/repos/stavcd/stavcd/pulls/comments/33394583","id":33394583,"diff_hunk":"@@ -5,3 +5,11 @@\n #\n #   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])\n #   Mayor.create(name: 'Emanuel', city: cities.first)\n+User.delete_all\n+Message.delete_all\n+Message.create(body: \"привет\", sender_id: 3, recipient_id: 1)\n+Message.create(body: \"пока\", sender_id: 1, recipient_id: 3)\n+10.times do |n|\n+  User.create(email: \"#{n+1}@#{n+1}.ru\",\n+              password: '12345678', password_confirmation: '12345678')","path":"db/seeds.rb","position":10,"original_position":10,"commit_id":"9bb4456545eec670bd3bd8922f7824b70974e6e7","original_commit_id":"9bb4456545eec670bd3bd8922f7824b70974e6e7","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-06-26T20:49:57Z","updated_at":"2015-06-26T20:49:57Z","html_url":"https://github.com/stavcd/stavcd/pull/2#discussion_r33394583","pull_request_url":"https://api.github.com/repos/stavcd/stavcd/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/stavcd/stavcd/pulls/comments/33394583"},"html":{"href":"https://github.com/stavcd/stavcd/pull/2#discussion_r33394583"},"pull_request":{"href":"https://api.github.com/repos/stavcd/stavcd/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/stavcd/stavcd/pulls/2","id":38664024,"html_url":"https://github.com/stavcd/stavcd/pull/2","diff_url":"https://github.com/stavcd/stavcd/pull/2.diff","patch_url":"https://github.com/stavcd/stavcd/pull/2.patch","issue_url":"https://api.github.com/repos/stavcd/stavcd/issues/2","number":2,"state":"open","locked":false,"title":"Adding functional messages","user":{"login":"stavcd","id":12037048,"avatar_url":"https://avatars.githubusercontent.com/u/12037048?v=3","gravatar_id":"","url":"https://api.github.com/users/stavcd","html_url":"https://github.com/stavcd","followers_url":"https://api.github.com/users/stavcd/followers","following_url":"https://api.github.com/users/stavcd/following{/other_user}","gists_url":"https://api.github.com/users/stavcd/gists{/gist_id}","starred_url":"https://api.github.com/users/stavcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stavcd/subscriptions","organizations_url":"https://api.github.com/users/stavcd/orgs","repos_url":"https://api.github.com/users/stavcd/repos","events_url":"https://api.github.com/users/stavcd/events{/privacy}","received_events_url":"https://api.github.com/users/stavcd/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-26T16:04:23Z","updated_at":"2015-06-26T20:49:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0afed66bbe9564b832e2a476c89d4d5871d2fbaf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stavcd/stavcd/pulls/2/commits","review_comments_url":"https://api.github.com/repos/stavcd/stavcd/pulls/2/comments","review_comment_url":"https://api.github.com/repos/stavcd/stavcd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stavcd/stavcd/issues/2/comments","statuses_url":"https://api.github.com/repos/stavcd/stavcd/statuses/9bb4456545eec670bd3bd8922f7824b70974e6e7","head":{"label":"stavcd:second","ref":"second","sha":"9bb4456545eec670bd3bd8922f7824b70974e6e7","user":{"login":"stavcd","id":12037048,"avatar_url":"https://avatars.githubusercontent.com/u/12037048?v=3","gravatar_id":"","url":"https://api.github.com/users/stavcd","html_url":"https://github.com/stavcd","followers_url":"https://api.github.com/users/stavcd/followers","following_url":"https://api.github.com/users/stavcd/following{/other_user}","gists_url":"https://api.github.com/users/stavcd/gists{/gist_id}","starred_url":"https://api.github.com/users/stavcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stavcd/subscriptions","organizations_url":"https://api.github.com/users/stavcd/orgs","repos_url":"https://api.github.com/users/stavcd/repos","events_url":"https://api.github.com/users/stavcd/events{/privacy}","received_events_url":"https://api.github.com/users/stavcd/received_events","type":"User","site_admin":false},"repo":{"id":37748762,"name":"stavcd","full_name":"stavcd/stavcd","owner":{"login":"stavcd","id":12037048,"avatar_url":"https://avatars.githubusercontent.com/u/12037048?v=3","gravatar_id":"","url":"https://api.github.com/users/stavcd","html_url":"https://github.com/stavcd","followers_url":"https://api.github.com/users/stavcd/followers","following_url":"https://api.github.com/users/stavcd/following{/other_user}","gists_url":"https://api.github.com/users/stavcd/gists{/gist_id}","starred_url":"https://api.github.com/users/stavcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stavcd/subscriptions","organizations_url":"https://api.github.com/users/stavcd/orgs","repos_url":"https://api.github.com/users/stavcd/repos","events_url":"https://api.github.com/users/stavcd/events{/privacy}","received_events_url":"https://api.github.com/users/stavcd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stavcd/stavcd","description":"","fork":false,"url":"https://api.github.com/repos/stavcd/stavcd","forks_url":"https://api.github.com/repos/stavcd/stavcd/forks","keys_url":"https://api.github.com/repos/stavcd/stavcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stavcd/stavcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stavcd/stavcd/teams","hooks_url":"https://api.github.com/repos/stavcd/stavcd/hooks","issue_events_url":"https://api.github.com/repos/stavcd/stavcd/issues/events{/number}","events_url":"https://api.github.com/repos/stavcd/stavcd/events","assignees_url":"https://api.github.com/repos/stavcd/stavcd/assignees{/user}","branches_url":"https://api.github.com/repos/stavcd/stavcd/branches{/branch}","tags_url":"https://api.github.com/repos/stavcd/stavcd/tags","blobs_url":"https://api.github.com/repos/stavcd/stavcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stavcd/stavcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stavcd/stavcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/stavcd/stavcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stavcd/stavcd/statuses/{sha}","languages_url":"https://api.github.com/repos/stavcd/stavcd/languages","stargazers_url":"https://api.github.com/repos/stavcd/stavcd/stargazers","contributors_url":"https://api.github.com/repos/stavcd/stavcd/contributors","subscribers_url":"https://api.github.com/repos/stavcd/stavcd/subscribers","subscription_url":"https://api.github.com/repos/stavcd/stavcd/subscription","commits_url":"https://api.github.com/repos/stavcd/stavcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/stavcd/stavcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/stavcd/stavcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/stavcd/stavcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/stavcd/stavcd/contents/{+path}","compare_url":"https://api.github.com/repos/stavcd/stavcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stavcd/stavcd/merges","archive_url":"https://api.github.com/repos/stavcd/stavcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stavcd/stavcd/downloads","issues_url":"https://api.github.com/repos/stavcd/stavcd/issues{/number}","pulls_url":"https://api.github.com/repos/stavcd/stavcd/pulls{/number}","milestones_url":"https://api.github.com/repos/stavcd/stavcd/milestones{/number}","notifications_url":"https://api.github.com/repos/stavcd/stavcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stavcd/stavcd/labels{/name}","releases_url":"https://api.github.com/repos/stavcd/stavcd/releases{/id}","created_at":"2015-06-19T22:23:50Z","updated_at":"2015-06-19T22:46:50Z","pushed_at":"2015-06-26T20:49:54Z","git_url":"git://github.com/stavcd/stavcd.git","ssh_url":"git@github.com:stavcd/stavcd.git","clone_url":"https://github.com/stavcd/stavcd.git","svn_url":"https://github.com/stavcd/stavcd","homepage":null,"size":0,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"stavcd:master","ref":"master","sha":"29b161a70120f42e668679d56d1ec4c809c19206","user":{"login":"stavcd","id":12037048,"avatar_url":"https://avatars.githubusercontent.com/u/12037048?v=3","gravatar_id":"","url":"https://api.github.com/users/stavcd","html_url":"https://github.com/stavcd","followers_url":"https://api.github.com/users/stavcd/followers","following_url":"https://api.github.com/users/stavcd/following{/other_user}","gists_url":"https://api.github.com/users/stavcd/gists{/gist_id}","starred_url":"https://api.github.com/users/stavcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stavcd/subscriptions","organizations_url":"https://api.github.com/users/stavcd/orgs","repos_url":"https://api.github.com/users/stavcd/repos","events_url":"https://api.github.com/users/stavcd/events{/privacy}","received_events_url":"https://api.github.com/users/stavcd/received_events","type":"User","site_admin":false},"repo":{"id":37748762,"name":"stavcd","full_name":"stavcd/stavcd","owner":{"login":"stavcd","id":12037048,"avatar_url":"https://avatars.githubusercontent.com/u/12037048?v=3","gravatar_id":"","url":"https://api.github.com/users/stavcd","html_url":"https://github.com/stavcd","followers_url":"https://api.github.com/users/stavcd/followers","following_url":"https://api.github.com/users/stavcd/following{/other_user}","gists_url":"https://api.github.com/users/stavcd/gists{/gist_id}","starred_url":"https://api.github.com/users/stavcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stavcd/subscriptions","organizations_url":"https://api.github.com/users/stavcd/orgs","repos_url":"https://api.github.com/users/stavcd/repos","events_url":"https://api.github.com/users/stavcd/events{/privacy}","received_events_url":"https://api.github.com/users/stavcd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stavcd/stavcd","description":"","fork":false,"url":"https://api.github.com/repos/stavcd/stavcd","forks_url":"https://api.github.com/repos/stavcd/stavcd/forks","keys_url":"https://api.github.com/repos/stavcd/stavcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stavcd/stavcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stavcd/stavcd/teams","hooks_url":"https://api.github.com/repos/stavcd/stavcd/hooks","issue_events_url":"https://api.github.com/repos/stavcd/stavcd/issues/events{/number}","events_url":"https://api.github.com/repos/stavcd/stavcd/events","assignees_url":"https://api.github.com/repos/stavcd/stavcd/assignees{/user}","branches_url":"https://api.github.com/repos/stavcd/stavcd/branches{/branch}","tags_url":"https://api.github.com/repos/stavcd/stavcd/tags","blobs_url":"https://api.github.com/repos/stavcd/stavcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stavcd/stavcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stavcd/stavcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/stavcd/stavcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stavcd/stavcd/statuses/{sha}","languages_url":"https://api.github.com/repos/stavcd/stavcd/languages","stargazers_url":"https://api.github.com/repos/stavcd/stavcd/stargazers","contributors_url":"https://api.github.com/repos/stavcd/stavcd/contributors","subscribers_url":"https://api.github.com/repos/stavcd/stavcd/subscribers","subscription_url":"https://api.github.com/repos/stavcd/stavcd/subscription","commits_url":"https://api.github.com/repos/stavcd/stavcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/stavcd/stavcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/stavcd/stavcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/stavcd/stavcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/stavcd/stavcd/contents/{+path}","compare_url":"https://api.github.com/repos/stavcd/stavcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stavcd/stavcd/merges","archive_url":"https://api.github.com/repos/stavcd/stavcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stavcd/stavcd/downloads","issues_url":"https://api.github.com/repos/stavcd/stavcd/issues{/number}","pulls_url":"https://api.github.com/repos/stavcd/stavcd/pulls{/number}","milestones_url":"https://api.github.com/repos/stavcd/stavcd/milestones{/number}","notifications_url":"https://api.github.com/repos/stavcd/stavcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stavcd/stavcd/labels{/name}","releases_url":"https://api.github.com/repos/stavcd/stavcd/releases{/id}","created_at":"2015-06-19T22:23:50Z","updated_at":"2015-06-19T22:46:50Z","pushed_at":"2015-06-26T20:49:54Z","git_url":"git://github.com/stavcd/stavcd.git","ssh_url":"git@github.com:stavcd/stavcd.git","clone_url":"https://github.com/stavcd/stavcd.git","svn_url":"https://github.com/stavcd/stavcd","homepage":null,"size":0,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stavcd/stavcd/pulls/2"},"html":{"href":"https://github.com/stavcd/stavcd/pull/2"},"issue":{"href":"https://api.github.com/repos/stavcd/stavcd/issues/2"},"comments":{"href":"https://api.github.com/repos/stavcd/stavcd/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/stavcd/stavcd/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/stavcd/stavcd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stavcd/stavcd/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/stavcd/stavcd/statuses/9bb4456545eec670bd3bd8922f7824b70974e6e7"}}}}