aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/transactions.rb
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-05-12 21:18:55 +0900
committeryui-knk <spiketeika@gmail.com>2015-05-12 21:18:55 +0900
commitb18f0436e74fb79d3f926c63e2f90cd2d1589935 (patch)
treea98fbb794d9fc0e3ba8a8ae2784604500bc06e7c /activerecord/lib/active_record/transactions.rb
parent9c290fbe7f64e686416b7ca8590b680cf14e6357 (diff)
downloadrails-b18f0436e74fb79d3f926c63e2f90cd2d1589935.tar.gz
rails-b18f0436e74fb79d3f926c63e2f90cd2d1589935.tar.bz2
rails-b18f0436e74fb79d3f926c63e2f90cd2d1589935.zip
[ci skip] Fix comment indent
See commit 890da514, this is not intended. So fix indent.
Diffstat (limited to 'activerecord/lib/active_record/transactions.rb')
-rw-r--r--activerecord/lib/active_record/transactions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb
index 311dacb449..f954e4797c 100644
--- a/activerecord/lib/active_record/transactions.rb
+++ b/activerecord/lib/active_record/transactions.rb
@@ -196,7 +196,7 @@ module ActiveRecord
# automatically released. The following example demonstrates the problem:
#
# Model.connection.transaction do # BEGIN
- # Model.connection.transaction(requires_new: true) do # CREATE SAVEPOINT active_record_1
+ # Model.connection.transaction(requires_new: true) do # CREATE SAVEPOINT active_record_1
# Model.connection.create_table(...) # active_record_1 now automatically released
# end # RELEASE savepoint active_record_1
# # ^^^^ BOOM! database error!