1

尝试使用fixtureadapter创建用户时出现以下错误:

Uncaught TypeError: Object user has no method '_create' ember-data.js?body=1:1580
DS.Store.Ember.Object.extend.createRecord ember-data.js?body=1:1580
EmberGym.UsersCreateController.Ember.ObjectController.extend.actions.save users_create_controller.js?body=1:7
Ember.ActionHandler.Ember.Mixin.create.send ember.js?body=1:14740
(anonymous function) ember.js?body=1:33233
Backburner.run ember.js?body=1:5609
Ember.run ember.js?body=1:5974
ActionHelper.registeredActions.(anonymous function).handler ember.js?body=1:33231
(anonymous function) ember.js?body=1:19340
Ember.handleErrors ember.js?body=1:578
(anonymous function) ember.js?body=1:19332
jQuery.event.dispatch jquery.js?body=1:5096
elemData.handle jquery.js?body=1:4767

https://github.com/ecl1pse/ember-gym

有什么帮助吗?

4

1 回答 1

2

不幸的是,旧版本的 ember-data..

于 2013-11-15T05:33:28.783 回答