Ruby on Rails Conventions

I’ve read a few blog posts that have to do with the frustration of finding basic Ruby on Rails conventions. For example if you should pluralize this or capitalize that. And I’ve discovered first hand that it’s helpful to have those things laid out before you get to into the project you’re attempting to develop.

I found this little article very helpful, you may find it on the rubyonrails.org wiki here: TipSheetForBeginners. Some of the highlights are:

  • Table (schema) in database ( plural, with underscores instead of spaces between words, like steering_wheels)
  • Model ( singular, first letter Capitalized, CamelCase for models like SteeringWheel)

Now the article is short and it’s not complete by any means, but it’s definately a start. I wish I had found this article before I had gotten to far in.