Skip to content

Support kwargs in Arel.sql #8

@akefeli

Description

@akefeli

Hey,

We are trying to upgrade our rails project to 7.2 and noticed some errors during boot time.

.../safe_active_record/active_record_monkeypatch.rb:153:in sql': wrong number of arguments (given 2, expected 1) (ArgumentError)

Looks like AR is internally calling Arel.sql with retryable kwarg and the monkey patched version in this gem is not supporting them.

Would it be okay to just pass them through?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions