From e43c059042168b2bf896b64fdb5205f04500d1b6 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Sun, 19 May 2019 14:59:26 -0500 Subject: [PATCH] Fix the comment syntax --- rails/ensure-migrations-use-the-latest-schema.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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