collectiveidea / audited

Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
MIT License
3.34k stars 645 forks source link

Rails 7.1.beta.1 - DEPRECATION WARNING: Module.deprecate without a deprecator is deprecated #685

Closed zealot128 closed 9 months ago

zealot128 commented 9 months ago

On https://github.com/collectiveidea/audited/blob/main/lib/audited.rb#L25

Like on devise, one needs to introduce a "Deprecator" base class to call the deprecations on. Or just remove the deprecated and audited_model method and cut a new minor/major release might be an alternative, too.

danielmorrison commented 9 months ago

Merged. Will be released in 5.4.0 shortly.