Fixed AR::Relation#where edge case with Hash and other Relation
Example: Author.where(posts: { author_id: Author.where(country_id: 1) }).joins(:posts)
Showing
想要评论请 注册 或 登录
Example: Author.where(posts: { author_id: Author.where(country_id: 1) }).joins(:posts)