Skip to content

Commit

Permalink
Merge pull request #20950 from vngrs/fix_wrong_doc_about_transaction
Browse files Browse the repository at this point in the history
fix doc about ActiveRecord::Transactions::ClassMethods#transaction [ci skip]
  • Loading branch information
sgrif committed Jul 20, 2015
2 parents fd9c952 + cc54f6b commit c4c5577
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions activerecord/lib/active_record/transactions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,8 @@ module Transactions
#
# 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

Expand Down

0 comments on commit c4c5577

Please sign in to comment.