{"action":"created","issue":{"url":"https://api.github.com/repos/adonisjs/adonis-lucid/issues/3","labels_url":"https://api.github.com/repos/adonisjs/adonis-lucid/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/adonisjs/adonis-lucid/issues/3/comments","events_url":"https://api.github.com/repos/adonisjs/adonis-lucid/issues/3/events","html_url":"https://github.com/adonisjs/adonis-lucid/issues/3","id":111887554,"number":3,"title":"this.belongsTo is not a function","user":{"login":"brenolf","id":1520534,"avatar_url":"https://avatars.githubusercontent.com/u/1520534?v=3","gravatar_id":"","url":"https://api.github.com/users/brenolf","html_url":"https://github.com/brenolf","followers_url":"https://api.github.com/users/brenolf/followers","following_url":"https://api.github.com/users/brenolf/following{/other_user}","gists_url":"https://api.github.com/users/brenolf/gists{/gist_id}","starred_url":"https://api.github.com/users/brenolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brenolf/subscriptions","organizations_url":"https://api.github.com/users/brenolf/orgs","repos_url":"https://api.github.com/users/brenolf/repos","events_url":"https://api.github.com/users/brenolf/events{/privacy}","received_events_url":"https://api.github.com/users/brenolf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-16T18:37:54Z","updated_at":"2015-10-16T19:53:32Z","closed_at":"2015-10-16T19:52:57Z","body":"I'm trying the basic example shown in the docs but I'm getting the title error. The code I'm running is as follows:\r\n\r\n```js\r\n'use strict'\r\n\r\nconst Lucid = use('Lucid')\r\n\r\nclass Opinion extends Lucid {\r\n  user () {\r\n    return this.belongsTo('App/Model/User')\r\n  }\r\n}\r\n\r\nmodule.exports = Opinion\r\n```\r\n\r\nAnd using like:\r\n\r\n```js\r\nlet opinion = new Opinion\r\nopinion.user().associate(user)\r\n```\r\n\r\nShould I create it before associating?"},"comment":{"url":"https://api.github.com/repos/adonisjs/adonis-lucid/issues/comments/148818710","html_url":"https://github.com/adonisjs/adonis-lucid/issues/3#issuecomment-148818710","issue_url":"https://api.github.com/repos/adonisjs/adonis-lucid/issues/3","id":148818710,"user":{"login":"thetutlage","id":1706381,"avatar_url":"https://avatars.githubusercontent.com/u/1706381?v=3","gravatar_id":"","url":"https://api.github.com/users/thetutlage","html_url":"https://github.com/thetutlage","followers_url":"https://api.github.com/users/thetutlage/followers","following_url":"https://api.github.com/users/thetutlage/following{/other_user}","gists_url":"https://api.github.com/users/thetutlage/gists{/gist_id}","starred_url":"https://api.github.com/users/thetutlage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thetutlage/subscriptions","organizations_url":"https://api.github.com/users/thetutlage/orgs","repos_url":"https://api.github.com/users/thetutlage/repos","events_url":"https://api.github.com/users/thetutlage/events{/privacy}","received_events_url":"https://api.github.com/users/thetutlage/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T19:53:32Z","updated_at":"2015-10-16T19:53:32Z","body":"No issues , docs needs to have upgrade section "}}