ember newby here. I need to get back some metadata from the server after a PUT request, therefor I want to use the native ember function ‘store.metadataFor()’ within the controller after saving. My code looks like this (coffeescript):

I’m not fluent in coffeescript, so this could be off the mark, but if that @store is equivalent to this.store, then you have the problem that ‘this’ is scoped to the global context rather than your controller (if you want I could elaborate on this, but it’s a pretty common javascript quirk). I have written the exact lines of code you have there many times, and always end up with something like