aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-07-20 08:38:12 -0600
committerSean Griffin <sean@seantheprogrammer.com>2015-07-20 08:38:12 -0600
commitc4c55774aafd2b0ff244c11a7e2db53f6b85eb78 (patch)
tree6920af03b86418a1fef36a83d2d7daf18cc824df
parentfd9c952f1457cdc287da7fe95546086a5c04d544 (diff)
parentcc54f6be15d412b4fcb2a99d7bdf9244d756ce3e (diff)
downloadrails-c4c55774aafd2b0ff244c11a7e2db53f6b85eb78.tar.gz
rails-c4c55774aafd2b0ff244c11a7e2db53f6b85eb78.tar.bz2
rails-c4c55774aafd2b0ff244c11a7e2db53f6b85eb78.zip
Merge pull request #20950 from vngrs/fix_wrong_doc_about_transaction
fix doc about ActiveRecord::Transactions::ClassMethods#transaction [ci skip]
-rw-r--r--activerecord/lib/active_record/transactions.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb
index 3131723828..267ac26c79 100644
--- a/activerecord/lib/active_record/transactions.rb
+++ b/activerecord/lib/active_record/transactions.rb
@@ -204,9 +204,8 @@ module ActiveRecord
#
# Note that "TRUNCATE" is also a MySQL DDL statement!
module ClassMethods
- # See ActiveRecord::Transactions::ClassMethods for detailed documentation.
+ # See the ConnectionAdapters::DatabaseStatements#transaction API docs.
def transaction(options = {}, &block)
- # See the ConnectionAdapters::DatabaseStatements#transaction API docs.
connection.transaction(options, &block)
end