Skip to content

Conversation

gmcgibbon
Copy link
Member

@gmcgibbon gmcgibbon commented Apr 10, 2019

Fixes railtie code to automatically append ActiveResource::ActiveJobSerializer to custom serializers. Debugging this, it seems defined? app.config.active_job.custom_serializers returns nil, and doesn't actually add the serializer. Using try(:active_job) and then safe invocations seems like an acceptable alternative.

@gmcgibbon gmcgibbon force-pushed the fix_active_job_railtie branch from 66f1d01 to 51f20bc Compare April 10, 2019 20:46
@gmcgibbon gmcgibbon merged commit 847ec58 into rails:master Apr 10, 2019
@gmcgibbon gmcgibbon deleted the fix_active_job_railtie branch April 10, 2019 20:52
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.

2 participants