aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2016-09-20 16:27:19 +0000
committerVijay Dev <vijaydev.cse@gmail.com>2016-09-20 16:27:19 +0000
commit67313650eb07bc7d99fb4fa3a339fb6c3a142f51 (patch)
treedf62b6aba4fa30c02e69e80aede7b807a9b7e676 /activerecord
parent52a0ee4695c22f86b1e46a23b7b377846aea0994 (diff)
parent2e0f20b8ad61f1daf924e271d7749b44d7be1cf6 (diff)
downloadrails-67313650eb07bc7d99fb4fa3a339fb6c3a142f51.tar.gz
rails-67313650eb07bc7d99fb4fa3a339fb6c3a142f51.tar.bz2
rails-67313650eb07bc7d99fb4fa3a339fb6c3a142f51.zip
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/statement_cache.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/statement_cache.rb b/activerecord/lib/active_record/statement_cache.rb
index d19bb96ede..691940ab70 100644
--- a/activerecord/lib/active_record/statement_cache.rb
+++ b/activerecord/lib/active_record/statement_cache.rb
@@ -7,12 +7,12 @@ module ActiveRecord
# end
#
# The cached statement is executed by using the
- # [connection.execute]{rdoc-ref:ConnectionAdapters::DatabaseStatements#execute} method:
+ # {connection.execute}[rdoc-ref:ConnectionAdapters::DatabaseStatements#execute] method:
#
# cache.execute([], Book, Book.connection)
#
# The relation returned by the block is cached, and for each
- # [execute]{rdoc-ref:ConnectionAdapters::DatabaseStatements#execute}
+ # {execute}[rdoc-ref:ConnectionAdapters::DatabaseStatements#execute]
# call the cached relation gets duped. Database is queried when +to_a+ is called on the relation.
#
# If you want to cache the statement without the values you can use the +bind+ method of the