Skip to content

Conversation

@italomatos
Copy link

@italomatos italomatos commented Nov 19, 2025

Remove custom ConfigSingleton implementation that was causing ActiveSupport::Configurable deprecation warnings in Rails 8.2+.

Changes:

  • Remove ConfigSingleton base class and its metaprogramming
  • Implement config_accessor using direct instance variable access
  • Convert config_group pattern to explicit nested classes
  • Maintain all existing validators and validation logic
  • Preserve public API compatibility
  • Update method syntax from blocks to keyword arguments

All configuration behavior remains the same, but without relying on deprecated ActiveSupport::Configurable patterns.

Remove custom ConfigSingleton implementation that was causing
ActiveSupport::Configurable deprecation warnings in Rails 8.2+.

Changes:
- Remove ConfigSingleton base class and its metaprogramming
- Implement config_accessor using direct instance variable access
- Convert config_group pattern to explicit nested classes
- Maintain all existing validators and validation logic
- Preserve public API compatibility
- Update method syntax from blocks to keyword arguments

All configuration behavior remains the same, but without relying
on deprecated ActiveSupport::Configurable patterns.
@italomatos italomatos force-pushed the fix/remove-activesupport-configurable-deprecation branch from 8af48b2 to 5b1fc43 Compare November 19, 2025 16:11
@italomatos italomatos closed this Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant