1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add a changelog entry for the exception changes in adapters

This commit is contained in:
Jean Boussier 2020-09-10 12:20:08 +02:00
parent 740cdc8414
commit 1269ab776d

View file

@ -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*