Skip to content

0.2.0: Rails 6.1 fixes + improved constant autoloading

Compare
Choose a tag to compare
@smudge smudge released this 02 Sep 16:48
· 18 commits to main since this release
484d68a
  • Fixed the loading of Delayed::Job constant on newly-generated Rails 6.1 apps. (previously, the
    constant would not be available until ActiveRecord::Base was referenced for the first time)
  • The Delayed::Railtie is now a Delayed::Engine, allowing it to autoload constants via Rails'
    built-in autoloader. In a non-Rails context, require 'delayed' will eager-load its models.