> class DM_Member
> instead of @column_name
> def column_name
>  @column_instance || = proxy.get
> end
> end


What if after the first time you called column_name, the data changed.
 The the 2nd time you called column_name, you would get
@column_instance from memory, which wouldn't correspond to what's in
the database on disk.  The "laziness" would translate into
"staleness."

David :)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to