【发布时间】:2012-06-22 17:59:58
【问题描述】:
我一直在尝试为 Rails 项目评估 emberjs。
有人可以建议(或者最好是为我失败的项目)如何让我的数据显示在视图中?我只运行了rails g ember:bootstrap 并创建了一个具有单个属性username 的User 表。
回购链接:https://github.com/Rhodee/ember-hello-world
控制台仅提供以下线索:
Uncaught TypeError: Cannot call method 'extend' of undefined application_controller.js:1
Uncaught TypeError: Cannot call method 'extend' of undefined user_controller.js:1
Uncaught TypeError: Object <Ember.Object:ember282> has no method 'removeArrayObserver' ember.js:11068
我已经利用这些资源进行学习:
- https://github.com/emberjs/data#readme
- http://www.cerebris.com/blog/2012/01/26/beginning-ember-js-on-rails-part-2/
- http://jsfiddle.net/C7LrM/59/
- http://emberjs.com/documentation/
我在哪里可以找到最新的教程,这些教程反映了如何将事物连接起来以简单地显示索引模板?
【问题讨论】: