Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GoodJob.configure_active_record as alternative to GoodJob.active_record_parent_class #1004

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

bensheldon
Copy link
Owner

@bensheldon bensheldon commented Jul 10, 2023

I wanted to introduce an alternative to GoodJob.active_record_parent_class that was slightly more supported than asking the developer to include the behavior in their own to_prepare initializer.

I was initially going to deprecate it in this PR, but figured I'd offer them both for now as I think Sorbet tolerates the current logic.

Connects to #1000

@bensheldon bensheldon force-pushed the deprecate-active_record_parent_class branch from cdd01bb to 5e09081 Compare July 10, 2023 03:09
@bensheldon bensheldon added the enhancement New feature or request label Jul 10, 2023
@bensheldon bensheldon merged commit 60f1a3e into main Jul 10, 2023
@bensheldon bensheldon deleted the deprecate-active_record_parent_class branch July 10, 2023 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

1 participant