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

Added integration instructions with Delayed::Job. #436

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open

Added integration instructions with Delayed::Job. #436

wants to merge 1 commit into from

Conversation

aldrinmartoq
Copy link

Hey guys, I couldn't create a Wiki page so I upgraded the README. I'm sure this will help a lot of people, so please merge it ;-)

Cheers,

@mikecmpbll
Copy link
Collaborator

hi @aldrinmartoq, thanks for the PR!

in the before hook is it possible to append to the jobs arguments? would be preferable to store the tenant in the serialized job rather than requiring a migration; that's how the activejob/sidekiq integration works.

@aldrinmartoq
Copy link
Author

Ok @mikecmpbll, I need to learn and check if it is posible.

In my use case, it's better to add the tenant as a column because a simple query can show each tenant jobs.

@xcymax
Copy link

xcymax commented Aug 25, 2017

This solution was perfect for my situation where we were already using delayed_job for a single application.

Just wanted to note that you should mention adding the Delayed::Job as an excluded model into apartment.rb configuration.

@mikecmpbll mikecmpbll self-assigned this Dec 12, 2017
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.

None yet

3 participants