Re: [Catalyst] Problem with prefetch DBIX::Class

2010-08-13 Thread Marc Perez
Hi, Do you thinks is there another possibility to find a solution o test other aspects to solve this? Thanks very much Marc On Thu, Aug 12, 2010 at 9:04 AM, Marc Perez markkus...@gmail.com wrote: Hi, Thanks for your reply. Is not __PACKAGE__-load_components(Core) adding the functionality of

Re: [Catalyst] Problem with prefetch DBIX::Class

2010-08-13 Thread J. Shirley
On Fri, Aug 13, 2010 at 4:51 AM, Marc Perez markkus...@gmail.com wrote: Hi, Do you thinks is there another possibility to find a solution o test other aspects to solve this? Thanks very much Marc First, there's a DBIx::Class mailing list for DBIC questions, which this is. It has nothing

Re: [Catalyst] Problem with prefetch DBIX::Class

2010-08-13 Thread Marc Perez
Hi Jay, Ok, sorry, I will write next time to the DBIX list. You were right, I was calling name() on a resultset, I had to call first()-name() and works. Thanks very much Marc ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Re: [Catalyst] Problem with prefetch DBIX::Class

2010-08-13 Thread Tomas Doran
On 13 Aug 2010, at 15:43, Marc Perez wrote: Hi Jay, Ok, sorry, I will write next time to the DBIX list. DBIX is a namespace which contains many projects. You mean DBIx::Class, or DBIC for short. Cheers t0m ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Problem with prefetch DBIX::Class

2010-08-13 Thread Marc Perez
Hi, Yes, I mean DBIX::Class. I've already subscribed to the list. Thanks Marc On Fri, Aug 13, 2010 at 4:53 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 13 Aug 2010, at 15:43, Marc Perez wrote: Hi Jay, Ok, sorry, I will write next time to the DBIX list. DBIX is a namespace which

Re: [Catalyst] Problem with prefetch DBIX::Class

2010-08-12 Thread Marc Perez
Hi, Thanks for your reply. Is not __PACKAGE__-load_components(Core) adding the functionality of DBiX::Class::Core? Yes, I have methods called from a Resultset, but the work fine. Marc ___ List: Catalyst@lists.scsys.co.uk Listinfo:

Re: [Catalyst] Problem with prefetch DBIX::Class

2010-08-11 Thread seasprocket
I am a DBIC beginner, but here's what I have learned: Your table classes should subclass DBIx::Class::Core (not DBIx::Class). And if you have methods that need to be called from a ResultSet class, then you should add also create Schema classes that subclass ResultSet. On Wed, Aug 11, 2010 at