Hi Brandi!
On Wed, Oct 29, 2008 at 7:29 AM, Brandi Cantarel <[EMAIL PROTECTED]> wrote:
> Thanks Cory for your response, but I am quite familiar with all of the
> online help.
> After already consulting this and being able to write lots and lots of good
> statements. I have noticed that when use the table object and join it to a
> table it "belongs_to" I get the "Can't handle this error"
>
> But if I do the opposite join I do not get the error. Why??
>
> __PACKAGE__->belongs_to('entry' => 'Cazy::Schema::Entry','entry_id');
> __PACKAGE__->add_relationship('entry' => 'Cazy::Schema::Entry','entry_id');
This does not look correct - 'belongs_to' is a shortcut for
'add_relationship' - so using both (for the same relation) seems
redundant. I don't know if cleaning this will fix your problem - but
I would start with that.
--
Zbigniew Lukasiak
http://brudnopis.blogspot.com/
http://perlalchemy.blogspot.com/
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]