Is there a good way to get Ember Data to download a resource from an eaven server if it is already in the store?
I have a simple show user action that does store.find('users',id) , the model only loads once the first attempt to display the page the second time I load my model from the store, which is the normal behavior of ember data. which I know. However, I need to download it every time.
edit: the only way to find this:
@store.find('user',{id: params.user_id}).then (users)-> users.get('firstObject')
however, it forces me to implement a "fake" show action on my index action ...
Piotr source share