使用本指南去過:https://github.com/heartsentwined/ember-auth-rails-demo成立了軌道4 +燼-auth的入門套件+設計+引導軌道4 +灰燼,驗證+設計入門套件Ember.js
我得到這個錯誤: undefined local variable or method `build_resource' for #<SessionsController:0x007ffd4783b9d0>
和我的控制檯給我: NameError (undefined local variable or method `build_resource' for #<SessionsController:0x007ffd4783b9d0>): app/controllers/sessions_controller.rb:5:in `create'
這裏是鏈接到我的公共回購:https://github.com/amaanr/ember-rails4-starter-kit/tree/ember-auth 隨意克隆,並確保做rake db:create
,rake db:migrate
和rake db:seed
謝謝你,這幫了很多!查看我正在進行的工作:https://github.com/amaanr/ember-rails4-starter-kit – Amaan