title: How to autoload a relationship with Adonis with find or findOrFail?
body: <p>Is there a way to autoload a relationship with findByOrFail (or any other method like find etc.)?</p>
  
  <p>In the code below, the method <code>with()</code> is not defined.</p>
  
  <pre class="lang-js prettyprint-override"><code>async show({ params, response }) {
    try {
      return await Company.findByOrFail('domain', params.id).with('websites')
    } catch (error) {
      console.error(error)
  
      switch (error.name) {
        case 'ModelNotFoundException':
          return response.notFound({ message: 'companies_show_not_found' })
  
        default:
          return response.badRequest({ message: 'something_went_wrong' })
      }
    }
  }
  </code></pre>