Skip to content

Commit c7de82c

Browse files
Do not put timestamps at the bottom of a migration
`rails generate` puts timestamps at the bottom of a migration by default, meaning we have to change every migration even if the migration is otherwise generated perfectly. Original discussion: thoughtbot/guides#159
1 parent 153cad3 commit c7de82c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

style/rails/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ Migrations
3030

3131
* Set an empty string as the default constraint for non-required string and text
3232
fields. [Example][default example].
33-
* List timestamps first when creating a new table. [Example][timestamps example].
3433

35-
[timestamps example]: migration.rb
3634
[default example]: migration.rb#L6
3735

3836
Routes

0 commit comments

Comments
 (0)