aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2015-03-02 12:53:57 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2015-03-02 12:53:57 -0300
commitf9ed46bf5071545cce629cc6164029906cb2eb36 (patch)
treecee053475793b1d88eeaa0d0112e7418e1a4bd77 /activerecord/lib/active_record
parent57d35b2bf9e48173a5f97ccff5e6897f0c46411f (diff)
parent9856baf0d3c119f3c938742afe4b9297bd9633e8 (diff)
downloadrails-f9ed46bf5071545cce629cc6164029906cb2eb36.tar.gz
rails-f9ed46bf5071545cce629cc6164029906cb2eb36.tar.bz2
rails-f9ed46bf5071545cce629cc6164029906cb2eb36.zip
Merge pull request #19170 from JuanitoFatas/doc/active_record/connection_adapters/abstract/schema_definitions.rb
Clarify that t.references and t.belongs_to are interchangeable. [ci skip]
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb2
1 files changed, 1 insertions, 1 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 0acc815d51..8231f44b4e 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
@@ -401,7 +401,7 @@ module ActiveRecord
# Adds a reference. Optionally adds a +type+ column, if the
# +:polymorphic+ option is provided. +references+ and +belongs_to+
- # are acceptable. The reference column will be an +integer+ by default,
+ # are interchangeable. The reference column will be an +integer+ by default,
# the +:type+ option can be used to specify a different type. A foreign
# key will be created if the +:foreign_key+ option is passed.
#