All Questions
Tagged with ember-data nested-attributes
3 questions
2
votes
0
answers
627
views
Create action with nested attributes using Ember.js, Ember-data.js and Rails backend
I'm working on a project management website. I'm using Ember.js, Ember-data.js and a Rails backend. By now, I populated the backend database with some test data. I can do show and index operations on ...
1
vote
0
answers
75
views
How can I set Ember embedded association keys to match expected nested_attributes_for format on the Rails side?
I've got an Ember model with a nested association. When I POST to the Rails server, Ember is sending:
Parameters: {"parent"=>{"name"=>"Jim", "kid"=>{"name"=>'Sara'}}
On the Rails side, ...
6
votes
1
answer
507
views
Ember-data: how to share and update a object in transaction between controller actions?
I've found on GitHub a good working example for ember-data under https://github.com/dgeb/ember_data_example and try to extend it by nested resource ('has_many: comments'). In the original example a ...