Skip to content

Conversation

aukraine
Copy link

@aukraine aukraine commented Jul 8, 2024

Resolves #1414

Fix case when strip_whitespace doesn't work with group conditions

Before

> User.ransack({g: [name_cont: "  John  ", email_cont: "  John ", m: "or"]}).result
=> []

After

> User.ransack({g: [name_cont: "  John  ", email_cont: "  John ", m: "or"]}).result
=> [#<User id, ...>]

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.

strip_whitespace doesn't work with group conditions
1 participant