I don't find that small snippet of code difficult to read, but that's just me. It could be encapsulated in a doSoftDelete controller method for clarity, or in your decorator if you're going that route already.
But to be clear, I DO get confused reading code blocks sometimes, even my own, but especially other's code sometimes confuses the heck out of me! ;-) On Wed, Jan 28, 2009 at 1:08 PM, John Whish <[email protected]>wrote: > > You just set your isDeleted property to true and update the record using > Transfer. > Very true, but code is easier to read when it just save Transfer.delete( > object ) or are you doing some clever overriding? > > > > -- Nando M. Breiter The CarbonZero Project CP 234 6934 Bioggio Switzerland +41 76 303 4477 [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CFCDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cfcdev?hl=en -~----------~----~----~----~------~----~------~--~---
