We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have had to write something like this:
Arel.when(at[:foo].blank).then(at[:bar]).else(at[:foo"])
except that foo and bar are much trickier to write. This makes the construct harder to read than needed. I would prefer to write something like
foo
bar
at[:foo].coalesce_blank(at[:bar])
or maybe
at[:foo].presence.coalesce(at[:bar])
where presence maps blanks to null.
presence
Cheers!
The text was updated successfully, but these errors were encountered:
Finally addressed in PR#90
Sorry, something went wrong.
No branches or pull requests
I have had to write something like this:
except that
foo
andbar
are much trickier to write. This makes the construct harder to read than needed. I would prefer to write something likeor maybe
where
presence
maps blanks to null.Cheers!
The text was updated successfully, but these errors were encountered: