From 1269ab776dd8906aaf9f168937fda1fdf584177a Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Thu, 10 Sep 2020 12:20:08 +0200 Subject: [PATCH] Add a changelog entry for the exception changes in adapters --- activerecord/CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index c404ce7b6d..94729c9db5 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,13 @@ +* All connection adapters `execute` now raises `ActiveRecord::ConnectionNotEstablished` rather than + `ActiveRecord::InvalidStatement` when they encounter a connection error. + + *Jean Boussier* + +* `Mysql2Adapter#quote_string` now raises `ActiveRecord::ConnectionNotEstablished` rather than + `ActiveRecord::InvalidStatement` when it can't connect to the MySQL server. + + *Jean Boussier* + * Add support for check constraints that are `NOT VALID` via `validate: false` (PostgreSQL-only). *Alex Robbin*