aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/collection_association.rb
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2014-11-20 14:54:22 -0800
committerclaudiob <claudiob@gmail.com>2014-11-20 15:45:15 -0800
commit5aedabe82d3a9d7df19007aa0fd7719d4a55ef7e (patch)
tree52fcd692acad849a460663be37b7d654ba9328ba /activerecord/lib/active_record/associations/collection_association.rb
parentee80e22f03b36f5e2c35288226c66a44e2e722e2 (diff)
downloadrails-5aedabe82d3a9d7df19007aa0fd7719d4a55ef7e.tar.gz
rails-5aedabe82d3a9d7df19007aa0fd7719d4a55ef7e.tar.bz2
rails-5aedabe82d3a9d7df19007aa0fd7719d4a55ef7e.zip
Wrap code snippets in +, not backticks, in sdoc
I grepped the source code for code snippets wrapped in backticks in the comments and replaced the backticks with plus signs so they are correctly displayed in the Rails documentation. [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/associations/collection_association.rb')
-rw-r--r--activerecord/lib/active_record/associations/collection_association.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/associations/collection_association.rb b/activerecord/lib/active_record/associations/collection_association.rb
index 93f611dd8d..d59cebb08b 100644
--- a/activerecord/lib/active_record/associations/collection_association.rb
+++ b/activerecord/lib/active_record/associations/collection_association.rb
@@ -175,8 +175,8 @@ module ActiveRecord
end
# Removes all records from the association without calling callbacks
- # on the associated records. It honors the `:dependent` option. However
- # if the `:dependent` value is `:destroy` then in that case the `:delete_all`
+ # on the associated records. It honors the +:dependent+ option. However
+ # if the +:dependent+ value is +:destroy+ then in that case the +:delete_all+
# deletion strategy for the association is applied.
#
# You can force a particular deletion strategy by passing a parameter.