Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove lambda from default value in migration #97

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ahacop
Copy link

@ahacop ahacop commented Sep 19, 2024

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

Sorry about the noise around the multiple PRs. I moved the change to a different branch on my fork and it permanently closed the other PR.

This resolves an issue with the ActiveRecord SQLite adapter, which
raises an error when the lambda contains values that don't respond to
`match?`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CreateAcidicJobRuns migration raises error when using SQLite
1 participant