aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJuanito Fatas <katehuang0320@gmail.com>2015-03-02 23:33:55 +0800
committerJuanito Fatas <katehuang0320@gmail.com>2015-03-02 23:33:55 +0800
commit9856baf0d3c119f3c938742afe4b9297bd9633e8 (patch)
treeacfc9ef60caa9b66ee0816471c26e08625b3de5e /activerecord
parent2675a57fc3071c49ba8276c50f29dde3d427bc7f (diff)
downloadrails-9856baf0d3c119f3c938742afe4b9297bd9633e8.tar.gz
rails-9856baf0d3c119f3c938742afe4b9297bd9633e8.tar.bz2
rails-9856baf0d3c119f3c938742afe4b9297bd9633e8.zip
Clarify that t.references and t.belongs_to are interchangeable. [ci skip]
Diffstat (limited to 'activerecord')
-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.
#