Skip to content

Commit d79b7d5

Browse files
Merge pull request rails#46623 from cjilbert504/migration-comment-option-grammar
Update text to include comma and add articles before nouns [ci-skip]
2 parents c4510b2 + 2e2fed7 commit d79b7d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guides/source/active_record_migrations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,11 @@ create_table :users do |t|
375375
end
376376
```
377377

378-
Also you can pass the `:comment` option with any description for the table
379-
that will be stored in database itself and can be viewed with database administration
378+
Also, you can pass the `:comment` option with any description for the table
379+
that will be stored in the database itself and can be viewed with database administration
380380
tools, such as MySQL Workbench or PgAdmin III. It's highly recommended to specify
381381
comments in migrations for applications with large databases as it helps people
382-
to understand data model and generate documentation.
382+
to understand the data model and generate documentation.
383383
Currently only the MySQL and PostgreSQL adapters support comments.
384384

385385
[`create_table`]: https://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/SchemaStatements.html#method-i-create_table

0 commit comments

Comments
 (0)