Skip to content

Replace ActiveSupport::Configurable with class_attribute - #199

Merged
junk0612 merged 1 commit into
esminc:masterfrom
issei-m:replace-as-configurable-with-class-attribute
Apr 14, 2026
Merged

junk0612 merged 1 commit into
esminc:masterfrom
issei-m:replace-as-configurable-with-class-attribute

Conversation

@issei-m

@issei-m issei-m commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

ActiveSupport::Configurable is deprecated in Rails 8.1 and will be removed in Rails 8.2. Migrate to class_attribute as recommended by the deprecation notice. Update callablize to use send(name) instead of config[name] since the OrderedOptions object is no longer present.

@issei-m
issei-m force-pushed the replace-as-configurable-with-class-attribute branch from 13222c6 to 2d15785 Compare April 6, 2026 11:02
@junk0612

junk0612 commented Apr 9, 2026

Copy link
Copy Markdown
Member

Since CI is now working on GitHub Actions in #202, could you rebase this branch?

@issei-m
issei-m force-pushed the replace-as-configurable-with-class-attribute branch 2 times, most recently from df6bd16 to 0b6fbf7 Compare April 9, 2026 16:20
@issei-m

issei-m commented Apr 9, 2026

Copy link
Copy Markdown
Contributor Author

@junk0612 Thanks for your hard work! Also finished rebasing and passing all CI tasks.

Comment thread lib/adhoq/configuration.rb Resolved
@issei-m
issei-m requested a review from junk0612 April 13, 2026 12:36
@koic

koic commented Apr 14, 2026

Copy link
Copy Markdown
Member

@issei-m Can you squash your commits into one?

ActiveSupport::Configurable is deprecated in Rails 8.1 and will be
removed in Rails 8.2. Migrate to class_attribute as recommended by
the deprecation notice.

Update callablize to use send(name) instead of config[name] since
the OrderedOptions object is no longer present.


Co-authored-by: Junichi Kobayashi <nnujabok@gmail.com>
@issei-m
issei-m force-pushed the replace-as-configurable-with-class-attribute branch from 91e1c41 to c9f5995 Compare April 14, 2026 04:07
@issei-m

issei-m commented Apr 14, 2026

Copy link
Copy Markdown
Contributor Author

@koic Done.

@junk0612 junk0612 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is failing, but this looks like it’s just due to a flaky test.

@junk0612

Copy link
Copy Markdown
Member

Thank you for your works!

@junk0612
junk0612 merged commit 213b553 into esminc:master Apr 14, 2026
42 of 44 checks passed
@issei-m
issei-m deleted the replace-as-configurable-with-class-attribute branch April 14, 2026 04:20
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.

3 participants