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

Rails 6 support #109

Open
tobiasgr opened this issue Dec 17, 2020 · 1 comment
Open

Rails 6 support #109

tobiasgr opened this issue Dec 17, 2020 · 1 comment

Comments

@tobiasgr
Copy link

Hi

When upgrading to rails 6.0, I keep getting this error:

NoMethodError: undefined method `scaler=' for #<Class:0x00007f848d5c3c80>
17:06:48 worker.1    | /Users/username/.rvm/gems/ruby-2.6.6/gems/activerecord-6.0.3.4/lib/active_record/dynamic_matchers.rb:22:in `method_missing'

I am using this in development.rb, which cause the error:

config.after_initialize do
    Delayed::Job.scaler = :null
end

anyone else having this issue? Was working fine before the upgrade. I am running 2.2.0

@waissbluth
Copy link

hi @tobiasgr, did you figure this out?

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

No branches or pull requests

2 participants