diff --git a/lib/attributes/record_attribute.js b/lib/attributes/record_attribute.js index 21d88a9..9d7b18a 100644 --- a/lib/attributes/record_attribute.js +++ b/lib/attributes/record_attribute.js @@ -312,9 +312,6 @@ SC.RecordAttribute = SC.Object.extend( /** @private - Make this look like a property so that `get()` will call it. */ isProperty: YES, - /** @private - Make this look cacheable */ - isCacheable: YES, - /** @private - needed for KVO `property()` support */ dependentKeys: [], @@ -336,7 +333,7 @@ SC.RecordAttribute = SC.Object.extend( var attr = this; var ret = SC.computed(function(key, value) { return attr.call(this, key, value); - }); + }).cacheable(); ret.attr = attr; return ret ; }