On Thu, May 13, 2010 at 2:54 PM, Kieren Diment dim...@gmail.com wrote:
sub ACCEPT_CONTEXT {
my ($self, $c ) = @_;
my $new = $self-meta-clone_object($self, arg =
$c-stash-{something});
return $new;
}
Hum, I'm not clear how that works with Catalyst::Model::DBIC::Schema,
I've managed to keep context related items (e.g. current user) out of my
DBIC model up until now. Now finding it would be very helpful to be able to
call a method on a row object and have access to the current user.
So, I'm trying to hunt down an example of how to make a current user
available
On 14/05/2010, at 7:37 AM, Bill Moseley wrote:
I've managed to keep context related items (e.g. current user) out of my
DBIC model up until now. Now finding it would be very helpful to be able to
call a method on a row object and have access to the current user.
So, I'm trying to hunt