Skip to content
This repository
Browse code

Correct the assertion that join table columns have no options, mind c…

…ontext.
  • Loading branch information...
commit 122e8dc1e9fab32f56e13902fb2a2c509716acfa 1 parent 312ad9f
Luka Marčetić authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 guides/source/migrations.md
4 guides/source/migrations.md
Source Rendered
@@ -377,8 +377,8 @@ create_join_table :products, :categories, table_name: :categorization
377 377
378 378 will create a `categorization` table.
379 379
380   -By default, `create_join_table` will create two columns with no options, but
381   -you can specify these options using the `:column_options` option. For example,
  380 +For the two table columns, you can override the default `:null` option, or add
  381 +others, by specifying the `:column_options` option. For example,
382 382
383 383 ```ruby
384 384 create_join_table :products, :categories, column_options: {null: true}

0 comments on commit 122e8dc

Please sign in to comment.
Something went wrong with that request. Please try again.