I''d categorize it more like this:
Singular:
* Model names
* Associations of type "belongs_to" (e.g. belongs_to :category)
Plural:
* Database table names
* Fields used as Foreign Keys in the database (e.g. users_id)
* Associations of type "has_many" and
"has_and_belongs_to_many" (e.g.
has_many :items)
As You Please:
* Controller names
* View names
On Jun 13, 2005, at 4:38 PM, Ben Jackson wrote:
> What is the convention for using singular and plurals? As I
> understand it:
>
> Singular:
> * Model names
>
> Plural:
> * Controller names
> * View names
> * Database table names
> * Associations (i.e. users_id)
> ___________________
> Ben Jackson
> Diretor de Desenvolvimento
>
> +55 (21) 9997-0593
> ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org
> http://www.incomumdesign.com
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
Duane Johnson
(canadaduane)