aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/lib/active_record/explain.rb2
-rw-r--r--railties/guides/source/active_record_querying.textile2
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/explain.rb b/activerecord/lib/active_record/explain.rb
index 90aa89a6b5..1a4bf0bce2 100644
--- a/activerecord/lib/active_record/explain.rb
+++ b/activerecord/lib/active_record/explain.rb
@@ -85,7 +85,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 +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
diff --git a/railties/guides/source/active_record_querying.textile b/railties/guides/source/active_record_querying.textile
index 0ccaffe45e..2f9caf1581 100644
--- a/railties/guides/source/active_record_querying.textile
+++ b/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>