{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/21672","labels_url":"https://api.github.com/repos/rails/rails/issues/21672/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/21672/comments","events_url":"https://api.github.com/repos/rails/rails/issues/21672/events","html_url":"https://github.com/rails/rails/pull/21672","id":107307667,"number":21672,"title":"Added missing example in `parent_name` docs [ci skip].","user":{"login":"amitsuroliya","id":2149795,"avatar_url":"https://avatars.githubusercontent.com/u/2149795?v=3","gravatar_id":"","url":"https://api.github.com/users/amitsuroliya","html_url":"https://github.com/amitsuroliya","followers_url":"https://api.github.com/users/amitsuroliya/followers","following_url":"https://api.github.com/users/amitsuroliya/following{/other_user}","gists_url":"https://api.github.com/users/amitsuroliya/gists{/gist_id}","starred_url":"https://api.github.com/users/amitsuroliya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitsuroliya/subscriptions","organizations_url":"https://api.github.com/users/amitsuroliya/orgs","repos_url":"https://api.github.com/users/amitsuroliya/repos","events_url":"https://api.github.com/users/amitsuroliya/events{/privacy}","received_events_url":"https://api.github.com/users/amitsuroliya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"chancancode","id":55829,"avatar_url":"https://avatars.githubusercontent.com/u/55829?v=3","gravatar_id":"","url":"https://api.github.com/users/chancancode","html_url":"https://github.com/chancancode","followers_url":"https://api.github.com/users/chancancode/followers","following_url":"https://api.github.com/users/chancancode/following{/other_user}","gists_url":"https://api.github.com/users/chancancode/gists{/gist_id}","starred_url":"https://api.github.com/users/chancancode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chancancode/subscriptions","organizations_url":"https://api.github.com/users/chancancode/orgs","repos_url":"https://api.github.com/users/chancancode/repos","events_url":"https://api.github.com/users/chancancode/events{/privacy}","received_events_url":"https://api.github.com/users/chancancode/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-09-19T03:32:17Z","updated_at":"2015-09-19T08:58:03Z","closed_at":"2015-09-19T08:58:03Z","pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/21672","html_url":"https://github.com/rails/rails/pull/21672","diff_url":"https://github.com/rails/rails/pull/21672.diff","patch_url":"https://github.com/rails/rails/pull/21672.patch"},"body":"Without this example, we can't evaluate  `M::N.parent_name`."},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/141636822","html_url":"https://github.com/rails/rails/pull/21672#issuecomment-141636822","issue_url":"https://api.github.com/repos/rails/rails/issues/21672","id":141636822,"user":{"login":"robin850","id":354185,"avatar_url":"https://avatars.githubusercontent.com/u/354185?v=3","gravatar_id":"","url":"https://api.github.com/users/robin850","html_url":"https://github.com/robin850","followers_url":"https://api.github.com/users/robin850/followers","following_url":"https://api.github.com/users/robin850/following{/other_user}","gists_url":"https://api.github.com/users/robin850/gists{/gist_id}","starred_url":"https://api.github.com/users/robin850/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin850/subscriptions","organizations_url":"https://api.github.com/users/robin850/orgs","repos_url":"https://api.github.com/users/robin850/repos","events_url":"https://api.github.com/users/robin850/events{/privacy}","received_events_url":"https://api.github.com/users/robin850/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T08:58:03Z","updated_at":"2015-09-19T08:58:03Z","body":"Hi there!\r\n\r\nI agree with Arthur here ; the examples aren't specifically intended to be copy-pasted, they just describe common cases. The documentation makes the assumption that you know Ruby so that you know how to define the `M` and `N` modules.\r\n\r\nI'm giving it a close but thanks for the patch anyway! :-)"}}