{"action":"created","issue":{"url":"https://api.github.com/repos/tgriesser/bookshelf/issues/612","labels_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/612/labels{/name}","comments_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/612/comments","events_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/612/events","html_url":"https://github.com/tgriesser/bookshelf/issues/612","id":56896458,"number":612,"title":"How to get parent table attributes from child model ","user":{"login":"gustavobap","id":2744690,"avatar_url":"https://avatars.githubusercontent.com/u/2744690?v=3","gravatar_id":"","url":"https://api.github.com/users/gustavobap","html_url":"https://github.com/gustavobap","followers_url":"https://api.github.com/users/gustavobap/followers","following_url":"https://api.github.com/users/gustavobap/following{/other_user}","gists_url":"https://api.github.com/users/gustavobap/gists{/gist_id}","starred_url":"https://api.github.com/users/gustavobap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustavobap/subscriptions","organizations_url":"https://api.github.com/users/gustavobap/orgs","repos_url":"https://api.github.com/users/gustavobap/repos","events_url":"https://api.github.com/users/gustavobap/events{/privacy}","received_events_url":"https://api.github.com/users/gustavobap/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-07T04:07:26Z","updated_at":"2015-02-07T14:28:50Z","closed_at":"2015-02-07T14:28:50Z","body":"    var ParentModel = bookshelf.Model.extend({ })\r\n    var ChildModel = ParentModel.extend({ })\r\n  \r\n    new ChildModel().fetch().then(function(child){ \r\n         console.log(child.get('parentAttribute')); //undefined  \r\n    })\r\n\r\nHow can I get the inherited table attributes from the child object ?"},"comment":{"url":"https://api.github.com/repos/tgriesser/bookshelf/issues/comments/73366315","html_url":"https://github.com/tgriesser/bookshelf/issues/612#issuecomment-73366315","issue_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/612","id":73366315,"user":{"login":"bendrucker","id":808808,"avatar_url":"https://avatars.githubusercontent.com/u/808808?v=3","gravatar_id":"","url":"https://api.github.com/users/bendrucker","html_url":"https://github.com/bendrucker","followers_url":"https://api.github.com/users/bendrucker/followers","following_url":"https://api.github.com/users/bendrucker/following{/other_user}","gists_url":"https://api.github.com/users/bendrucker/gists{/gist_id}","starred_url":"https://api.github.com/users/bendrucker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendrucker/subscriptions","organizations_url":"https://api.github.com/users/bendrucker/orgs","repos_url":"https://api.github.com/users/bendrucker/repos","events_url":"https://api.github.com/users/bendrucker/events{/privacy}","received_events_url":"https://api.github.com/users/bendrucker/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T14:28:50Z","updated_at":"2015-02-07T14:28:50Z","body":"You can't. What're you trying to do?"}}