Re: [Dbix-class] Problem overriding connection method from Schema module

2009-08-24 Thread Emmanuel Quevillon
Original Message Subject: Re: [Dbix-class] Problem overriding connection method from Schema module Date: Mon, 24 Aug 2009 09:23:06 +0200 From: Emmanuel Quevillon t...@pasteur.fr Reply-To: t...@pasteur.fr Organization: Institut Pasteur To: Byron Young byron.yo...@riverbed.com

Re: [Dbix-class] Problem overriding connection method from Schema module

2009-08-24 Thread Emmanuel Quevillon
Byron Young wrote: Emmanuel Quevillon wrote on 2009-08-21: sub connection { my ($self, @rest) = @_; $self-next::method(@rest); $self-driver_name($self-handler()-{Driver}-{Name}); } # You can replace this text with custom content, and it will be preserved on regeneration

Re: [Dbix-class] different query after upgrade

2009-08-24 Thread Wallace Reis
Actually, never mind what i just said. DBIC is right, it's a proper bugfix. *Generally*, it is not correct to LEFT JOIN one thing then JOIN onwards from it, which clearly is not your case here. Sorry for the wrong spot. -- wallace reis/wreis Catalyst and DBIx::Class consultancy

[Dbix-class] have add_to_$rel return $link for many to many

2009-08-24 Thread Todd W
Hello, I'd like add_to_$rel return the $link instead of $obj in ::ManyToMany.pm. I've inlined a diff below that does so, with an updated test and documentation patch against http://dev.catalyst.perl.org/repos/bast/DBIx-Class/0.08/tags/0.08109 Index: t/relationship/core.t