From 122e8dc1e9fab32f56e13902fb2a2c509716acfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Mar=C4=8Deti=C4=87?= Date: Mon, 27 May 2013 03:31:13 +0200 Subject: Correct the assertion that join table columns have no options, mind context. --- guides/source/migrations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guides/source/migrations.md') 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} -- cgit v1.2.3