Re: [CDBI] Re: uniqueness of objects in memory??

[prev] [thread] [next] [Date index for 2005/10/24]

From: Bill Moseley
Subject: Re: [CDBI] Re: uniqueness of objects in memory??
Date: 20:46 on 24 Oct 2005
On Mon, Oct 24, 2005 at 01:31:44PM -0700, Phil Mitchell wrote:
> [% prefs.home_page %]
> [% user.prefs.home_page %]
> 
> and they're different.

Can you demonstrate with just your model?  Something like:


> 1. User has_a Prefs object; User->Prefs->home_page equals X

    my $user = User->retrieve(1);
    print "start home page ", $user->Prefs->home_page;

> 2. Prefs gets updated with new data; Prefs->home_page equals Y

    my $prefs = $user->Prefs;
    $prefs->home_page('Y');
    $prefs->update;
    print "From Prefs: ", $prefs->home_page;


> 3. But User->Prefs->home_page still equals X.

    print "From user: ", $user->Prefs->home_page;

        -- 
        Bill Moseley
moseley@xxxx.xxx


_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

(message missing)

[CDBI] uniqueness of objects in memory??
Phil Mitchell 03:32 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Perrin Harkins 16:12 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Phil Mitchell 17:42 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Perrin Harkins 18:41 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Christopher H. Laco 18:53 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Phil Mitchell 19:43 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
William Ross 19:50 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Phil Mitchell 19:35 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Perrin Harkins 19:52 on 24 Oct 2005

[CDBI] Re: uniqueness of objects in memory??
Edward J. Sabol 19:47 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Perrin Harkins 19:54 on 24 Oct 2005

[CDBI] Re: uniqueness of objects in memory??
Edward J. Sabol 20:03 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 20:18 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Christopher H. Laco 19:46 on 24 Oct 2005

Re: [CDBI] uniqueness of objects in memory??
Christopher H. Laco 19:56 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Michael Peters 20:23 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 20:31 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Bill Moseley 20:46 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 21:30 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 22:07 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Perrin Harkins 22:13 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 23:34 on 24 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Rod McChesney 03:15 on 25 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 03:48 on 25 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Perrin Harkins 04:18 on 25 Oct 2005

Re: [CDBI] Re: uniqueness of objects in memory??
Phil Mitchell 06:08 on 25 Oct 2005

Generated at 14:18 on 27 Oct 2005 by mariachi v0.52