Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
acts_as_tenant-delayed_job
Advanced tools
Delayed Job support for ActsAsTenant gem
bundle add acts_as_tenant-delayed_job
Without this gem, DelayedJob would raise
Job ActiveJob::QueueAdapters::DelayedJobAdapter::JobWrapper (id=2) (queue=default) RUNNING
[Worker(host:Waqass-MBP.cust.communityfibre.co.uk pid:6058)] Job ActiveJob::QueueAdapters::DelayedJobAdapter::JobWrapper (id=2) (queue=default) FAILED (2 prior attempts) with ActsAsTenant::Errors::NoTenantSet: ActsAsTenant::Errors::NoTenantSet
This gem allows for a worker to run a job in the scope of the tenant that enqueued it. To do so, use the ActiveJob notation like
MyMailer.notification(user).deliver_later
The other notation is not supported:
MyMailer.delay.notification(user)
bundle exec rspec
bundle exec standardrb
to standardize code formattingacts_as_tenant-delayed_job is written by Nuno Costa.
This gem was extracted from https://github.com/ErwinM/acts_as_tenant/pull/316
Copyright (c) 2023 Nuno Costa, released under the MIT license
FAQs
Unknown package
We found that acts_as_tenant-delayed_job demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.