lib/xamplr/templates/element_empty.template in xamplr-1.2.0 vs lib/xamplr/templates/element_empty.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 @@ -81,21 +82,12 @@ def #{attribute.name} @#{attribute.name} end - def xxx#{attribute.name}=(v) - accessed - # 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 - 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