Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5736

Wrap ActiveJob custom Serializers handling with on_load

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 9.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Ruby Drivers

      Directly referencing ActiveJob constant in a railtie would cause NameError on Rails apps that do not bundle AJ. It should be wrapped with on_load(:active_job) hook.

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: