-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
Email job breaks dashboard #313
Comments
@sebastiandeutsch that's unexpected! I'll see if I can reproduce this error. This is the offending good_job/engine/app/views/good_job/dashboards/index.html.erb Lines 46 to 48 in e769a52
I did some light googling and I wonder if this maybe applies somewhere in your application? https://stackoverflow.com/a/20817541/241735 |
I'm unable to reproduce this error 😞 |
Closing this because of inactivity. Please comment if you are still seeing this. |
Encountering something similar when I visit my good_job index! |
This stackoverflow issue solved my problems! I had a model with |
oooooh! @adenta thanks for sharing that! I'll try to reproduce that case and see if I can fix it 🙌🏻 |
@adenta Does this describe what you discovered in your codebase?
|
yes. All I had to do was remove the ` include
Rails.application.routes.url_helpers` and everything was fixed
…On Wed, Jan 10, 2024 at 10:29 AM bensheldon ***@***.***> wrote:
@adenta <https://github.com/adenta> Does this describe what you
discovered in your codebase?
There was an include Rails.application.routes.url_helpers at the start of
a file for a [model] instead of being inside the class
—
Reply to this email directly, view it on GitHub
<#313 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACGUU5WAPJ4Y6CHTJOARQCDYN2XUVAVCNFSM5BBBSAJ2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYGUYDMOBSGI4Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi,
I have a simple email job and when perform it the dashboard will throw the following error while the job is queued (the job actual works):
arguments passed to url_for can't be handled. Please require routes or provide your own implementation
Showing /home/app/server/staging/shared/bundle/ruby/2.7.0/gems/good_job-1.11.3/engine/app/views/good_job/dashboards/index.html.erb where line #46 raised:
StackTrace:
any idea where that comes from?
The text was updated successfully, but these errors were encountered: