[Nitro] Concerns over Og mandating the form of initialize

George Moschovitis george.moschovitis at gmail.com
Wed Apr 13 09:41:40 EDT 2005


> If pre-existing objects are to be used, then one has to guard against
> other processes altering the database.

I think the constructor should not be called when deserializing the
object. An object that is serialized in the database is allready
intialized and in the correct state. I think using klass.allocate is
the 'right thing',

-g.

-- 
http://nitro.rubyforge.org
http://www.joy.gr




More information about the Nitro-general mailing list