aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/callbacks.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-08-12 16:17:04 +0200
committerYves Senn <yves.senn@gmail.com>2015-08-12 16:17:04 +0200
commit60f7e0ca11d7fd33756ad36881eb947e0eb4d149 (patch)
tree7671cdb4c52e74d9dc94110241840b11fe54e344 /activerecord/lib/active_record/callbacks.rb
parent9dbccf02c5ab5dcda2ff11eb9f840a5964dc9637 (diff)
downloadrails-60f7e0ca11d7fd33756ad36881eb947e0eb4d149.tar.gz
rails-60f7e0ca11d7fd33756ad36881eb947e0eb4d149.tar.bz2
rails-60f7e0ca11d7fd33756ad36881eb947e0eb4d149.zip
docs, tiny rdoc markup fix. [ci skip]
`+` doesn't work around content with spaces fallback `<tt>`.
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
-rw-r--r--activerecord/lib/active_record/callbacks.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/callbacks.rb b/activerecord/lib/active_record/callbacks.rb
index c7c769b283..ccdbebbc77 100644
--- a/activerecord/lib/active_record/callbacks.rb
+++ b/activerecord/lib/active_record/callbacks.rb
@@ -206,7 +206,8 @@ module ActiveRecord
# == Ordering callbacks
#
# Sometimes the code needs that the callbacks execute in a specific order. For example, a +before_destroy+
- # callback (+log_children+ in this case) should be executed before the children get destroyed by the +dependent: destroy+ option.
+ # callback (+log_children+ in this case) should be executed before the children get destroyed by the
+ # <tt>dependent: destroy</tt> option.
#
# Let's look at the code below:
#