{"action":"created","comment":{"url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls/comments/51353139","id":51353139,"diff_hunk":"@@ -17,6 +17,8 @@\n   end\n \n   config.model User do\n-    object_label_method :email\n+    object_label_method do\n+      self.email","path":"config/initializers/rails_admin.rb","position":6,"original_position":6,"commit_id":"a1600a94049d826c79d96a49ca15155b419715ee","original_commit_id":"a1600a94049d826c79d96a49ca15155b419715ee","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":"Redundant `self` detected.","created_at":"2016-01-31T00:28:09Z","updated_at":"2016-01-31T00:28:09Z","html_url":"https://github.com/DemidenkoAndrey/flashcards/pull/44#discussion_r51353139","pull_request_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls/comments/51353139"},"html":{"href":"https://github.com/DemidenkoAndrey/flashcards/pull/44#discussion_r51353139"},"pull_request":{"href":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls/44","id":57754365,"html_url":"https://github.com/DemidenkoAndrey/flashcards/pull/44","diff_url":"https://github.com/DemidenkoAndrey/flashcards/pull/44.diff","patch_url":"https://github.com/DemidenkoAndrey/flashcards/pull/44.patch","issue_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/issues/44","number":44,"state":"open","locked":false,"title":"Fix bug sorcery with rails admin","user":{"login":"DemidenkoAndrey","id":8194192,"avatar_url":"https://avatars.githubusercontent.com/u/8194192?v=3","gravatar_id":"","url":"https://api.github.com/users/DemidenkoAndrey","html_url":"https://github.com/DemidenkoAndrey","followers_url":"https://api.github.com/users/DemidenkoAndrey/followers","following_url":"https://api.github.com/users/DemidenkoAndrey/following{/other_user}","gists_url":"https://api.github.com/users/DemidenkoAndrey/gists{/gist_id}","starred_url":"https://api.github.com/users/DemidenkoAndrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DemidenkoAndrey/subscriptions","organizations_url":"https://api.github.com/users/DemidenkoAndrey/orgs","repos_url":"https://api.github.com/users/DemidenkoAndrey/repos","events_url":"https://api.github.com/users/DemidenkoAndrey/events{/privacy}","received_events_url":"https://api.github.com/users/DemidenkoAndrey/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-30T23:33:20Z","updated_at":"2016-01-31T00:28:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97df7b324db98a21b87b571e389f10bc6207786d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls/44/commits","review_comments_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls/44/comments","review_comment_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/issues/44/comments","statuses_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/statuses/a1600a94049d826c79d96a49ca15155b419715ee","head":{"label":"DemidenkoAndrey:fix-bug-sorcery-with-rails-admin","ref":"fix-bug-sorcery-with-rails-admin","sha":"a1600a94049d826c79d96a49ca15155b419715ee","user":{"login":"DemidenkoAndrey","id":8194192,"avatar_url":"https://avatars.githubusercontent.com/u/8194192?v=3","gravatar_id":"","url":"https://api.github.com/users/DemidenkoAndrey","html_url":"https://github.com/DemidenkoAndrey","followers_url":"https://api.github.com/users/DemidenkoAndrey/followers","following_url":"https://api.github.com/users/DemidenkoAndrey/following{/other_user}","gists_url":"https://api.github.com/users/DemidenkoAndrey/gists{/gist_id}","starred_url":"https://api.github.com/users/DemidenkoAndrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DemidenkoAndrey/subscriptions","organizations_url":"https://api.github.com/users/DemidenkoAndrey/orgs","repos_url":"https://api.github.com/users/DemidenkoAndrey/repos","events_url":"https://api.github.com/users/DemidenkoAndrey/events{/privacy}","received_events_url":"https://api.github.com/users/DemidenkoAndrey/received_events","type":"User","site_admin":false},"repo":{"id":34405016,"name":"flashcards","full_name":"DemidenkoAndrey/flashcards","owner":{"login":"DemidenkoAndrey","id":8194192,"avatar_url":"https://avatars.githubusercontent.com/u/8194192?v=3","gravatar_id":"","url":"https://api.github.com/users/DemidenkoAndrey","html_url":"https://github.com/DemidenkoAndrey","followers_url":"https://api.github.com/users/DemidenkoAndrey/followers","following_url":"https://api.github.com/users/DemidenkoAndrey/following{/other_user}","gists_url":"https://api.github.com/users/DemidenkoAndrey/gists{/gist_id}","starred_url":"https://api.github.com/users/DemidenkoAndrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DemidenkoAndrey/subscriptions","organizations_url":"https://api.github.com/users/DemidenkoAndrey/orgs","repos_url":"https://api.github.com/users/DemidenkoAndrey/repos","events_url":"https://api.github.com/users/DemidenkoAndrey/events{/privacy}","received_events_url":"https://api.github.com/users/DemidenkoAndrey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DemidenkoAndrey/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/DemidenkoAndrey/flashcards","forks_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/forks","keys_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/teams","hooks_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/hooks","issue_events_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/events","assignees_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/tags","blobs_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/languages","stargazers_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/stargazers","contributors_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/contributors","subscribers_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/subscribers","subscription_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/subscription","commits_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/merges","archive_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/downloads","issues_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/deployments","created_at":"2015-04-22T17:25:31Z","updated_at":"2016-01-21T18:45:51Z","pushed_at":"2016-01-31T00:28:08Z","git_url":"git://github.com/DemidenkoAndrey/flashcards.git","ssh_url":"git@github.com:DemidenkoAndrey/flashcards.git","clone_url":"https://github.com/DemidenkoAndrey/flashcards.git","svn_url":"https://github.com/DemidenkoAndrey/flashcards","homepage":null,"size":616,"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":"DemidenkoAndrey:master","ref":"master","sha":"903de9e5089616c0278486448c7f82415352e39d","user":{"login":"DemidenkoAndrey","id":8194192,"avatar_url":"https://avatars.githubusercontent.com/u/8194192?v=3","gravatar_id":"","url":"https://api.github.com/users/DemidenkoAndrey","html_url":"https://github.com/DemidenkoAndrey","followers_url":"https://api.github.com/users/DemidenkoAndrey/followers","following_url":"https://api.github.com/users/DemidenkoAndrey/following{/other_user}","gists_url":"https://api.github.com/users/DemidenkoAndrey/gists{/gist_id}","starred_url":"https://api.github.com/users/DemidenkoAndrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DemidenkoAndrey/subscriptions","organizations_url":"https://api.github.com/users/DemidenkoAndrey/orgs","repos_url":"https://api.github.com/users/DemidenkoAndrey/repos","events_url":"https://api.github.com/users/DemidenkoAndrey/events{/privacy}","received_events_url":"https://api.github.com/users/DemidenkoAndrey/received_events","type":"User","site_admin":false},"repo":{"id":34405016,"name":"flashcards","full_name":"DemidenkoAndrey/flashcards","owner":{"login":"DemidenkoAndrey","id":8194192,"avatar_url":"https://avatars.githubusercontent.com/u/8194192?v=3","gravatar_id":"","url":"https://api.github.com/users/DemidenkoAndrey","html_url":"https://github.com/DemidenkoAndrey","followers_url":"https://api.github.com/users/DemidenkoAndrey/followers","following_url":"https://api.github.com/users/DemidenkoAndrey/following{/other_user}","gists_url":"https://api.github.com/users/DemidenkoAndrey/gists{/gist_id}","starred_url":"https://api.github.com/users/DemidenkoAndrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DemidenkoAndrey/subscriptions","organizations_url":"https://api.github.com/users/DemidenkoAndrey/orgs","repos_url":"https://api.github.com/users/DemidenkoAndrey/repos","events_url":"https://api.github.com/users/DemidenkoAndrey/events{/privacy}","received_events_url":"https://api.github.com/users/DemidenkoAndrey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DemidenkoAndrey/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/DemidenkoAndrey/flashcards","forks_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/forks","keys_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/teams","hooks_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/hooks","issue_events_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/events","assignees_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/tags","blobs_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/languages","stargazers_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/stargazers","contributors_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/contributors","subscribers_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/subscribers","subscription_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/subscription","commits_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/merges","archive_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/downloads","issues_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/DemidenkoAndrey/flashcards/deployments","created_at":"2015-04-22T17:25:31Z","updated_at":"2016-01-21T18:45:51Z","pushed_at":"2016-01-31T00:28:08Z","git_url":"git://github.com/DemidenkoAndrey/flashcards.git","ssh_url":"git@github.com:DemidenkoAndrey/flashcards.git","clone_url":"https://github.com/DemidenkoAndrey/flashcards.git","svn_url":"https://github.com/DemidenkoAndrey/flashcards","homepage":null,"size":616,"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/DemidenkoAndrey/flashcards/pulls/44"},"html":{"href":"https://github.com/DemidenkoAndrey/flashcards/pull/44"},"issue":{"href":"https://api.github.com/repos/DemidenkoAndrey/flashcards/issues/44"},"comments":{"href":"https://api.github.com/repos/DemidenkoAndrey/flashcards/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DemidenkoAndrey/flashcards/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/DemidenkoAndrey/flashcards/statuses/a1600a94049d826c79d96a49ca15155b419715ee"}}}}