Singular or Plural in Rails

Quick cheet-sheet to help you remember when to type a singular entity or a plural.

Model names Singular
Database table names Plural
Controller names Plural
View template names Plural (matching controller)
When running script/generate scaffold Singular

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous post Firefox plug-ins I use
Next post Ruby Debugger Primer