{"action":"closed","number":34278,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/34278","id":224585796,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0NTg1Nzk2","html_url":"https://github.com/rails/rails/pull/34278","diff_url":"https://github.com/rails/rails/pull/34278.diff","patch_url":"https://github.com/rails/rails/pull/34278.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/34278","number":34278,"state":"closed","locked":false,"title":"Fix #33914 : Remove dependent: :destroy option from the belong_to example since there is a warning associated with the usage of dependent: :destroy along with belongs_to ","user":{"login":"GeniusStorm","id":36580,"node_id":"MDQ6VXNlcjM2NTgw","avatar_url":"https://avatars2.githubusercontent.com/u/36580?v=4","gravatar_id":"","url":"https://api.github.com/users/GeniusStorm","html_url":"https://github.com/GeniusStorm","followers_url":"https://api.github.com/users/GeniusStorm/followers","following_url":"https://api.github.com/users/GeniusStorm/following{/other_user}","gists_url":"https://api.github.com/users/GeniusStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/GeniusStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeniusStorm/subscriptions","organizations_url":"https://api.github.com/users/GeniusStorm/orgs","repos_url":"https://api.github.com/users/GeniusStorm/repos","events_url":"https://api.github.com/users/GeniusStorm/events{/privacy}","received_events_url":"https://api.github.com/users/GeniusStorm/received_events","type":"User","site_admin":false},"body":"[ci skip]This commit removes the dependent: :destroy option from the belong_to example since there is a warning associated with the usage of dependent: :destroy along with belongs_to. Based on the feedback on the issue #33914, I  replaced dependent: :destroy with touch: :books_updated_at which will make the example consistent with the example that already exists on that page.\r\n","created_at":"2018-10-22T04:10:18Z","updated_at":"2018-10-22T18:57:24Z","closed_at":"2018-10-22T18:57:24Z","merged_at":"2018-10-22T18:57:24Z","merge_commit_sha":"9e04563ae0c488d056861965400874f6102e14f1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":150377,"node_id":"MDU6TGFiZWwxNTAzNzc=","url":"https://api.github.com/repos/rails/rails/labels/docs","name":"docs","color":"02d7e1","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/34278/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/34278/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/34278/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/b2e74b36bf3b858e3d08fff3ef66351c1e259caa","head":{"label":"GeniusStorm:remove_dependent_destroy_from_belongs_to_doc","ref":"remove_dependent_destroy_from_belongs_to_doc","sha":"b2e74b36bf3b858e3d08fff3ef66351c1e259caa","user":{"login":"GeniusStorm","id":36580,"node_id":"MDQ6VXNlcjM2NTgw","avatar_url":"https://avatars2.githubusercontent.com/u/36580?v=4","gravatar_id":"","url":"https://api.github.com/users/GeniusStorm","html_url":"https://github.com/GeniusStorm","followers_url":"https://api.github.com/users/GeniusStorm/followers","following_url":"https://api.github.com/users/GeniusStorm/following{/other_user}","gists_url":"https://api.github.com/users/GeniusStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/GeniusStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeniusStorm/subscriptions","organizations_url":"https://api.github.com/users/GeniusStorm/orgs","repos_url":"https://api.github.com/users/GeniusStorm/repos","events_url":"https://api.github.com/users/GeniusStorm/events{/privacy}","received_events_url":"https://api.github.com/users/GeniusStorm/received_events","type":"User","site_admin":false},"repo":{"id":87535,"node_id":"MDEwOlJlcG9zaXRvcnk4NzUzNQ==","name":"rails","full_name":"GeniusStorm/rails","private":false,"owner":{"login":"GeniusStorm","id":36580,"node_id":"MDQ6VXNlcjM2NTgw","avatar_url":"https://avatars2.githubusercontent.com/u/36580?v=4","gravatar_id":"","url":"https://api.github.com/users/GeniusStorm","html_url":"https://github.com/GeniusStorm","followers_url":"https://api.github.com/users/GeniusStorm/followers","following_url":"https://api.github.com/users/GeniusStorm/following{/other_user}","gists_url":"https://api.github.com/users/GeniusStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/GeniusStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeniusStorm/subscriptions","organizations_url":"https://api.github.com/users/GeniusStorm/orgs","repos_url":"https://api.github.com/users/GeniusStorm/repos","events_url":"https://api.github.com/users/GeniusStorm/events{/privacy}","received_events_url":"https://api.github.com/users/GeniusStorm/received_events","type":"User","site_admin":false},"html_url":"https://github.com/GeniusStorm/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/GeniusStorm/rails","forks_url":"https://api.github.com/repos/GeniusStorm/rails/forks","keys_url":"https://api.github.com/repos/GeniusStorm/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GeniusStorm/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GeniusStorm/rails/teams","hooks_url":"https://api.github.com/repos/GeniusStorm/rails/hooks","issue_events_url":"https://api.github.com/repos/GeniusStorm/rails/issues/events{/number}","events_url":"https://api.github.com/repos/GeniusStorm/rails/events","assignees_url":"https://api.github.com/repos/GeniusStorm/rails/assignees{/user}","branches_url":"https://api.github.com/repos/GeniusStorm/rails/branches{/branch}","tags_url":"https://api.github.com/repos/GeniusStorm/rails/tags","blobs_url":"https://api.github.com/repos/GeniusStorm/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GeniusStorm/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GeniusStorm/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/GeniusStorm/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GeniusStorm/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/GeniusStorm/rails/languages","stargazers_url":"https://api.github.com/repos/GeniusStorm/rails/stargazers","contributors_url":"https://api.github.com/repos/GeniusStorm/rails/contributors","subscribers_url":"https://api.github.com/repos/GeniusStorm/rails/subscribers","subscription_url":"https://api.github.com/repos/GeniusStorm/rails/subscription","commits_url":"https://api.github.com/repos/GeniusStorm/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/GeniusStorm/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/GeniusStorm/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/GeniusStorm/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/GeniusStorm/rails/contents/{+path}","compare_url":"https://api.github.com/repos/GeniusStorm/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GeniusStorm/rails/merges","archive_url":"https://api.github.com/repos/GeniusStorm/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GeniusStorm/rails/downloads","issues_url":"https://api.github.com/repos/GeniusStorm/rails/issues{/number}","pulls_url":"https://api.github.com/repos/GeniusStorm/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/GeniusStorm/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/GeniusStorm/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GeniusStorm/rails/labels{/name}","releases_url":"https://api.github.com/repos/GeniusStorm/rails/releases{/id}","deployments_url":"https://api.github.com/repos/GeniusStorm/rails/deployments","created_at":"2008-12-09T08:53:10Z","updated_at":"2018-10-22T03:28:07Z","pushed_at":"2018-10-22T18:41:09Z","git_url":"git://github.com/GeniusStorm/rails.git","ssh_url":"git@github.com:GeniusStorm/rails.git","clone_url":"https://github.com/GeniusStorm/rails.git","svn_url":"https://github.com/GeniusStorm/rails","homepage":"http://rubyonrails.org","size":142451,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"rails:master","ref":"master","sha":"64385bdf30b3bd7a44e2f456fca6a33ae2bb451c","user":{"login":"rails","id":4223,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMjM=","avatar_url":"https://avatars1.githubusercontent.com/u/4223?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnk4NTE0","name":"rails","full_name":"rails/rails","private":false,"owner":{"login":"rails","id":4223,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMjM=","avatar_url":"https://avatars1.githubusercontent.com/u/4223?v=4","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},"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":"2018-10-22T18:00:37Z","pushed_at":"2018-10-22T18:57:23Z","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":"https://rubyonrails.org","size":167649,"stargazers_count":41213,"watchers_count":41213,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16647,"mirror_url":null,"archived":false,"open_issues_count":1049,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":16647,"open_issues":1049,"watchers":41213,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/34278"},"html":{"href":"https://github.com/rails/rails/pull/34278"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/34278"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/34278/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/34278/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/34278/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/b2e74b36bf3b858e3d08fff3ef66351c1e259caa"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"gmcgibbon","id":5162312,"node_id":"MDQ6VXNlcjUxNjIzMTI=","avatar_url":"https://avatars0.githubusercontent.com/u/5162312?v=4","gravatar_id":"","url":"https://api.github.com/users/gmcgibbon","html_url":"https://github.com/gmcgibbon","followers_url":"https://api.github.com/users/gmcgibbon/followers","following_url":"https://api.github.com/users/gmcgibbon/following{/other_user}","gists_url":"https://api.github.com/users/gmcgibbon/gists{/gist_id}","starred_url":"https://api.github.com/users/gmcgibbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmcgibbon/subscriptions","organizations_url":"https://api.github.com/users/gmcgibbon/orgs","repos_url":"https://api.github.com/users/gmcgibbon/repos","events_url":"https://api.github.com/users/gmcgibbon/events{/privacy}","received_events_url":"https://api.github.com/users/gmcgibbon/received_events","type":"User","site_admin":false},"comments":0,"review_comments":4,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"gmcgibbon"}}