I'm new to Ember CLI and have been trying to get the ember cli server to proxy requests to my Rails backend with no success.
I have Ember CLI v.0.39 installed, and have put up a route to fetch a model from the server by AJAX:
return Em.$.getJSON('/users').then(function(result){
return Em.A(result);
)};
I run ember s --proxy "http://127.0.0.1:3000" this being my Rails endpoint.
The request is being made from the browser, but I find no trace of it being forwarded to the Rails endpoint. The javascript console mentions a bug about an 'Route: undefined' error,
I have also found info on the web that v.0.39 had some problems in this regard and have fetched and npm link-ed the latest version from the git ember-cli rep.
Error while loading route: undefined
I do think that the error message is strictly a result of the AJAX response being void.
Any ideas would be greatly appreciated.