diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-07-20 08:38:12 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-07-20 08:38:12 -0600 |
commit | c4c55774aafd2b0ff244c11a7e2db53f6b85eb78 (patch) | |
tree | 6920af03b86418a1fef36a83d2d7daf18cc824df | |
parent | fd9c952f1457cdc287da7fe95546086a5c04d544 (diff) | |
parent | cc54f6be15d412b4fcb2a99d7bdf9244d756ce3e (diff) | |
download | rails-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.rb | 3 |
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 |