{"action":"created","comment":{"url":"https://api.github.com/repos/rails/rails/pulls/comments/51910751","id":51910751,"diff_hunk":"@@ -147,9 +147,9 @@ def set(key, value)\n \n     # Delete messages for +key+. Returns the deleted messages.\n     #\n-    #   person.errors[:name]    # => [\"cannot be nil\"]\n+    #   person.errors[:name]        # => [\"cannot be nil\"]","path":"activemodel/lib/active_model/errors.rb","position":5,"original_position":5,"commit_id":"b9c107173a859bda62291ba4392f6a112c7b6dea","original_commit_id":"7018258e062b384ad4f5aa8b5b36454bff48912c","user":{"login":"sgrif","id":1529387,"avatar_url":"https://avatars.githubusercontent.com/u/1529387?v=3","gravatar_id":"","url":"https://api.github.com/users/sgrif","html_url":"https://github.com/sgrif","followers_url":"https://api.github.com/users/sgrif/followers","following_url":"https://api.github.com/users/sgrif/following{/other_user}","gists_url":"https://api.github.com/users/sgrif/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrif/subscriptions","organizations_url":"https://api.github.com/users/sgrif/orgs","repos_url":"https://api.github.com/users/sgrif/repos","events_url":"https://api.github.com/users/sgrif/events{/privacy}","received_events_url":"https://api.github.com/users/sgrif/received_events","type":"User","site_admin":false},"body":"This is unrelated to the change you're actually making, and is just cosmetic git churn. If you want to token align the docs you're adding, fine, but please don't change unrelated docs.","created_at":"2016-02-04T17:59:23Z","updated_at":"2016-02-04T17:59:23Z","html_url":"https://github.com/rails/rails/pull/23481#discussion_r51910751","pull_request_url":"https://api.github.com/repos/rails/rails/pulls/23481","_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/51910751"},"html":{"href":"https://github.com/rails/rails/pull/23481#discussion_r51910751"},"pull_request":{"href":"https://api.github.com/repos/rails/rails/pulls/23481"}}},"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/23481","id":58297441,"html_url":"https://github.com/rails/rails/pull/23481","diff_url":"https://github.com/rails/rails/pull/23481.diff","patch_url":"https://github.com/rails/rails/pull/23481.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/23481","number":23481,"state":"open","locked":false,"title":"Add documentation about `ActiveModel::Errors#[]` method to describe how it works [ci skip]","user":{"login":"meinac","id":1840945,"avatar_url":"https://avatars.githubusercontent.com/u/1840945?v=3","gravatar_id":"","url":"https://api.github.com/users/meinac","html_url":"https://github.com/meinac","followers_url":"https://api.github.com/users/meinac/followers","following_url":"https://api.github.com/users/meinac/following{/other_user}","gists_url":"https://api.github.com/users/meinac/gists{/gist_id}","starred_url":"https://api.github.com/users/meinac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meinac/subscriptions","organizations_url":"https://api.github.com/users/meinac/orgs","repos_url":"https://api.github.com/users/meinac/repos","events_url":"https://api.github.com/users/meinac/events{/privacy}","received_events_url":"https://api.github.com/users/meinac/received_events","type":"User","site_admin":false},"body":"Please see the conversation on #23468.","created_at":"2016-02-04T14:56:54Z","updated_at":"2016-02-04T17:59:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01513144922b5f60be9709f759f3c4b3e09b5408","assignee":{"login":"rafaelfranca","id":47848,"avatar_url":"https://avatars.githubusercontent.com/u/47848?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/23481/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/23481/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/23481/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/b9c107173a859bda62291ba4392f6a112c7b6dea","head":{"label":"meinac:activemodel_errors_doc_for_behaviour","ref":"activemodel_errors_doc_for_behaviour","sha":"b9c107173a859bda62291ba4392f6a112c7b6dea","user":{"login":"meinac","id":1840945,"avatar_url":"https://avatars.githubusercontent.com/u/1840945?v=3","gravatar_id":"","url":"https://api.github.com/users/meinac","html_url":"https://github.com/meinac","followers_url":"https://api.github.com/users/meinac/followers","following_url":"https://api.github.com/users/meinac/following{/other_user}","gists_url":"https://api.github.com/users/meinac/gists{/gist_id}","starred_url":"https://api.github.com/users/meinac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meinac/subscriptions","organizations_url":"https://api.github.com/users/meinac/orgs","repos_url":"https://api.github.com/users/meinac/repos","events_url":"https://api.github.com/users/meinac/events{/privacy}","received_events_url":"https://api.github.com/users/meinac/received_events","type":"User","site_admin":false},"repo":{"id":21495615,"name":"rails","full_name":"meinac/rails","owner":{"login":"meinac","id":1840945,"avatar_url":"https://avatars.githubusercontent.com/u/1840945?v=3","gravatar_id":"","url":"https://api.github.com/users/meinac","html_url":"https://github.com/meinac","followers_url":"https://api.github.com/users/meinac/followers","following_url":"https://api.github.com/users/meinac/following{/other_user}","gists_url":"https://api.github.com/users/meinac/gists{/gist_id}","starred_url":"https://api.github.com/users/meinac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meinac/subscriptions","organizations_url":"https://api.github.com/users/meinac/orgs","repos_url":"https://api.github.com/users/meinac/repos","events_url":"https://api.github.com/users/meinac/events{/privacy}","received_events_url":"https://api.github.com/users/meinac/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/meinac/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/meinac/rails","forks_url":"https://api.github.com/repos/meinac/rails/forks","keys_url":"https://api.github.com/repos/meinac/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meinac/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meinac/rails/teams","hooks_url":"https://api.github.com/repos/meinac/rails/hooks","issue_events_url":"https://api.github.com/repos/meinac/rails/issues/events{/number}","events_url":"https://api.github.com/repos/meinac/rails/events","assignees_url":"https://api.github.com/repos/meinac/rails/assignees{/user}","branches_url":"https://api.github.com/repos/meinac/rails/branches{/branch}","tags_url":"https://api.github.com/repos/meinac/rails/tags","blobs_url":"https://api.github.com/repos/meinac/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meinac/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meinac/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/meinac/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meinac/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/meinac/rails/languages","stargazers_url":"https://api.github.com/repos/meinac/rails/stargazers","contributors_url":"https://api.github.com/repos/meinac/rails/contributors","subscribers_url":"https://api.github.com/repos/meinac/rails/subscribers","subscription_url":"https://api.github.com/repos/meinac/rails/subscription","commits_url":"https://api.github.com/repos/meinac/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/meinac/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/meinac/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/meinac/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/meinac/rails/contents/{+path}","compare_url":"https://api.github.com/repos/meinac/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meinac/rails/merges","archive_url":"https://api.github.com/repos/meinac/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meinac/rails/downloads","issues_url":"https://api.github.com/repos/meinac/rails/issues{/number}","pulls_url":"https://api.github.com/repos/meinac/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/meinac/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/meinac/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meinac/rails/labels{/name}","releases_url":"https://api.github.com/repos/meinac/rails/releases{/id}","deployments_url":"https://api.github.com/repos/meinac/rails/deployments","created_at":"2014-07-04T11:44:36Z","updated_at":"2016-02-04T04:04:54Z","pushed_at":"2016-02-04T17:55:02Z","git_url":"git://github.com/meinac/rails.git","ssh_url":"git@github.com:meinac/rails.git","clone_url":"https://github.com/meinac/rails.git","svn_url":"https://github.com/meinac/rails","homepage":"http://rubyonrails.org","size":121284,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rails:master","ref":"master","sha":"dd67df6136951d7a449bf883bd8c4af10c75afb7","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","deployments_url":"https://api.github.com/repos/rails/rails/deployments","created_at":"2008-04-11T02:19:47Z","updated_at":"2016-02-04T17:32:33Z","pushed_at":"2016-02-04T17:55:06Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":324876,"stargazers_count":29521,"watchers_count":29521,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11997,"mirror_url":null,"open_issues_count":849,"forks":11997,"open_issues":849,"watchers":29521,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/23481"},"html":{"href":"https://github.com/rails/rails/pull/23481"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/23481"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/23481/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/23481/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/23481/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/b9c107173a859bda62291ba4392f6a112c7b6dea"}}}}