createprivatestatic
Override the class' create()
method to raise an error. This prevents end users from inadvertently calling create()
instead of createRecord()
. The store is still able to create instances by calling the _create()
method. To create an instance of a DS.Model
use store.createRecord.
Please login to continue.