diff --git a/rails/ensure-migrations-use-the-latest-schema.md b/rails/ensure-migrations-use-the-latest-schema.md index d70db8d..6f1c3f6 100644 --- a/rails/ensure-migrations-use-the-latest-schema.md +++ b/rails/ensure-migrations-use-the-latest-schema.md @@ -6,9 +6,9 @@ another, you'll need to add a new column, move some data, and then delete the old column. ```ruby -// Assume the following are defined: -// GenericAuthor for table 'authors' -// GenericBook for table 'books' +# Assume the following are defined: +# GenericAuthor for table 'authors' +# GenericBook for table 'books' def up add_column :books, :genre, :string