aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2016-04-17 23:14:11 -0700
committerJeremy Daer <jeremydaer@gmail.com>2016-04-17 23:14:11 -0700
commitcdce6131500820c9fd88709c46d84e57a9fd3f90 (patch)
tree99aaf43789d5b37c72ddbaa3d3e6269fa3e447e1 /guides/source
parentb3749f31d2d2a9984266cbe61b961eb694961b4a (diff)
parenta469f72208e3f2886b01f38da8cf7589fa667963 (diff)
downloadrails-cdce6131500820c9fd88709c46d84e57a9fd3f90.tar.gz
rails-cdce6131500820c9fd88709c46d84e57a9fd3f90.tar.bz2
rails-cdce6131500820c9fd88709c46d84e57a9fd3f90.zip
Merge pull request #24603 from prathamesh-sonpatki/fix-wording-about-adapters-supporting-db-comments
Fix wording related to adapters supporting database comments [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/active_record_migrations.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_record_migrations.md b/guides/source/active_record_migrations.md
index 2aae35223a..f914122242 100644
--- a/guides/source/active_record_migrations.md
+++ b/guides/source/active_record_migrations.md
@@ -246,7 +246,7 @@ class AddUserRefToProducts < ActiveRecord::Migration[5.0]
end
```
-This migration will create a `user_id` column and appropriate index.
+This migration will create a `user_id` column and appropriate index.
For more `add_reference` options, visit the [API documentation](http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/SchemaStatements.html#method-i-add_reference).
There is also a generator which will produce join tables if `JoinTable` is part of the name:
@@ -361,7 +361,7 @@ that will be stored in database itself and can be viewed with database administr
tools, such as MySQL Workbench or PgAdmin III. It's highly recommended to specify
comments in migrations for applications with large databases as it helps people
to understand data model and generate documentation.
-Currently only MySQL and PostgreSQL supports comments.
+Currently only the MySQL and PostgreSQL adapters support comments.
### Creating a Join Table