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.

Yes, that makes sense.

I changed the name from "person" to persona to avoid that.
And than I got plural "personae" :-)

This is apparently linguistically perfect, but I rather prefer to have
consistent (ugly) naming..

Does anybody knows how invoke the *_create script to avoid that?


thanx,
Tomas


Regards,
Denny



_______________________________________________
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