Skip to content

Conversation

@antoniojrossi
Copy link

Description

This PR updates our fork of order_query gem with upstream changes up until 0.5.4. This is done to make it work with Rails version 7.X used in Backend application.

if v.nil? && !column.nullable?
fail Errors::NonNullableColumnIsNullError,
"Column #{column.inspect} is NULL on record #{@record.inspect}. "\
"Column #{column.inspect} is NULL on record #{@record.send(inspect_method)}. "\
Copy link

@evgeniy-trebin evgeniy-trebin Nov 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calling a private method using send feels a bit fishy; perhaps it makes sense to make the method protected and use as usual?

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.