[Catalyst] moniker_map arg in app_create.pl

Hernan Lopes hernanlopes at gmail.com
Wed May 4 16:37:35 GMT 2011


you should name your model singular, not plural

On Wed, May 4, 2011 at 1:31 PM, matthew couchman (JIC) <
matthew.couchman at bbsrc.ac.uk> wrote:

> Hi,
>
>
>
> I have a table called plant_species which by default creates a schema
> result class PlantSpecy when I run my app_create.pl script. To get around
> this I=92ve tried passing moniker_map=3D=92{ plant_species =3D> =93PlantS=
pecies=94 }=92 as
> an extra argument. It looks like the argument is read because it appears =
in
> lib/App/Model/App.pm but I still have a PlantSpecy.pm file rather than
> PlantSpecies.pm.
>
>
>
> Can anyone help?
>
>
>
> Thanks very much,
>
>
>
>                                 Matt.
>
>
>
>
>
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110504/34fdc=
f3f/attachment.htm


More information about the Catalyst mailing list