Using Rails & Devise with Ember.js

This question is based on this tutorial http://say26.com/using-rails-devise-with-ember-js .

I do not know if I will make a stupid mistake or if the data binding does not work correctly. But when I log in, I don’t get the username - it defaults to β€œGuest” every time.

Please view this text containing all the files associated with it: https://gist.github.com/amaanr/5577152

I run rails 4, ruby ​​2, ember-rails gem and come up with a gem.

Thank you for your help!

+4
source share
1 answer

You tried

//= require_tree ./initializers

You need to make sure that you include the initializer folder in the rails resource pipeline.

+2
source

Source: https://habr.com/ru/post/1480760/


All Articles