Skip to content

Rails 8.2 deprecates ActiveSupport::Configurable which is used by Avo #4111

@gee-forr

Description

@gee-forr

Describe the bug

Technically not a bug, but deprecation warning. Rails 8.1 has started issuing deprecation warnings for usage of ActiveSupport::Configurable. It is being deprecated with no replacement.

Avo 3 uses ActiveSupport::Configurable as part of its media library configuration

Repro steps

  • Use Rails 8.1
  • Use Avo
  • Run a rails command, e.g. rails routes
  • See deprecation warning:
DEPRECATION WARNING: ActiveSupport::Configurable is deprecated without replacement, and will be removed in Rails 8.2.

You can emulate the previous behavior with `class_attribute`.

System configuration

Avo version: 3.52.x

Rails version: 8.1.0

Ruby version: 3.4.7

Urgency

  • Low urgency (It can wait. I just wanted you to know about it.)

(EDIT: Looks like Marksmith uses ActiveSupport::Configurable too... marksmith-0.4.7/lib/marksmith/configuration.rb

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions