fractaledmind / acidic_job

Elegant, resilient, durable workflows for Rails apps
https://fractaledmind.github.io/acidic_job/
MIT License
492 stars 10 forks source link

Remove lambda from default value in migration #96

Closed ahacop closed 2 months ago

ahacop commented 2 months ago

This resolves an issue with the ActiveRecord SQLite adapter, which raises an error when the lambda contains values that don't respond to match?.

https://github.com/rails/rails/blob/e1d58cfd05ae1cc0bfc1006b7ce973a7730831df/activerecord/lib/active_record/connection_adapters/sqlite3/quoting.rb#L89

Fixes #95