aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/transactions.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-03-23 03:58:19 +1030
committerGitHub <noreply@github.com>2017-03-23 03:58:19 +1030
commit911f44f72048708b83e75da067b2d292c8692106 (patch)
tree8080596d17475ed87688e7a48b76f194205d133f /activerecord/lib/active_record/transactions.rb
parent22deb92216d83f64fa8e948abe305309b327b33a (diff)
parentf28a331023fab241f694c53802b45fb2d66c2c4f (diff)
downloadrails-911f44f72048708b83e75da067b2d292c8692106.tar.gz
rails-911f44f72048708b83e75da067b2d292c8692106.tar.bz2
rails-911f44f72048708b83e75da067b2d292c8692106.zip
Merge pull request #28522 from larskanis/replace-deprecated-pg-constants
[PostgreSQL] Replace deprecated PG constants.
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 690deee508..45795fa287 100644
--- a/activerecord/lib/active_record/transactions.rb
+++ b/activerecord/lib/active_record/transactions.rb
@@ -123,7 +123,7 @@ module ActiveRecord
# # statement will cause a PostgreSQL error, even though the unique
# # constraint is no longer violated:
# Number.create(i: 1)
- # # => "PGError: ERROR: current transaction is aborted, commands
+ # # => "PG::Error: ERROR: current transaction is aborted, commands
# # ignored until end of transaction block"
# end
#