Re: [Dbix-class] Can't find source for XXX question SOLVED

2018-12-03 Thread ejm
Hi all, In case anyone else has the issue of "Can't find source for XXX", my solution was to correct the value of source_name. I was specifying source_name in my Result class pkg to be the table name in the DB. After looking at the code in DBIx::Class::Schema and the POD documentation, it

Re: [Dbix-class] [DBIx-class] Can't find source for XXX question SOLVED

2018-12-03 Thread ejm
Hi all, In case anyone else has the issue of "Can't find source for XXX", my solution was to correct the value of source_name. I was specifying source_name in my Result class pkg to be the table name in the DB. After looking at the code in DBIx::Class::Schema and the POD documentation, it

Re: [Dbix-class] Can't find source for XXX question

2018-12-01 Thread Mitchell Elutovich
If the data is coming from the DB it does not use the "new" sub it uses a sub inflate_result. Start by looking at these (search for inflate_result) https://metacpan.org/pod/distribution/DBIx-Class/lib/DBIx/Class/Manual/Cookbook.pod https://metacpan.org/pod/DBIx::Class::Row#inflate_result On

[Dbix-class] Can't find source for XXX question

2018-11-29 Thread ejm
Hi All, Another newbie question about the "Can't find source for XXX" error message. I've been able to establish a connection to my MySQL DB by specifying a storage type for my Schema, but I keep getting the "Can't find source for XXX" error message when I try searching the table XXX. In my