plashchynski / crono

A time-based background job scheduler daemon (just like Cron) for Rails
https://github.com/plashchynski/crono
Apache License 2.0
687 stars 56 forks source link

Add Rails 7.2 support #127

Closed janko closed 3 months ago

janko commented 3 months ago

This avoids calling ActiveRecord::Base.clear_active_connections!, which has been removed in Rails 7.2. AFAICT this has always been a delegator to the connection handler, so this should be compatible with older Active Record versions as well.

I needed to update some gems to make things work, as well as add Propshaft after https://github.com/plashchynski/crono/pull/123, since specs wouldn't run without an asset pipeline.

Closes #126