#4 Generate Models

In my opinion, Ember CLI is the best “feature” of ember and you can use it to generate all sort of things.  Here is how to generate models for your app.

or for short use ‘g’ instead of ‘generate’ i.e.

The above command will generate the following model


If you make a mistake while generating, you can undo it with a “destroy”.  For example, to undo the above generation, you would call

d = destroy