What plural should he use?

On 04/05/2011 18:37, Hernan Lopes wrote:
you should name your model singular, not plural

On Wed, May 4, 2011 at 1:31 PM, matthew couchman (JIC) <[email protected] <mailto:[email protected]>> 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
    <http://app_create.pl> script. To get around this I’ve tried
    passing moniker_map=’{ plant_species => “PlantSpecies” }’ 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: [email protected] <mailto:[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/



_______________________________________________
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/
_______________________________________________
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