Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4826

How to refresh ember model on creating new record

$
0
0

@anaspm wrote:

I tried to create a new record in a route using createRecord method and I persisted it using .save() method.

it is getting saved in db and showing record in my view component.

but I am generating id on my db. but when i check id is showing as null.

I think the model is not refreshing automatically on creating new record.

when I manually refresh page the record is showing with id

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles