lib/xamplr/templates/element_simple.template in xamplr-1.2.0 vs lib/xamplr/templates/element_simple.template in xamplr-1.3.15

- old
+ new

@@ -3,10 +3,11 @@ | |if @element.persisted then | include Xampl::XamplPersistedObject + #supports class based over-ride of persister format @@default_persister_format = nil def default_persister_format @@default_persister_format end @@ -83,10 +84,10 @@ @#{attribute.name} end def #{attribute.name}=(v) accessed - # This is kind of optimistic, I think you are in trouble if you do this + # This is kind of optimistic, I think you are in trouble if you do this Xampl.auto_uncache(self) if @#{attribute.name} @#{attribute.name} = v changed Xampl.auto_cache(self) if v end