{"action":"created","issue":{"url":"https://api.github.com/repos/tgriesser/bookshelf/issues/792","labels_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/792/labels{/name}","comments_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/792/comments","events_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/792/events","html_url":"https://github.com/tgriesser/bookshelf/issues/792","id":88124344,"number":792,"title":"Problems resolving relations on model definitions (circular?)","user":{"login":"dafonz","id":2020925,"avatar_url":"https://avatars.githubusercontent.com/u/2020925?v=3","gravatar_id":"","url":"https://api.github.com/users/dafonz","html_url":"https://github.com/dafonz","followers_url":"https://api.github.com/users/dafonz/followers","following_url":"https://api.github.com/users/dafonz/following{/other_user}","gists_url":"https://api.github.com/users/dafonz/gists{/gist_id}","starred_url":"https://api.github.com/users/dafonz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dafonz/subscriptions","organizations_url":"https://api.github.com/users/dafonz/orgs","repos_url":"https://api.github.com/users/dafonz/repos","events_url":"https://api.github.com/users/dafonz/events{/privacy}","received_events_url":"https://api.github.com/users/dafonz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tgriesser/bookshelf/labels/plugin","name":"plugin","color":"eb6420"},{"url":"https://api.github.com/repos/tgriesser/bookshelf/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-14T05:22:11Z","updated_at":"2015-06-14T07:07:37Z","closed_at":"2015-06-14T07:07:37Z","body":"https://gist.github.com/dafonz/3c30442bc4066e05d818\r\n\r\nWhen trying to use the project_task model, I get the following error:\r\n\r\n   Error: A valid target model must be defined for the project_task belongsTo relat\r\nion\r\n\r\nI think I'm using the registry plugin correctly, but it's still not resolving?"},"comment":{"url":"https://api.github.com/repos/tgriesser/bookshelf/issues/comments/111794081","html_url":"https://github.com/tgriesser/bookshelf/issues/792#issuecomment-111794081","issue_url":"https://api.github.com/repos/tgriesser/bookshelf/issues/792","id":111794081,"user":{"login":"dafonz","id":2020925,"avatar_url":"https://avatars.githubusercontent.com/u/2020925?v=3","gravatar_id":"","url":"https://api.github.com/users/dafonz","html_url":"https://github.com/dafonz","followers_url":"https://api.github.com/users/dafonz/followers","following_url":"https://api.github.com/users/dafonz/following{/other_user}","gists_url":"https://api.github.com/users/dafonz/gists{/gist_id}","starred_url":"https://api.github.com/users/dafonz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dafonz/subscriptions","organizations_url":"https://api.github.com/users/dafonz/orgs","repos_url":"https://api.github.com/users/dafonz/repos","events_url":"https://api.github.com/users/dafonz/events{/privacy}","received_events_url":"https://api.github.com/users/dafonz/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T07:07:37Z","updated_at":"2015-06-14T07:07:37Z","body":"Always something small! Changing the identifications to strings did the trick."}}