aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2013-04-12 00:16:49 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2013-04-12 00:16:49 -0500
commit87735d3a281bcb1eb968855678dce6a0e7d7f677 (patch)
treed70e9f3bbad7a61c1c5bee6be8e5787c0bde8947 /activerecord
parent69a87d5ada9dd07ed95d16c11767c8fb73e81051 (diff)
downloadrails-87735d3a281bcb1eb968855678dce6a0e7d7f677.tar.gz
rails-87735d3a281bcb1eb968855678dce6a0e7d7f677.tar.bz2
rails-87735d3a281bcb1eb968855678dce6a0e7d7f677.zip
minor edit on StatementCache documentation [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/statement_cache.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/statement_cache.rb b/activerecord/lib/active_record/statement_cache.rb
index 731871d643..dd4ee0c4a0 100644
--- a/activerecord/lib/active_record/statement_cache.rb
+++ b/activerecord/lib/active_record/statement_cache.rb
@@ -11,7 +11,7 @@ module ActiveRecord
#
# cache.execute
#
- # The relation returned by +yield+ is cached, and for each +execute+ call the cached relation gets duped.
+ # The relation returned by the block is cached, and for each +execute+ call the cached relation gets duped.
# Database is queried when +to_a+ is called on the relation.
class StatementCache
def initialize