Created
November 13, 2015 12:07
-
-
Save paulchubatyy/7584992c3cb92b098ccf to your computer and use it in GitHub Desktop.
Cannot use type field in model.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import DS from 'ember-data'; | |
export default DS.Model.extend({ | |
title: DS.attr('string'), | |
type: DS.attr('number'), // <== this is very wrong, use the alias, Luke! | |
ppt: DS.attr('number'), | |
fixed: DS.attr('number') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment