undefined method unique' on calling
Rails.application.eager_load!` in rails initializer of other gem
#3
Labels
bug
Something isn't working
Calling of
Rails.application.eager_load!
in an Rails initializer (/config/initializers/foobar.rb
) raises errorThe Railtie initializer of ActiveJob::Uniqueness runs later. Therefore the ActiveJob::Uniqueness::Patch is not applied yet.
There is no benefits to have 'active_job_uniqueness.patch_active_job' Railitie initializer. Switching to plain AS callback would resolve the problem
The text was updated successfully, but these errors were encountered: