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.
0 Comments:
Post a Comment
<< Home