Skip to content
Browse files

two small details from the previous patch

  • Loading branch information...
1 parent 0be5ada commit 15dab0d2f5acdfffca48d62b1f41c62c51dc74f0 @fxn fxn committed Dec 2, 2011
View
2 activerecord/lib/active_record/explain.rb
@@ -85,7 +85,7 @@ def exec_explain(sqls, binds) # :nodoc:
# 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 +ActiveRecord::Relation#explain+ run.
def silence_auto_explain
# Implemented as a flag rather that setting the threshold to nil
# because we should not depend on a value that may be changed
View
2 railties/guides/source/active_record_querying.textile
@@ -1396,7 +1396,7 @@ is a class and instance method of +ActiveRecord::Base+:
<ruby>
silence_auto_explain do
- # no automatic EXPLAIN is triggered here
+ # no automatic EXPLAIN is triggered here
end
</ruby>

0 comments on commit 15dab0d

Please sign in to comment.
Something went wrong with that request. Please try again.