Dynamically referencing columns in Squeel
Use
__send__
:
where{__send__(dynamic_column_name) = '42'}
github.com
Rin
About 10 years ago
This website uses short-lived cookies to improve usability.
Accept
or
learn more