{"action":"opened","number":262,"pull_request":{"url":"https://api.github.com/repos/mongoid/mongoid-site/pulls/262","id":31191830,"html_url":"https://github.com/mongoid/mongoid-site/pull/262","diff_url":"https://github.com/mongoid/mongoid-site/pull/262.diff","patch_url":"https://github.com/mongoid/mongoid-site/pull/262.patch","issue_url":"https://api.github.com/repos/mongoid/mongoid-site/issues/262","number":262,"state":"open","locked":false,"title":"Improve docs for field accessors","user":{"login":"lucke84","id":783937,"avatar_url":"https://avatars.githubusercontent.com/u/783937?v=3","gravatar_id":"","url":"https://api.github.com/users/lucke84","html_url":"https://github.com/lucke84","followers_url":"https://api.github.com/users/lucke84/followers","following_url":"https://api.github.com/users/lucke84/following{/other_user}","gists_url":"https://api.github.com/users/lucke84/gists{/gist_id}","starred_url":"https://api.github.com/users/lucke84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucke84/subscriptions","organizations_url":"https://api.github.com/users/lucke84/orgs","repos_url":"https://api.github.com/users/lucke84/repos","events_url":"https://api.github.com/users/lucke84/events{/privacy}","received_events_url":"https://api.github.com/users/lucke84/received_events","type":"User","site_admin":false},"body":"Addressing https://github.com/mongoid/mongoid-site/issues/213: better docs on different ways to access fields in a Mongoid model.","created_at":"2015-03-14T23:01:24Z","updated_at":"2015-03-14T23:01:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mongoid/mongoid-site/pulls/262/commits","review_comments_url":"https://api.github.com/repos/mongoid/mongoid-site/pulls/262/comments","review_comment_url":"https://api.github.com/repos/mongoid/mongoid-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongoid/mongoid-site/issues/262/comments","statuses_url":"https://api.github.com/repos/mongoid/mongoid-site/statuses/e58e3b20045ed28fdad1a77b29deb58a2408eebc","head":{"label":"lucke84:documents_attributes_getter_setter","ref":"documents_attributes_getter_setter","sha":"e58e3b20045ed28fdad1a77b29deb58a2408eebc","user":{"login":"lucke84","id":783937,"avatar_url":"https://avatars.githubusercontent.com/u/783937?v=3","gravatar_id":"","url":"https://api.github.com/users/lucke84","html_url":"https://github.com/lucke84","followers_url":"https://api.github.com/users/lucke84/followers","following_url":"https://api.github.com/users/lucke84/following{/other_user}","gists_url":"https://api.github.com/users/lucke84/gists{/gist_id}","starred_url":"https://api.github.com/users/lucke84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucke84/subscriptions","organizations_url":"https://api.github.com/users/lucke84/orgs","repos_url":"https://api.github.com/users/lucke84/repos","events_url":"https://api.github.com/users/lucke84/events{/privacy}","received_events_url":"https://api.github.com/users/lucke84/received_events","type":"User","site_admin":false},"repo":{"id":32232881,"name":"mongoid-site","full_name":"lucke84/mongoid-site","owner":{"login":"lucke84","id":783937,"avatar_url":"https://avatars.githubusercontent.com/u/783937?v=3","gravatar_id":"","url":"https://api.github.com/users/lucke84","html_url":"https://github.com/lucke84","followers_url":"https://api.github.com/users/lucke84/followers","following_url":"https://api.github.com/users/lucke84/following{/other_user}","gists_url":"https://api.github.com/users/lucke84/gists{/gist_id}","starred_url":"https://api.github.com/users/lucke84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucke84/subscriptions","organizations_url":"https://api.github.com/users/lucke84/orgs","repos_url":"https://api.github.com/users/lucke84/repos","events_url":"https://api.github.com/users/lucke84/events{/privacy}","received_events_url":"https://api.github.com/users/lucke84/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucke84/mongoid-site","description":"Source code for mongoid.org","fork":true,"url":"https://api.github.com/repos/lucke84/mongoid-site","forks_url":"https://api.github.com/repos/lucke84/mongoid-site/forks","keys_url":"https://api.github.com/repos/lucke84/mongoid-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucke84/mongoid-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucke84/mongoid-site/teams","hooks_url":"https://api.github.com/repos/lucke84/mongoid-site/hooks","issue_events_url":"https://api.github.com/repos/lucke84/mongoid-site/issues/events{/number}","events_url":"https://api.github.com/repos/lucke84/mongoid-site/events","assignees_url":"https://api.github.com/repos/lucke84/mongoid-site/assignees{/user}","branches_url":"https://api.github.com/repos/lucke84/mongoid-site/branches{/branch}","tags_url":"https://api.github.com/repos/lucke84/mongoid-site/tags","blobs_url":"https://api.github.com/repos/lucke84/mongoid-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucke84/mongoid-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucke84/mongoid-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucke84/mongoid-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucke84/mongoid-site/statuses/{sha}","languages_url":"https://api.github.com/repos/lucke84/mongoid-site/languages","stargazers_url":"https://api.github.com/repos/lucke84/mongoid-site/stargazers","contributors_url":"https://api.github.com/repos/lucke84/mongoid-site/contributors","subscribers_url":"https://api.github.com/repos/lucke84/mongoid-site/subscribers","subscription_url":"https://api.github.com/repos/lucke84/mongoid-site/subscription","commits_url":"https://api.github.com/repos/lucke84/mongoid-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucke84/mongoid-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucke84/mongoid-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucke84/mongoid-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucke84/mongoid-site/contents/{+path}","compare_url":"https://api.github.com/repos/lucke84/mongoid-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucke84/mongoid-site/merges","archive_url":"https://api.github.com/repos/lucke84/mongoid-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucke84/mongoid-site/downloads","issues_url":"https://api.github.com/repos/lucke84/mongoid-site/issues{/number}","pulls_url":"https://api.github.com/repos/lucke84/mongoid-site/pulls{/number}","milestones_url":"https://api.github.com/repos/lucke84/mongoid-site/milestones{/number}","notifications_url":"https://api.github.com/repos/lucke84/mongoid-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucke84/mongoid-site/labels{/name}","releases_url":"https://api.github.com/repos/lucke84/mongoid-site/releases{/id}","created_at":"2015-03-14T21:30:35Z","updated_at":"2015-03-14T21:30:36Z","pushed_at":"2015-03-14T22:58:23Z","git_url":"git://github.com/lucke84/mongoid-site.git","ssh_url":"git@github.com:lucke84/mongoid-site.git","clone_url":"https://github.com/lucke84/mongoid-site.git","svn_url":"https://github.com/lucke84/mongoid-site","homepage":"http://mongoid.org","size":14498,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"mongoid:master","ref":"master","sha":"6ba1a4121e708d68e1e9d28e5d90ede7ae0aa116","user":{"login":"mongoid","id":262752,"avatar_url":"https://avatars.githubusercontent.com/u/262752?v=3","gravatar_id":"","url":"https://api.github.com/users/mongoid","html_url":"https://github.com/mongoid","followers_url":"https://api.github.com/users/mongoid/followers","following_url":"https://api.github.com/users/mongoid/following{/other_user}","gists_url":"https://api.github.com/users/mongoid/gists{/gist_id}","starred_url":"https://api.github.com/users/mongoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongoid/subscriptions","organizations_url":"https://api.github.com/users/mongoid/orgs","repos_url":"https://api.github.com/users/mongoid/repos","events_url":"https://api.github.com/users/mongoid/events{/privacy}","received_events_url":"https://api.github.com/users/mongoid/received_events","type":"Organization","site_admin":false},"repo":{"id":644624,"name":"mongoid-site","full_name":"mongoid/mongoid-site","owner":{"login":"mongoid","id":262752,"avatar_url":"https://avatars.githubusercontent.com/u/262752?v=3","gravatar_id":"","url":"https://api.github.com/users/mongoid","html_url":"https://github.com/mongoid","followers_url":"https://api.github.com/users/mongoid/followers","following_url":"https://api.github.com/users/mongoid/following{/other_user}","gists_url":"https://api.github.com/users/mongoid/gists{/gist_id}","starred_url":"https://api.github.com/users/mongoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongoid/subscriptions","organizations_url":"https://api.github.com/users/mongoid/orgs","repos_url":"https://api.github.com/users/mongoid/repos","events_url":"https://api.github.com/users/mongoid/events{/privacy}","received_events_url":"https://api.github.com/users/mongoid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongoid/mongoid-site","description":"Source code for mongoid.org","fork":false,"url":"https://api.github.com/repos/mongoid/mongoid-site","forks_url":"https://api.github.com/repos/mongoid/mongoid-site/forks","keys_url":"https://api.github.com/repos/mongoid/mongoid-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongoid/mongoid-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongoid/mongoid-site/teams","hooks_url":"https://api.github.com/repos/mongoid/mongoid-site/hooks","issue_events_url":"https://api.github.com/repos/mongoid/mongoid-site/issues/events{/number}","events_url":"https://api.github.com/repos/mongoid/mongoid-site/events","assignees_url":"https://api.github.com/repos/mongoid/mongoid-site/assignees{/user}","branches_url":"https://api.github.com/repos/mongoid/mongoid-site/branches{/branch}","tags_url":"https://api.github.com/repos/mongoid/mongoid-site/tags","blobs_url":"https://api.github.com/repos/mongoid/mongoid-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongoid/mongoid-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongoid/mongoid-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongoid/mongoid-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongoid/mongoid-site/statuses/{sha}","languages_url":"https://api.github.com/repos/mongoid/mongoid-site/languages","stargazers_url":"https://api.github.com/repos/mongoid/mongoid-site/stargazers","contributors_url":"https://api.github.com/repos/mongoid/mongoid-site/contributors","subscribers_url":"https://api.github.com/repos/mongoid/mongoid-site/subscribers","subscription_url":"https://api.github.com/repos/mongoid/mongoid-site/subscription","commits_url":"https://api.github.com/repos/mongoid/mongoid-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongoid/mongoid-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongoid/mongoid-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongoid/mongoid-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongoid/mongoid-site/contents/{+path}","compare_url":"https://api.github.com/repos/mongoid/mongoid-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongoid/mongoid-site/merges","archive_url":"https://api.github.com/repos/mongoid/mongoid-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongoid/mongoid-site/downloads","issues_url":"https://api.github.com/repos/mongoid/mongoid-site/issues{/number}","pulls_url":"https://api.github.com/repos/mongoid/mongoid-site/pulls{/number}","milestones_url":"https://api.github.com/repos/mongoid/mongoid-site/milestones{/number}","notifications_url":"https://api.github.com/repos/mongoid/mongoid-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongoid/mongoid-site/labels{/name}","releases_url":"https://api.github.com/repos/mongoid/mongoid-site/releases{/id}","created_at":"2010-05-03T15:53:47Z","updated_at":"2015-01-28T00:12:23Z","pushed_at":"2015-01-28T00:12:23Z","git_url":"git://github.com/mongoid/mongoid-site.git","ssh_url":"git@github.com:mongoid/mongoid-site.git","clone_url":"https://github.com/mongoid/mongoid-site.git","svn_url":"https://github.com/mongoid/mongoid-site","homepage":"http://mongoid.org","size":17107,"stargazers_count":151,"watchers_count":151,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":96,"mirror_url":null,"open_issues_count":26,"forks":96,"open_issues":26,"watchers":151,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongoid/mongoid-site/pulls/262"},"html":{"href":"https://github.com/mongoid/mongoid-site/pull/262"},"issue":{"href":"https://api.github.com/repos/mongoid/mongoid-site/issues/262"},"comments":{"href":"https://api.github.com/repos/mongoid/mongoid-site/issues/262/comments"},"review_comments":{"href":"https://api.github.com/repos/mongoid/mongoid-site/pulls/262/comments"},"review_comment":{"href":"https://api.github.com/repos/mongoid/mongoid-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongoid/mongoid-site/pulls/262/commits"},"statuses":{"href":"https://api.github.com/repos/mongoid/mongoid-site/statuses/e58e3b20045ed28fdad1a77b29deb58a2408eebc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":41,"deletions":4,"changed_files":1}}