Fix not expanded problem when passing an Array object as argument to the where...
Fix not expanded problem when passing an Array object as argument to the where method using composed_of column. Fixes #31723 ``` david_balance = customers(:david).balance Customer.where(balance: [david_balance]).to_sql # Before: WHERE `customers`.`balance` = NULL # After : WHERE `customers`.`balance` = 50 ```
Showing
想要评论请 注册 或 登录