in reply to Class::DBI has_many relationships.

It looks like you just have a little typo to me.. In TrialWorkers::DaySignup, you have:
TrialWorkers::DaySignup->has_a(people_id=>'TrialWorkers::People');
Which should be:
TrialWorkers::DaySignup->has_a(people_id=>'TrialWorkers::Person');
Thus Class::DBI is falling back to the default, and looking for a column with the name of the class, instead of the one that has_a tells it to use.

C.

Replies are listed 'Best First'.
Re^2: Class::DBI has_many relationships.
by blue_cowdawg (Monsignor) on Aug 23, 2004 at 15:07 UTC

        It looks like you just have a little typo to me

    Thanks castaway! Looks like I should have had more coffee... Coding for 14 hours straight will make you make those kinds of mistakes...