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