> Which means the entire thing would be pointless. What you want to do
> really is
>
> $class->new({ %saved_stuff, -result_source => $schema->source($class) });
> $new_obj->in_storage(1);
>
> then it'll work "as if" you re-fetched the object (%saved_stuff being the
> return of $obj->get_col
Thanks for the suggestion, I will probably go that route. It's
somewhat simpler than my previous plan.
Jay
On Feb 14, 2008, at 1:19 PM, Matt S Trout wrote:
On Thu, Feb 14, 2008 at 11:06:09AM -0700, Jay K wrote:
So why do I need to recovery the whole user row for every request?
I could use
$u
On Thu, Feb 14, 2008 at 11:06:09AM -0700, Jay K wrote:
> >So why do I need to recovery the whole user row for every request?
> >I could use
> >$user_id = $c->session->{user_id};
> >@albums = $c->model('albums')->search({ user_id => $user_id });
> >as Mitchell suggested but I'd prefer to fetch the d
On Wed, 13 Feb 2008, Matt S Trout wrote:
On Wed, Feb 13, 2008 at 12:20:52PM -0400, Esteban Saavedra L. wrote:
Hello, I created a list of Catalyst for Spanish-speaking people
The direcion is: http://groups.google.com.bo/group/catalyst-es/
We already host the main and -de lists - if you mail me
So why do I need to recovery the whole user row for every request?
I could use
$user_id = $c->session->{user_id};
@albums = $c->model('albums')->search({ user_id => $user_id });
as Mitchell suggested but I'd prefer to fetch the data by using $c-
>user because its the way one should do it.
might i
On Thu, Feb 14, 2008 at 09:14:04AM +0100, Moritz Onken wrote:
>
> Am 14.02.2008 um 00:11 schrieb Jay K:
>
> >Hi there Moritz,
> >
> >The select by id that you are seeing is the retrieval of the user from
> >the database when first recovering the user from the session. I am
> >assuming that you a
On Wed, Feb 13, 2008 at 09:30:15PM -0700, Todd Harris wrote:
>
> On Feb 12, 2008, at 12:09 AM, Dagfinn Ilmari Mannsåker wrote:
>
> >Hi all,
> >
> >Castaway mentioned the idea of having components defined entirely by
> >config entries, without the need for any actual class files on disk,
> >and
Am 14.02.2008 um 00:11 schrieb Jay K:
Hi there Moritz,
The select by id that you are seeing is the retrieval of the user from
the database when first recovering the user from the session. I am
assuming that you are using the
Catalyst::Authentication::Store::DBIx::Class storage module. Any
a