aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorGannon McGibbon <gannon.mcgibbon@gmail.com>2018-09-27 13:22:18 -0400
committerGitHub <noreply@github.com>2018-09-27 13:22:18 -0400
commit96712e3f0ed6b82a1bb7e5689aea6f561161f95b (patch)
tree0ffc8f681b4366c5c3af857c5f52daa2bc3976e1 /activerecord
parent8e123847e8ba0a59aafa708950a4887a669311b4 (diff)
parentd58c77dafa11b185ad11425fefa595ed419b22de (diff)
downloadrails-96712e3f0ed6b82a1bb7e5689aea6f561161f95b.tar.gz
rails-96712e3f0ed6b82a1bb7e5689aea6f561161f95b.tar.bz2
rails-96712e3f0ed6b82a1bb7e5689aea6f561161f95b.zip
Merge pull request #33986 from matt17r/patch-1
Add missing rdoc +code+ tags [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/associations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index b1778732dd..ab1e7ad269 100644
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -1582,7 +1582,7 @@ module ActiveRecord
# association will use "taggable_type" as the default <tt>:foreign_type</tt>.
# [:primary_key]
# Specify the method that returns the primary key of associated object used for the association.
- # By default this is id.
+ # By default this is +id+.
# [:dependent]
# If set to <tt>:destroy</tt>, the associated object is destroyed when this object is. If set to
# <tt>:delete</tt>, the associated object is deleted *without* calling its destroy method.