mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixes documentation typo.
Documentation had extra colon after keyword.
This commit is contained in:
parent
d517239d0c
commit
a20965287c
1 changed files with 2 additions and 2 deletions
|
@ -761,9 +761,9 @@ module ActiveRecord
|
|||
# [<tt>:name</tt>]
|
||||
# The constraint name. Defaults to <tt>fk_rails_<identifier></tt>.
|
||||
# [<tt>:on_delete</tt>]
|
||||
# Action that happens <tt>ON DELETE</tt>. Valid values are +:nullify+, +:cascade:+ and +:restrict+
|
||||
# Action that happens <tt>ON DELETE</tt>. Valid values are +:nullify+, +:cascade+ and +:restrict+
|
||||
# [<tt>:on_update</tt>]
|
||||
# Action that happens <tt>ON UPDATE</tt>. Valid values are +:nullify+, +:cascade:+ and +:restrict+
|
||||
# Action that happens <tt>ON UPDATE</tt>. Valid values are +:nullify+, +:cascade+ and +:restrict+
|
||||
def add_foreign_key(from_table, to_table, options = {})
|
||||
return unless supports_foreign_keys?
|
||||
|
||||
|
|
Loading…
Reference in a new issue