aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
diff options
context:
space:
mode:
authorMatthew LS <matt17r@users.noreply.github.com>2018-09-26 12:15:18 +1000
committerGitHub <noreply@github.com>2018-09-26 12:15:18 +1000
commitd58c77dafa11b185ad11425fefa595ed419b22de (patch)
treed422ed28579f66b491ea24bebf2c9bdaee8c83f5 /activerecord/lib/active_record/associations.rb
parentb658743ac2a69d196d283e780816f5ad4a305753 (diff)
downloadrails-d58c77dafa11b185ad11425fefa595ed419b22de.tar.gz
rails-d58c77dafa11b185ad11425fefa595ed419b22de.tar.bz2
rails-d58c77dafa11b185ad11425fefa595ed419b22de.zip
Add missing rdoc +code+ tags
Diffstat (limited to 'activerecord/lib/active_record/associations.rb')
-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.