aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-09-14 11:13:43 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-09-14 11:13:43 +0530
commit2e0f20b8ad61f1daf924e271d7749b44d7be1cf6 (patch)
tree22e33ce3a6e56def59950b735f78b32b2c982d40
parentf838c213beffd20a3f100fcbe18b8ec4f0fa7120 (diff)
downloadrails-2e0f20b8ad61f1daf924e271d7749b44d7be1cf6.tar.gz
rails-2e0f20b8ad61f1daf924e271d7749b44d7be1cf6.tar.bz2
rails-2e0f20b8ad61f1daf924e271d7749b44d7be1cf6.zip
[ci skip] Fix wrong rdoc-ref links, the format is {}[] not []{}
-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