Skip to content

Commit

Permalink
[ci skip] Remove outdate note of :dependent
Browse files Browse the repository at this point in the history
  • Loading branch information
aar0nTw committed Nov 27, 2014
1 parent 30aa3d4 commit 263e9e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions guides/source/association_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -1532,8 +1532,6 @@ Controls what happens to the associated objects when their owner is destroyed:
* `:restrict_with_exception` causes an exception to be raised if there are any associated records
* `:restrict_with_error` causes an error to be added to the owner if there are any associated objects

NOTE: This option is ignored when you use the `:through` option on the association.

##### `:foreign_key`

By convention, Rails assumes that the column used to hold the foreign key on the other model is the name of this model with the suffix `_id` added. The `:foreign_key` option lets you set the name of the foreign key directly:
Expand Down

0 comments on commit 263e9e4

Please sign in to comment.