We don't need to perform type casting on the STI condition
We will always have the correct type for this query, so no casting is needed. We inform Arel that we already have the right type by wrapping it in an `Arel::Nodes::Quoted` (which we will no longer need to do in Rails 5.1)
Showing
想要评论请 注册 或 登录