ember-rails

Ember-Rails and namespaced templates

。_饼干妹妹 提交于 2019-11-29 13:33:41
问题 I have a Rails app that is namespaced into three sections (almost 3 apps that share models). I would like for each namespaced section to have it's own Ember app. These apps are never loaded in the same layout so don't have to know anything about each other. In fact I would like to keep the code as separate as possible for when the app can eventually be really split up. I am trying to do this using the ember-rails gem. Basically it is like this question: How can I specify an alternative

Many to Many Relationships with Ember, ember-data and Rails

拥有回忆 提交于 2019-11-27 22:28:25
I am having an issue with trying to save many to many relationships in Ember.js using ember-data and rails. The association works fine on the ember side of things, however when I try to commit the transaction it will not include the list of new associations when submitting to rails. Any help would be much appreciated, I've been tearing out my hair trying to find an example application that does something this simple on github but I can't seem to find one. Here is a dumbed down version of my Ember code: App.Store = DS.Store.extend revision: 11 adapter: DS.RESTAdapter.create url: '/api' App

Many to Many Relationships with Ember, ember-data and Rails

。_饼干妹妹 提交于 2019-11-26 21:04:56
问题 I am having an issue with trying to save many to many relationships in Ember.js using ember-data and rails. The association works fine on the ember side of things, however when I try to commit the transaction it will not include the list of new associations when submitting to rails. Any help would be much appreciated, I've been tearing out my hair trying to find an example application that does something this simple on github but I can't seem to find one. Here is a dumbed down version of my