Developing a web application with Ember.js is awesome but can sometimes be a little tricky. Every now and then you figure something out that help you every day. Here's a small extension of Ember.Object that we use as a base for practically all our resources.
The app I'm developing consist of resources holding data that the user wants to edit, sometimes a few at a time. We need an edit mode and restore on cancel functionality. This is our starting point, so let's start extending!