RE: Problems with Scaffolding ...

Rowan Hick
Thu, 03 Nov 2005 18:55:12 -0000

Cody,

I''m a retard, it''s all working a whole lot better now. Even
read about it
and know about still caught me out.


Many thanks,
Rowan

-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On
Behalf Of Cody Fauser
Sent: Thursday, November 03, 2005 4:17 PM
To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: Re: [Rails] Problems with Scaffolding ...

Rowan,

Try:

script/generate scaffold Person Admin

You have a model Person, which will use a database table people, due
to the pluralization rules.

Hope this helps,


Cody

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.6/152 - Release Date: 10/31/2005