From a20965287caa59dae7360b74086c27ae945f94c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=BE=20=D0=91=D1=83=D0=B4?= =?UTF-8?q?=D0=BD=D0=B8=D0=BA?= Date: Thu, 23 Jul 2015 11:41:51 +0300 Subject: Fixes documentation typo. Documentation had extra colon after keyword. --- .../active_record/connection_adapters/abstract/schema_statements.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord') 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 # [:name] # The constraint name. Defaults to fk_rails_. # [:on_delete] - # Action that happens ON DELETE. Valid values are +:nullify+, +:cascade:+ and +:restrict+ + # Action that happens ON DELETE. Valid values are +:nullify+, +:cascade+ and +:restrict+ # [:on_update] - # Action that happens ON UPDATE. Valid values are +:nullify+, +:cascade:+ and +:restrict+ + # Action that happens ON UPDATE. Valid values are +:nullify+, +:cascade+ and +:restrict+ def add_foreign_key(from_table, to_table, options = {}) return unless supports_foreign_keys? -- cgit v1.2.3