Use IN operator like arel for empty hash in where clause
Merge pull request #9232 from robertomiranda/where-with-empty-hash

Use IN operator like Arel for empty hash in where clause