提交 122e8dc1 编写于 作者: L Luka Marčetić

Correct the assertion that join table columns have no options, mind context.

上级 312ad9fb
......@@ -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}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册