g Ember CLI.
We'll call our model <code>rental</code> and generate it as follows:</p>
<pre class="language-bash line-numbers"><code class="bash language-bash">ember g model rental
<span aria-hidden="true" class="line-numbers-rows"><a href="#C1_L1" id=C1_L1></a></span></code></pre>
<p>This results in the creation of a model file and a test file:</p>
<pre class="language-bash line-numbers"><code class="bash language-bash">installing model
  create app/models/rental.js
installing model-test
  create tests/unit