Using Ember Data
Currently, our app is using hard-coded data for rentals in the rentals route handler to set the model. As our application grows, we will want to be able to create new rentals, make updates to them, delete them, and save these changes to a backend server. Ember integrates with a data management library called Ember Data to help solve this problem.
Let's generate our first Ember Data model called rental:
ember g model rental
This results in the creation of a model file and a t