The journal of Paul M. Watson.

Monday, September 12, 2005

Ruby on Rails Plural Jog

This little post is just for me. And everyone else who forgets the pluralisation rules of Ruby on Rails.

IT IS SINGULAR WHEN USING SCAFOLDING. ruby script/generate scafold Contact and NOT Contacts.

I wonder if I will remember. I always get it wrong.


Post a Comment

Links to this post:

Create a Link

<< Home