rails/rails — pull request #8259 by senny (2012-11-18 13:32:17+00:00)
Title: make ActionMailer::QueuedMessage autoloadable

I'm implementing the Rails 4 Queue API for queue_classic. I use `constantize` on the job name to trigger the rails autoloading before I unmarshal the job object. AM adds the following job when sending an email asynchronously: `ActionMailer::QueuedMessage::DeliveryJob`

calling `constantize` on this class results in a `#`

I added the necessary `autoload` statement to `ActionMailer` to get it working.