diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-01-15 21:15:25 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-01-15 21:15:26 -0200 |
commit | f2f723bca931c368bf9391b46c57ffd98c6b4fa5 (patch) | |
tree | 6c83923da324485e21401f3dacf6c57366aefcd9 /activerecord | |
parent | 885f3ae39020e95febfa402f7206f3d69fb29137 (diff) | |
download | rails-f2f723bca931c368bf9391b46c57ffd98c6b4fa5.tar.gz rails-f2f723bca931c368bf9391b46c57ffd98c6b4fa5.tar.bz2 rails-f2f723bca931c368bf9391b46c57ffd98c6b4fa5.zip |
Get rid of unused TransactionError constant
This has been added 9 years ago in
a677da209b16f43198b3485dda89dce862fb9bfb, and removed 6 years ago in
38f8252e2d0a109d1b833d6b289cd989e7bfffe4.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/transactions.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb index 5423e689b9..3f6f4748c6 100644 --- a/activerecord/lib/active_record/transactions.rb +++ b/activerecord/lib/active_record/transactions.rb @@ -6,9 +6,6 @@ module ActiveRecord extend ActiveSupport::Concern ACTIONS = [:create, :destroy, :update] - class TransactionError < ActiveRecordError # :nodoc: - end - included do define_callbacks :commit, :rollback, terminator: ->(_, result) { result == false }, |