When Representer::Lightning is initialized with ActiveRecord Relation, then it queries DB directly and does not apply special type mappings done normally by ActiveRecord. More specifically, it does not map TINYINT(1) MySQL columns to true/false values, but returns 0 or 1 instead.
When Representer::Lightning is initialized with ActiveRecord Relation, then it queries DB directly and does not apply special type mappings done normally by ActiveRecord. More specifically, it does not map TINYINT(1) MySQL columns to true/false values, but returns 0 or 1 instead.