diff options
author | Xavier Noria <fxn@hashref.com> | 2011-12-02 11:29:35 -0800 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-12-02 11:29:35 -0800 |
commit | 15dab0d2f5acdfffca48d62b1f41c62c51dc74f0 (patch) | |
tree | 83a726936b8ea5e0dc05e955cc20f6b82a5b1be3 | |
parent | 0be5adaedf6565630bed04c6c651f3ff8d77c5b8 (diff) | |
download | rails-15dab0d2f5acdfffca48d62b1f41c62c51dc74f0.tar.gz rails-15dab0d2f5acdfffca48d62b1f41c62c51dc74f0.tar.bz2 rails-15dab0d2f5acdfffca48d62b1f41c62c51dc74f0.zip |
two small details from the previous patch
-rw-r--r-- | activerecord/lib/active_record/explain.rb | 2 | ||||
-rw-r--r-- | railties/guides/source/active_record_querying.textile | 2 |
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> |