Bring back `Devise.activerecord51? and deprecate it

Even though this is considered an internal / non-public / nodoc method,
it seems some libraries relied on it internally, causing some breakage.

Known libraries so far are `devise-security` and
`devise-pwned_password`.

Closes #5580
This commit is contained in:
Carlos Antonio da Silva
2023-04-03 09:18:34 -03:00
parent 3926e6d9eb
commit 4f849f4fa9
3 changed files with 14 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
### Unreleased
* deprecations
* Bring back `Devise.activerecord51?` and deprecate it, in order to avoid breakage with some libraries that apparently relied on it.
### 4.9.1 - 2023-03-31