我已将ember-rails更新为 master:
bundle update ember-rails
Updating git://github.com/emberjs/ember-rails.git
Fetching gem metadata from https://rubygems.org/.........
....
Using ember-rails (0.11.1) from git://github.com/emberjs/ember-rails.git (at master)
....
Your bundle is updated!
我想使用最新的ember-data修订版 (12),但每次我将应用程序的商店修订号更新为 12,即:
App.Store = DS.Store.extend({
revision: 12,
adapter: App.Adapter.create()
});
我看到以下错误消息:
Uncaught Error: Error: The Ember Data library has had breaking API changes since the last time you updated the library. Please review the list of breaking changes at https://github.com/emberjs/data/blob/master/BREAKING_CHANGES.md, then update your store's `revision` property to 11
...当我查看 DS.CURRENT_API_REVISION 时,它是 11:
console.log(DS.CURRENT_API_REVISION); // 11
有没有办法让 gem 加入修订版 12,或者我必须自己构建 ember-data 并覆盖包含的版本?