[Catalyst] has_many but no left join?!

2013-06-18 Thread Stephen Shorrock
Hi, I was wondering if anyone could offer some insight into a problem I'm finding. I wish to create a relationship using a left join by this doesn't appear to be happening when I trace the SQL. My only thought is that it is something to do with using a 'table' without a primary key or whose

Re: [Catalyst] has_many but no left join?!

2013-06-18 Thread Stephen Shorrock
relationships but not under these circumstances. I wondered whether any knew of any conditions that might prevent it from working. Best wishes Stephen On Jun 18, 2013 6:45 PM, Robert Wohlfarth rbwohlfa...@gmail.com wrote: On Tue, Jun 18, 2013 at 11:54 AM, Stephen Shorrock stephen.shorr

Re: [Catalyst] has_many but no left join?!

2013-06-18 Thread Stephen Shorrock
confusion. Many thanks for your support talking though the problem. I'm quietly confident it will work tomorrow. Many thanks Stephen On Jun 18, 2013 7:10 PM, Robert Wohlfarth rbwohlfa...@gmail.com wrote: On Tue, Jun 18, 2013 at 12:58 PM, Stephen Shorrock stephen.shorr...@gmail.com wrote: Thanks

Re: [Catalyst] has_many but no left join?!

2013-06-18 Thread Stephen Shorrock
I think Robert has cracked it, but why prefetch? On Jun 18, 2013 7:14 PM, Francisco Obispo fobi...@isc.org wrote: Again, I think you want to use 'prefetch'. On Jun 18, 2013, at 11:09 AM, Robert Wohlfarth rbwohlfa...@gmail.com wrote: Ah, well then I answered the wrong question :)

Re: [Catalyst] Model objects from multiple DBIx::Class rows

2012-11-22 Thread Stephen Shorrock
need different behavior in different situations. You cound, for example, create a Montage class, which works on the user table, and add custom code which is only needed by montages. The old user class will still be available. cheers, Lukas On 11/22/2012 04:59 PM, Stephen Shorrock wrote: Hi

Re: [Catalyst] Model objects from multiple DBIx::Class rows

2012-11-22 Thread Stephen Shorrock
On Thu, Nov 22, 2012 at 5:20 PM, Will Crawford billcrawford1...@gmail.com wrote: On 22 November 2012 17:03, Stephen Shorrock stephen.shorr...@gmail.com wrote: Hi Lukas, Firstly thanks and secondly I take your point regarding the relationships. It seems sensible that I should create

Re: [Catalyst] X-Forwarded-Path

2012-10-11 Thread Stephen Shorrock
specifically for this use-case however :) Cheers t0m On 10 Oct 2012, at 14:34, Stephen Shorrock wrote: Hi, Catalyst 5.90011 I'm trying to run an application behind a frontend proxy where the path at the front end is not route: config on frontend.mydomain.ac.uk Location /CUFSE

Re: [Catalyst] Deploying with Perlbrew

2012-05-16 Thread Stephen Shorrock
On 15/05/2012 14:57, Bill Moseley wrote: On Tue, May 15, 2012 at 8:18 AM, Tobias Kremertobias.kre...@gmail.comwrote: We played around with building .debs for all dependencies (mainly because our ISP understandably likes packages), but it's a total PITA IMHO. So we went the local::lib route and

Re: [Catalyst] Passing REMOTE_USER to development server

2012-03-02 Thread Stephen Shorrock
Many thanks for pointing me towards the docs. REMOTE_USER=someuser plackup ./lib -e'enable ForceEnv = REMOTE_USER = $ENV{REMOTE_USER}' myapp.psgi Seems to do the trick Stephen On Fri, Mar 2, 2012 at 10:26 AM, Eden Cardim edencar...@gmail.com wrote: Stephen == Stephen Shorrock stephen.shorr

[Catalyst] URL Aliasing MyApp::Controller - Apache

2008-08-11 Thread Stephen Shorrock
Hi I was wondering whether anyone has experience of aliasing the Controllers of a Catalyst application within Apache. Essentially I would like the Controllers of my Catalyst application to have their own alias locations eg. MyApp::Controller::Area1 to have a URL http://someserver/area1alias and

[Catalyst] Help understanding interaction with view; application using IE7 Prototype.js

2007-12-21 Thread Stephen Shorrock
Dear List, I wondered whether anyone could shed some light on what happens during the flow of a request, there seems to be a difference in returning directly from the controller and forwarding to a view. This effect is show when using Ajax. This issue only appears in IE7, Firefox handles the