diff options
author | Mehmet Emin İNAÇ <mehmetemininac@gmail.com> | 2015-07-20 11:11:24 +0300 |
---|---|---|
committer | Mehmet Emin İNAÇ <mehmetemininac@gmail.com> | 2015-07-20 11:11:24 +0300 |
commit | cc54f6be15d412b4fcb2a99d7bdf9244d756ce3e (patch) | |
tree | 5f77e2a1f95a91a87e91ecb6f36cd89266b6da91 | |
parent | 6ffec3c16c0ee0b0ab4643907af1f2ed80a71a9a (diff) | |
download | rails-cc54f6be15d412b4fcb2a99d7bdf9244d756ce3e.tar.gz rails-cc54f6be15d412b4fcb2a99d7bdf9244d756ce3e.tar.bz2 rails-cc54f6be15d412b4fcb2a99d7bdf9244d756ce3e.zip |
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 |