In effort to sharpen the saw a bit I started playing around with Ruby on Rails last week. I quickly realized a couple things about Convention over Configuration:
- How much busy work is avoided by using Conventions, which is probably why certain projects in the .Net and .Net OSS communities are rushing to add Conventions.
- One should probably know what the Conventions are before diving into a project that uses them.
So I did a quick google to get a list of the Conventions and found this post on Ruby on Rails Naming Conventions.
Here's the summary of the post, just in case it ever get's taken down.
Model Naming Convention
Primary Key: id
Foreign Key: customer_id
Link Tables: items_orders
Controller Naming Convention
View Naming Convention
Helper Module: OrdersHelper
Views: /app/views/orders/… (list.html.erb for example)
Tests Naming Convention