diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-05-15 05:07:23 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-05-15 05:07:23 +0900 |
commit | 268dd6966ddc6f66bf09fb96046bd435e0515b6e (patch) | |
tree | 41ce7379e7c26d8281ebc5d61de2d4f95174b153 /activerecord | |
parent | ff083eea0b4e1d273e8309f0257337dbc8615fc8 (diff) | |
download | rails-268dd6966ddc6f66bf09fb96046bd435e0515b6e.tar.gz rails-268dd6966ddc6f66bf09fb96046bd435e0515b6e.tar.bz2 rails-268dd6966ddc6f66bf09fb96046bd435e0515b6e.zip |
Remove :nodoc: from the methods which is added the doc [ci skip]
Follow up of #19171 and #26825.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb index 9a8afcff39..5f090d16cd 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb @@ -664,19 +664,19 @@ module ActiveRecord # Adds a foreign key. # - # t.foreign_key(:authors) + # t.foreign_key(:authors) # # See {connection.add_foreign_key}[rdoc-ref:SchemaStatements#add_foreign_key] - def foreign_key(*args) # :nodoc: + def foreign_key(*args) @base.add_foreign_key(name, *args) end # Checks to see if a foreign key exists. # - # t.foreign_key(:authors) unless t.foreign_key_exists?(:authors) + # t.foreign_key(:authors) unless t.foreign_key_exists?(:authors) # # See {connection.foreign_key_exists?}[rdoc-ref:SchemaStatements#foreign_key_exists?] - def foreign_key_exists?(*args) # :nodoc: + def foreign_key_exists?(*args) @base.foreign_key_exists?(name, *args) end end |