On Wed, 2010-03-10 at 14:15 +0100, [email protected] wrote:
> Hello catal[yi]sters,
> 
> I'm going to be crazzy about one generated accessor name:
> 
> __PACKAGE__->has_many(
>    "company_people",         # I expected to be "company_persons"
>    "Jf::Schema::Result::CompanyPerson",
>    { "foreign.role" => "self.id" },
> );
> 
> I have no "people" pattern in my database. Did I miss something?

People is the correct plural of person.  Apparently Catalyst uses
something fairly clever to generate the plurals for relationship names.

Regards,
Denny

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
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