On 8 May 2012 16:54, Kenneth S Mclane <[email protected]> wrote:

> So you're saying I should do this:
>
> __PACKAGE__->belongs_to(
>   "account",
>   "dbms::Schema::Result::Account",
>   { account_id => "account_id" },
> );
>
> ?


Looks right. We have quite a lot of *_id foreign key columns, and all the
accessors look like that.
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to