diff options
author | Дмитро Будник <dmitriy.budnik@gmail.com> | 2015-07-23 11:41:51 +0300 |
---|---|---|
committer | Дмитро Будник <dmitriy.budnik@gmail.com> | 2015-07-23 11:41:51 +0300 |
commit | a20965287caa59dae7360b74086c27ae945f94c5 (patch) | |
tree | 351401627b157a1598be9865a10652cc6e76c56d | |
parent | d517239d0c9cdb84a7ff3f90cebb1213d0e0b939 (diff) | |
download | rails-a20965287caa59dae7360b74086c27ae945f94c5.tar.gz rails-a20965287caa59dae7360b74086c27ae945f94c5.tar.bz2 rails-a20965287caa59dae7360b74086c27ae945f94c5.zip |
Fixes documentation typo.
Documentation had extra colon after keyword.
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index e3115abe66..a30945d0ee 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -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? |