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

Make active_job-performs an optional dependency #10

Merged
merged 1 commit into from
Nov 4, 2023

Conversation

kaspth
Copy link
Owner

@kaspth kaspth commented Nov 4, 2023

To update and get the same behavior, you must explicitly put active_job-performs in your Gemfile:

gem "active_job-performs"
gem "active_record-associated_object"

Also, I'm wrapping the integrations in a config.after_initialize so gem order in the Gemfile shouldn't matter. E.g. if you put kredis after associated_object we should still be able to connect.

To update and get the same behavior, you must explicitly put `active_job-performs` in your Gemfile:

```ruby
gem "active_job-performs"
gem "active_record-associated_object"
```

Also, I'm wrapping the integrations in a `config.after_initialize` so gem order in the Gemfile shouldn't matter.
E.g. if you put kredis after associated_object we should still be able to connect.
@kaspth kaspth force-pushed the optional-performs-dependency branch from 8595cf5 to 76631ee Compare November 4, 2023 17:08
@kaspth kaspth merged commit 138547e into main Nov 4, 2023
2 checks passed
@kaspth kaspth deleted the optional-performs-dependency branch November 4, 2023 17:09
kaspth added a commit that referenced this pull request Nov 4, 2023
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