Dynamically referencing columns in Squeel

Posted . Visible to the public.

Use __send__:

where{__send__(dynamic_column_name) = '42'}
Tags
Posted by Rin to BitCrowd (2014-02-19 16:39)