Rails Migration Checklist

Rails migrations are nice, but remembering the whole DSL can be hard.

Checklists are used by airplane pilots and doctors to avoid fatal errors with great success.

Forgetting to add an index to a column in your migration is hardly a fatal error, but why shouldn’t we use the same method to remember important steps in software development tasks?

Use the following checklist when writing Rails migrations to make sure you don’t forget something important.

Rails Migration Checklist

General

Method specific

add_column

change_column

remove_column

create_table

Data migrations

Like this?

Get notified when I post in the future: