rage-rb / rage

Fast web framework compatible with Rails.
MIT License
803 stars 12 forks source link

Disable `Fiber.defer` for ActiveRecord 7.1+ #80

Closed rsamoilov closed 6 months ago

rsamoilov commented 6 months ago

something has changed in AR 7.1, and releasing the connections on yield doesn't work reliably anymore. At the moment, I've got neither time nor motivation to look into what's happened there, and as much as I'm not happy about it, currently, the solution is to disable this behaviour for AR 7.1+.

ref: #66