diff options
author | Luka Marčetić <lmarcetic@koocha.lan> | 2013-05-27 03:31:13 +0200 |
---|---|---|
committer | Luka Marčetić <lmarcetic@koocha.lan> | 2013-05-27 03:31:13 +0200 |
commit | 122e8dc1e9fab32f56e13902fb2a2c509716acfa (patch) | |
tree | 72123b1d8369f713273e9ad0a038600d89ca9aed /guides/source | |
parent | 312ad9fbcf85319a1dec7b8061c6b105735d86b6 (diff) | |
download | rails-122e8dc1e9fab32f56e13902fb2a2c509716acfa.tar.gz rails-122e8dc1e9fab32f56e13902fb2a2c509716acfa.tar.bz2 rails-122e8dc1e9fab32f56e13902fb2a2c509716acfa.zip |
Correct the assertion that join table columns have no options, mind context.
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/migrations.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/migrations.md b/guides/source/migrations.md index 550f8fdc3c..1ad8db12eb 100644 --- a/guides/source/migrations.md +++ b/guides/source/migrations.md @@ -377,8 +377,8 @@ create_join_table :products, :categories, table_name: :categorization will create a `categorization` table. -By default, `create_join_table` will create two columns with no options, but -you can specify these options using the `:column_options` option. For example, +For the two table columns, you can override the default `:null` option, or add +others, by specifying the `:column_options` option. For example, ```ruby create_join_table :products, :categories, column_options: {null: true} |