Skip to content

Commit

Permalink
Merge pull request #19170 from JuanitoFatas/doc/active_record/connect…
Browse files Browse the repository at this point in the history
…ion_adapters/abstract/schema_definitions.rb

Clarify that t.references and t.belongs_to are interchangeable. [ci skip]
  • Loading branch information
carlosantoniodasilva committed Mar 2, 2015
2 parents 57d35b2 + 9856baf commit f9ed46b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def timestamps(*args)

# 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.
#
Expand Down

0 comments on commit f9ed46b

Please sign in to comment.