I’m just starting out here and this is a little confusing. I created a model for a component that I’ve made. The model is defined as:
// app/models/upcoming-debates.js
var attr = DS.attr;
export default DS.Model.extend({
title: attr(),
createdAt: attr('date')
});
I thought that DS is instantiated by ember data, and that this is automatically loaded in when using ember-cli. What am I doing wrong here?