mirror of
https://github.com/plashchynski/crono.git
synced 2026-01-13 22:03:27 +01:00
[PR #127] [MERGED] Add Rails 7.2 support #128
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plashchynski/crono/pull/127
Author: @janko
Created: 8/19/2024
Status: ✅ Merged
Merged: 8/19/2024
Merged by: @plashchynski
Base:
main← Head:rails-7.2📝 Commits (2)
9a8e804Add Propshaft for testsab4e1e8Callclear_active_connections!on the connection handler📊 Changes
3 files changed (+177 additions, -140 deletions)
View changed files
📝
Gemfile.lock(+175 -139)📝
crono.gemspec(+1 -0)📝
lib/crono/job.rb(+1 -1)📄 Description
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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.