aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/explain.rb
diff options
context:
space:
mode:
authorMark Rushakoff <mark.rushakoff@gmail.com>2012-04-27 21:33:56 -0700
committerMark Rushakoff <mark.rushakoff@gmail.com>2012-04-27 21:33:56 -0700
commitc13d36c95fcc0d327dff7af36ae07afaf3ce603c (patch)
treef5f814ff86e007c8c2419e7c88de7a3b14809651 /activerecord/lib/active_record/explain.rb
parent43af34c0f6c81d4d93be1bc1e743c202e8244485 (diff)
downloadrails-c13d36c95fcc0d327dff7af36ae07afaf3ce603c.tar.gz
rails-c13d36c95fcc0d327dff7af36ae07afaf3ce603c.tar.bz2
rails-c13d36c95fcc0d327dff7af36ae07afaf3ce603c.zip
More using <tt>x</tt> instead of +x+ when the latter renders improperly.
Diffstat (limited to 'activerecord/lib/active_record/explain.rb')
-rw-r--r--activerecord/lib/active_record/explain.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/explain.rb b/activerecord/lib/active_record/explain.rb
index 01cacf6153..313fdb3487 100644
--- a/activerecord/lib/active_record/explain.rb
+++ b/activerecord/lib/active_record/explain.rb
@@ -70,7 +70,7 @@ module ActiveRecord
# the threshold is set to 0.
#
# As the name of the method suggests this only applies to automatic
- # EXPLAINs, manual calls to +ActiveRecord::Relation#explain+ run.
+ # EXPLAINs, manual calls to <tt>ActiveRecord::Relation#explain</tt> run.
def silence_auto_explain
current = Thread.current
original, current[:available_queries_for_explain] = current[:available_queries_for_explain], false